[PyQt] Issue with pyuic of latest snapshot
Detlev Offenbach
detlev at die-offenbachs.de
Wed Oct 13 20:40:30 BST 2010
Hi,
compiling the eric5 UI files raised the following issue.
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/__init__.py", line 98, in
compileUiDir
compile_ui(root, ui)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/__init__.py", line 90, in
compile_ui
compileUi(ui_file, py_file, **compileUi_args)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/__init__.py", line 134,
in compileUi
winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/Compiler/compiler.py",
line 83, in compileUi
w = self.parse(input_stream)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 830,
in parse
actor(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 677,
in createUserInterface
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 397,
in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 434,
in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 173,
in createWidget
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 397,
in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 434,
in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 397,
in createLayout
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 434,
in handleItem
self.traverseWidgetTree(elem)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 655,
in traverseWidgetTree
handler(self, child)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 167,
in createWidget
self.stack.push(self.setupObject(widgetClass(elem), parent, elem))
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/uiparser.py", line 140,
in setupObject
self.wprops.setProperties(obj, branch)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/properties.py", line 363,
in setProperties
prop_value = self.convert(prop, widget)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/properties.py", line 328,
in convert
return func(prop[0], **args)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/properties.py", line 82,
in _enum
return self._pyEnumMember(prop.text)
File "/usr/lib64/python3.1/site-packages/PyQt4/uic/properties.py", line 68,
in _pyEnumMember
raise AttributeError("unknown enum %s" % cpp_name)
AttributeError: unknown enum QAbstractSpinBox::PlusMinus
Regards,
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list