Description of problem: PyQt4-4.6.2-1 causes a regression. Code which worked fine with PyQt4-4.6.1-2 is not broken. This affects jabbim (an XMPP client). Here is a minimal testcase: #!/usr/bin/python from PyQt4 import QtCore qslv = QtCore.QVariant(QtCore.QStringList(["foo","bar"])) qsl = qslv.toList() print type(qsl) print qsl one, two = [unicode(val.toString()) for val in qsl] print one, two Version-Release number of selected component (if applicable): PyQt4-4.6.2-1.fc12.x86_64 How reproducible: always Steps to Reproduce: Run the testcase above. Actual results: <type 'list'> [] Traceback (most recent call last): File "qstringlist.py", line 9, in <module> one, two = [unicode(val.toString()) for val in qsl] ValueError: need more than 0 values to unpack Expected results: <type 'list'> [<PyQt4.QtCore.QVariant object at 0x7f6fa98429a8>, <PyQt4.QtCore.QVariant object at 0x7f6fa9842a78>] foo bar
(In reply to comment #0) > Code which worked fine with PyQt4-4.6.1-2 is not broken. Really stupid typo :-) "... is now broken."
It depends on which sip version it is built with: PyQt4-4.6.2-1.fc12 built against sip-4.9.2-1.fc12 is broken. PyQt4-4.6.2-1.fc12 built against sip-4.9.3-1.fc12 works. Please rebuild PyQt4 against sip-4.9.3.
it's already fixed in F12-update-testing.the new packages are moving in F-12-update
than, are you referring to https://admin.fedoraproject.org/updates/F12/FEDORA-2009-11503 ? That's exactly the *broken* version which will cause the regression if it hits stable.
To be more exact: the sip build in the update is the fixed version, but the PyQt4 build which is part of the update was built against the broken sip and that's what causes the breakage.
i'm rebuilding PyQt4 against new sip-4.9.3 and let Rex update the package list. thanks
PyQt4-4.6.2-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/PyQt4-4.6.2-3.fc12
PyQt4-4.6.2-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/PyQt4-4.6.2-3.fc11
PyQt4-4.6.2-3.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/PyQt4-4.6.2-3.fc10
PyQt4-4.6.2-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
PyQt4-4.6.2-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
PyQt4-4.6.2-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.