[MacPorts] #27801: timedrive @0.3.1 fails to start giving "AttributeError: 'module' object has no attribute 'StackedWidget'"
MacPorts
noreply at macports.org
Mon Dec 27 17:26:32 PST 2010
#27801: timedrive @0.3.1 fails to start giving "AttributeError: 'module' object has
no attribute 'StackedWidget'"
----------------------------------------------------+-----------------------
Reporter: andreas.wilm@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: timedrive AttributeError StackedWidget | Port: timedrive
----------------------------------------------------+-----------------------
Hi all,
now that timedrive uses python-2.7 (see
https://trac.macports.org/ticket/27645) I get the following error on
startup:
{{{
$ time-drive-2.7
Traceback (most recent call last):
File "/opt/local/bin/time-drive-2.7", line 29, in <module>
main()
File "/opt/local/bin/time-drive-2.7", line 24, in main
window = MainWindow()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/timedrive/app.py", line 35, in __init__
gui_utils.loadUi(self, "uiMainWindow.ui")
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/timedrive/utils/gui_utils.py", line 43, in loadUi
uic.loadUi(utils.find_file(uiFile), self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/__init__.py", line 185, in loadUi
return DynamicUILoader().loadUi(uifile, baseinstance)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/Loader/loader.py", line 35, in loadUi
return self.parse(filename, basedir)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 839, in parse
actor(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 686, in createUserInterface
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 406, in createLayout
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 443, in handleItem
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 406, in createLayout
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 443, in handleItem
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 406, in createLayout
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 443, in handleItem
self.traverseWidgetTree(elem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 664, in traverseWidgetTree
handler(self, child)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/PyQt4/uic/uiparser.py", line 161, in createWidget
QtGui.QScrollArea, QtGui.StackedWidget,
AttributeError: 'module' object has no attribute 'StackedWidget'
}}}
Might be a PytQt bug instead.
I have py27-pyqt4 @4.8.2 installed
Andreas
--
Ticket URL: <https://trac.macports.org/ticket/27801>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list