Hello,
I can't use the ide scripts any more:
Platform: GTK
Python Version: 2.6 on linux2
Dabo Version: Version 0.9.0; Revision 4942M
UI Version: 2.8.8.1 on wxGTK (gtk2)
I had the same problem with revision 4940 (updating was an attempt to
solve it), and I get the same messages using Windows XP and a slightly
more recent wxPython. This is new, I think after updating to 4940. I
have definitely used ClassDesigner and CxnEditor with Python 2.6 and
both worked as expected; but after this last update I only ran my own
application (which still works as before).
ClassDesigner: the dialog for choosing a Dabo class appears normally, I
keep all the defaults and click 'Ok'. Then this:
s...@elend:~/svn_src/dabo_trunk/ide> python ClassDesigner.py
Traceback (most recent call last):
File "ClassDesigner.py", line 4165, in <module>
clsDes = ClassDesigner(f)
File "ClassDesigner.py", line 184, in __init__
frm = self.onNewDesign(None)
File "ClassDesigner.py", line 1770, in onNewDesign
frm = frmClass(SaveRestorePosition=False, UseSizers=useSizers)
File "ClassDesigner.py", line 296, in __init__
base.__init__(self, parent=parent, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
873, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties,
*args,**kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dFormMixin.py",
line 77, in __init__
attProperties, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dPemMixin.py",
line 184, in __init__
self._afterInit()
File "ClassDesigner.py", line 305, in _afterInit
super(DesForm, self)._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
70, in _afterInit
super(BaseForm, self)._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dFormMixin.py",
line 95, in _afterInit
self.afterSetMenuBar()
File "/home/sib/svn_src/dabo_trunk/ide/ClassDesignerFormMixin.py",
line 274, in afterSetMenuBar
ClassDesignerMenu.mkDesignerMenu(self)
File "/home/sib/svn_src/dabo_trunk/ide/ClassDesignerMenu.py", line 26,
in mkDesignerMenu
app.barShowPropSheet = vm.append(_("Hide Object Info Form"),
AttributeError: 'NoneType' object has no attribute 'append'
CxnEditor and Editor: no form appears, I only get the error messages.
s...@elend:~/svn_src/dabo_trunk/ide> python CxnEditor.py
Traceback (most recent call last):
File "CxnEditor.py", line 518, in <module>
main()
File "CxnEditor.py", line 502, in main
o = EditorForm()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
873, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties,
*args,**kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dFormMixin.py",
line 77, in __init__
attProperties, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dPemMixin.py",
line 184, in __init__
self._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
70, in _afterInit
super(BaseForm, self)._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dFormMixin.py",
line 95, in _afterInit
self.afterSetMenuBar()
File "CxnEditor.py", line 20, in afterSetMenuBar
self.createMenu()
File "CxnEditor.py", line 45, in createMenu
fm.prepend(_("Open Connection File..."), HotKey="Ctrl+O",
OnHit=self.onOpenFile)
AttributeError: 'NoneType' object has no attribute 'prepend'
s...@elend:~/svn_src/dabo_trunk/ide> python Editor.py
Traceback (most recent call last):
File "Editor.py", line 1084, in <module>
main()
File "Editor.py", line 1075, in main
frm = app.MainForm = EditorForm()
File "Editor.py", line 299, in __init__
super(EditorForm, self).__init__(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
873, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties,
*args,**kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dFormMixin.py",
line 77, in __init__
attProperties, *args, **kwargs)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dPemMixin.py",
line 184, in __init__
self._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dForm.py", line
70, in _afterInit
super(BaseForm, self)._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dFormMixin.py",
line 137,in _afterInit
super(dFormMixin, self)._afterInit()
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/dPemMixin.py",
line 318, in _afterInit
self.afterInit()
File "Editor.py", line 346, in afterInit
self.fillMenu()
File "Editor.py", line 564, in fillMenu
app.onMenuOpenMRU(fileMenu)
File "/usr/lib/python2.6/site-packages/dabo/dApp.py", line 1194, in
onMenuOpenMRU
self.uiApp.onMenuOpenMRU(menu)
File "/usr/lib/python2.6/site-packages/dabo/ui/uiwx/uiApp.py", line
947, in onMenuOpenMRU
cap = menu.Caption
AttributeError: 'NoneType' object has no attribute 'Caption'
What has happened here?
Thank you,
Sibylle
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]