[Bug 611677] Re: system-config-printer-kde crashes with AttributeError: 'QString' object has no attribute 'rfind'

PhobosK 611677 at bugs.launchpad.net
Mon Aug 23 00:30:55 UTC 2010


This is a problem in PyQt4. loadUi expects as first argument a Python string , but it has been given a QString (APPDIR).
So finding all the loadUi statements in "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py" (they are 3 i think) and converting the first argument to a Python string (using str()) fixes the problem.

-- 
system-config-printer-kde crashes with AttributeError: 'QString' object has no attribute 'rfind'
https://bugs.launchpad.net/bugs/611677
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeadmin in ubuntu.




More information about the kubuntu-bugs mailing list