[PyQt] dip @IAutomated.items.getter traceback
Hans-Peter Jansen
hpj at urpla.net
Sun Oct 24 00:41:18 BST 2010
Hi Phil,
running dip-builder, choosing a new project, enter the values, and
hitting Create application script... results in:
DIP Builder(31299)/: Trying to open ksycoca from "/var/tmp/kdecache-hp/ksycoca4"
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/dip/shell/actions/shell_action.py", line 115, in _on_triggered
self.perform(self.shell.shell_manager.active_tool)
File "/usr/lib/python2.6/site-packages/dip/builder/create_application/create_application_action.py", line 52, in perform
if not template.populate(toolkit, self._title, parent):
File "/usr/lib/python2.6/site-packages/dip/builder/create_application/application_template.py", line 100, in populate
ui = self.wizard(self, toolkit, parent=parent, windowTitle=title)
File "/usr/lib/python2.6/site-packages/dip/ui/view_factory.py", line 95, in __call__
view = self.create_item(controller, toolkit, parent)
File "/usr/lib/python2.6/site-packages/dip/ui/wizard.py", line 48, in create_item
pages = self.create_view_items(controller, toolkit)
File "/usr/lib/python2.6/site-packages/dip/ui/view_factory.py", line 193, in create_view_items
model_type)
File "/usr/lib/python2.6/site-packages/dip/ui/wizard_page.py", line 44, in create_item
view_items = self.create_view_items(controller, toolkit)
File "/usr/lib/python2.6/site-packages/dip/ui/view_factory.py", line 193, in create_view_items
model_type)
File "/usr/lib/python2.6/site-packages/dip/ui/v_box.py", line 44, in create_item
view_items = self.create_view_items(controller, toolkit)
File "/usr/lib/python2.6/site-packages/dip/ui/view_factory.py", line 193, in create_view_items
model_type)
File "/usr/lib/python2.6/site-packages/dip/ui/h_box.py", line 46, in create_item
view = toolkit.horizontal_view(self, view_items)
File "/usr/lib/python2.6/site-packages/dip/ui/toolkits/qt/qt_toolkit.py", line 180, in horizontal_view
from .qhboxlayout_view import QHBoxLayoutView
File "/usr/lib/python2.6/site-packages/dip/ui/toolkits/qt/qhboxlayout_view.py", line 48, in <module>
class QHBoxLayoutViewIAutomatedAdapter(BaseAutomatedViewAdapter):
File "/usr/lib/python2.6/site-packages/dip/ui/toolkits/qt/qhboxlayout_view.py", line 51, in QHBoxLayoutViewIAutomatedAdapter
@IAutomated.items.getter
AttributeError: type object 'IAutomated' has no attribute 'items'
A similar traceback happens when running the line_count.py example.
python: 2.6
sip: 4.11.2
qt4: 4.6.3
pyqt4: 4.8
dip-py2-gpl-0.3-snapshot-dc1c5e94a3f3
Pete
More information about the PyQt
mailing list