timedrive 0.3.1 AttributeError: 'module' object has no attribute 'StackedWidget'
Andreas Wilm
andreas.wilm at gmail.com
Mon Dec 27 01:18:30 PST 2010
Hi all,
now that timedrive uses python-2.7 (see
https://trac.macports.org/ticket/27645) I get the following error when
starting it:
{{{
$ 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()
...
AttributeError: 'module' object has no attribute 'StackedWidget'
}}}
See below for a full log.
Simply searching for the error message returns a single link to a now
deleted post on Yahoo answers.
Can anyone reproduce this? Should I create a ticket?
Thanks,
Andreas
timedrive @0.3.1 sysutils/timedrive
py27-pyqt4 @4.8.2 python/py27-pyqt4
{{{
$ 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'
}}}
--
Andreas Wilm
andreas.wilm at gmail.com | mail at andreas-wilm.com | 0x7C68FBCC
More information about the macports-users
mailing list