[PyQt] TypeError in pyuic in PyQt5
Dmitry Shachnev
mitya57 at ubuntu.com
Wed Mar 11 17:02:21 GMT 2015
Hi,
When trying to build the latest calibre against Qt/PyQt 5.4.1 in Ubuntu,
we get this error (was building fine against 5.4.0):
Compiling form /build/buildd/calibre-2.19.0+dfsg/src/calibre/gui2/convert/metadata.ui
...
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 256, in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 789, in traverseWidgetTree
handler(self, child)
File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 757, in setZOrder
getattr(self.toplevelWidget, elem.text).raise_()
TypeError: getattr(): attribute name must be string
Full log is available here:
https://launchpadlibrarian.net/199907621/buildlog_ubuntu-vivid-amd64.calibre_2.19.0%2Bdfsg-1ubuntu1~vivid1~test1_BUILDING.txt.gz
The current snapshot does not fix this (it only adds a handler for
AttributeErrors, but not for TypeErrors).
--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150311/af0f7e54/attachment.sig>
More information about the PyQt
mailing list