FS#20180 - [kdeadmin-system-config-printer-kde] broke with pyqt 4.7.4

Attached to Project: Arch Linux
Opened by Antonio Rojas (arojas) - Wednesday, 14 July 2010, 18:53 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 29 July 2010, 11:12 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

> printer-applet
Traceback (most recent call last):
File "/usr/bin/printer-applet", line 1153, in <module>
applet = JobManager()
File "/usr/bin/printer-applet", line 240, in __init__
uic.loadUi(APPDIR + '/' + "printer-applet.ui", self.mainWindow)
File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 177, in loadUi
return DynamicUILoader().loadUi(uifile, baseinstance)
File "/usr/lib/python2.6/site-packages/PyQt4/uic/Loader/loader.py", line 24, in loadUi
return self.parse(filename, os.path.dirname(filename))
File "/usr/lib/python2.6/posixpath.py", line 119, in dirname
i = p.rfind('/') + 1
AttributeError: 'QString' object has no attribute 'rfind'


Works fine if I downgrade to pyqt 4.7.3. Tested with 4.4.5 and 4.5 RC2.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 29 July 2010, 11:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  kdeadmin-system-config-printer 4.4.5-2
kdeadmin-system-config-printer 4.5.0-1
kdeutils-printer-applet 4.4.5-2
kdeutils-printer-applet 4.5.0-1
Comment by Andrea Scarpino (BaSh) - Wednesday, 14 July 2010, 21:47 GMT
unfortunately kdebindings (both 4.4.5 and 4.4.92) do not build with the last sip and pyqt.
I reported this upstream: https://bugs.kde.org/show_bug.cgi?id=244646
Comment by Antonio Rojas (arojas) - Thursday, 15 July 2010, 06:55 GMT
There is a patch available at https://bugs.kde.org/show_bug.cgi?id=244697
Comment by Antonio Rojas (arojas) - Friday, 16 July 2010, 15:42 GMT
Still broken with -2
Comment by Andrea Scarpino (BaSh) - Friday, 16 July 2010, 17:50 GMT
I can confirm that is still broke on RC2; Maybe because I updated sip again. Did you test 4.4.5 too?
Comment by Andrea Scarpino (BaSh) - Saturday, 17 July 2010, 00:40 GMT
I rebuilt pyqt and kdebindings and still does not work on RC2...
Comment by Antonio Rojas (arojas) - Saturday, 17 July 2010, 09:25 GMT
No idea if this is the right thing to do, but this patch for pyqt fixed the printer-applet issue (I haven't found an upstream bug tracker to report it)
Comment by Andrea Scarpino (BaSh) - Saturday, 17 July 2010, 09:36 GMT
that patch fixes the module in systemsettings too, but I'd like to wait for a KDE patch

reported upstream: https://bugs.kde.org/show_bug.cgi?id=244942 (KCM module)
Comment by Antonio Rojas (arojas) - Thursday, 29 July 2010, 09:52 GMT
s-c-p-k fixed upstream (rev.1156141), but no news about printer applet yet (seems to be quite unmaintained upstream)
Comment by Andrea Scarpino (BaSh) - Thursday, 29 July 2010, 10:06 GMT Comment by Andrea Scarpino (BaSh) - Thursday, 29 July 2010, 10:56 GMT
this patch should fix printer-applet. can you confirm?
Comment by Antonio Rojas (arojas) - Thursday, 29 July 2010, 11:02 GMT
Confirmed (in 4.5), thanks.

Loading...