[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#591422: [plasma-scriptengine-python] Failed on 64 systems with: AttributeError: 'module' object has no attribute 'relpath'



(I'm not maintainer of this package.)

* Sandro Knauß <bugs@sandroknauss.de>, 2010-08-03, 01:11:
Only on 64bit systems all plasma python widgets failed to start with the same
error. For ex.:

$ plasmoidviewer veromix-plasmoid
plasmoidviewer(18085)/kdecore (services)
KServiceFactory::findServiceByDesktopPath: "" not found
Traceback (most recent call last):
 File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py",
line 53, in init
   relpath =
os.path.relpath(str(self.mainScript()),str(self.applet().package().path()))
AttributeError: 'module' object has no attribute 'relpath'

That doesn't look like it has anything to do with 64-bitness. os.path.relpath() is a new thing in Python >= 2.6, so the package should depend on "python (>= 2.6)" - I'm not sure if that sufficient, though.

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


Reply to: