Package: python2.3-qt3
Version: 3.14.1-1
Severity: important
In the latest release of PyQt, it appears that the types allowed by
the QSizePolicy constructor have changed in an incompatible way. They
now must be enumerated values, such as QSizePolicy.MinimumExpanding,
rather than the corresponding integer values (e.g. 3).
Unfortunately, forms generated by previous versions of pyuic use the
integer values, so this upgrade breaks most programs that have forms
generated that way.
A typical error message looks like:
Traceback (most recent call last):
File "/usr/bin/kodos", line 1255, in ?
main()
File "/usr/bin/kodos", line 1246, in main
kodos = Kodos(filename, debug)
File "/usr/bin/kodos", line 96, in __init__
KodosBA.__init__(self)
File "/usr/share/kodos/modules/kodosBA.py", line 850, in __init__
self.groupBox1.setSizePolicy(QSizePolicy(7,7,0,0,self.groupBox1.sizePolicy().hasHeightForWidth()))
TypeError: argument 1 of QSizePolicy() has an invalid type
I first noticed this problem with memaid-pyqt (Bug#302882).
I've also verified that it affects qtorrent, kodos, and imgseek.
>From brief testing, eric and luma do not appear to be affected. A
brief test of hplip was inconclusive: I couldn't get the GUI to come
up, but there may have been other causes, including the fact that I
don't have an appropriate device.
The problem can be fixed by regenerating the .py files from the forms
from the .ui files, but this may not happen as part of the regular
build process.
-- Stephen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]