Hi everyone,
I played around with Dabo a while ago and (almost) everything worked fine. Now,
I would like to work with it again but I can not make it run:
I just installed dabo via svn using the description in the wiki. If I try to
run DaboDemo.py, I get the following output:
[pe...@dw3 demo]$ python DaboDemo.py
Traceback (most recent call last):
File "DaboDemo.py", line 25, in <module>
main()
File "DaboDemo.py", line 21, in main
app.start()
File "/home/peter/dabo/dabo/dApp.py", line 347, in start
self.setup()
File "/home/peter/dabo/dabo/dApp.py", line 303, in setup
self.initUIApp()
File "/home/peter/dabo/dabo/dApp.py", line 339, in initUIApp
self.uiApp.setup()
File "/home/peter/dabo/dabo/ui/uiwx/uiApp.py", line 303, in setup
frm = self.dApp.MainForm = dabo.ui.createForm(mfc)
File "/home/peter/dabo/dabo/ui/uiwx/__init__.py", line 1141, in createForm
frm = cls(*args, **kwargs)
File "/tmp/tmpR2nVHy.py", line 17, in __init__
super(dForm_1726017638, self).__init__(parent=parent,
attProperties=attProperties, *args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 873, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties, *args,
**kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties, attProperties,
*args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dFormMixin.py", line 77, in __init__
attProperties, *args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dPemMixin.py", line 184, in __init__
self._afterInit()
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 70, in _afterInit
super(BaseForm, self)._afterInit()
File "/home/peter/dabo/dabo/ui/uiwx/dFormMixin.py", line 137, in _afterInit
super(dFormMixin, self)._afterInit()
File "/home/peter/dabo/dabo/ui/uiwx/dPemMixin.py", line 318, in _afterInit
self.afterInit()
File "/tmp/tmpR2nVHy.py", line 589, in afterInit
self.setupMenu()
File "/tmp/tmpR2nVHy.py", line 669, in setupMenu
vm.remove("Show/Hide Sizer Lines")
AttributeError: 'NoneType' object has no attribute 'remove'
If I try to run the ClassDesigner, a dialog ("New Class") opens up where I have
to select the class to create and if Sizers should be used and a base panel
should be added. If I push "OK" I get the following output:
[pe...@dw3 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 "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 873, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties, *args,
**kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties, attProperties,
*args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dFormMixin.py", line 77, in __init__
attProperties, *args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dPemMixin.py", line 184, in __init__
self._afterInit()
File "ClassDesigner.py", line 305, in _afterInit
super(DesForm, self)._afterInit()
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 70, in _afterInit
super(BaseForm, self)._afterInit()
File "/home/peter/dabo/dabo/ui/uiwx/dFormMixin.py", line 95, in _afterInit
self.afterSetMenuBar()
File "/home/peter/dabo/ide/ClassDesignerFormMixin.py", line 273, in
afterSetMenuBar
ClassDesignerMenu.mkDesignerMenu(self)
File "/home/peter/dabo/ide/ClassDesignerMenu.py", line 26, in mkDesignerMenu
app.barShowPropSheet = vm.append(_("Hide Object Info Form"),
AttributeError: 'NoneType' object has no attribute 'append'
Trying to run the Connection Editor:
[pe...@dw3 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 "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 873, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties, *args,
**kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties, attProperties,
*args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dFormMixin.py", line 77, in __init__
attProperties, *args, **kwargs)
File "/home/peter/dabo/dabo/ui/uiwx/dPemMixin.py", line 184, in __init__
self._afterInit()
File "/home/peter/dabo/dabo/ui/uiwx/dForm.py", line 70, in _afterInit
super(BaseForm, self)._afterInit()
File "/home/peter/dabo/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'
The tests in dabo/dabo/ui/uiwx/test all pass except the following:
[pe...@dw3 test]$ pwd
/home/peter/dabo/dabo/ui/uiwx/test
[pe...@dw3 test]$ python test_dTextBox.py
testDateTimeValue (__main__.Test_dTextBox) ... FAIL
testDateValue (__main__.Test_dTextBox) ... ok
testDecimalValue (__main__.Test_dTextBox) ... ok
testFloatValue (__main__.Test_dTextBox) ... ok
testFlushValue (__main__.Test_dTextBox) ... ok
testIntValue (__main__.Test_dTextBox) ... ok
testStringValue (__main__.Test_dTextBox) ... ok
======================================================================
FAIL: testDateTimeValue (__main__.Test_dTextBox)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_dTextBox.py", line 92, in testDateTimeValue
self.assertEqual(txt.Value, val)
AssertionError: datetime.datetime(2009, 1, 4, 14, 48, 41, 6) !=
datetime.datetime(2009, 1, 4, 14, 48, 41, 30246)
----------------------------------------------------------------------
Ran 7 tests in 0.753s
FAILED (failures=1)
I really don't know what to make out of this. I am running Arch Linux with the
following specs:
Output of uname -a:
Linux dw3 2.6.27-ARCH #1 SMP PREEMPT Sun Dec 21 09:31:10 UTC 2008 i686 Intel(R)
Core(TM)2 Duo CPU E6750 @ 2.66GHz GenuineIntel GNU/Linux
Python: 2.6.1
GCC: 4.3.2
wxgtk: 2.8.9-1
wxpython: 2.8.9.1-1
python-psycopg2 2.0.8-1
recent Dabo (revision 4904)
Any ideas how to get this going? Any help is appreciated.
Best Regards
Peter
--
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
_______________________________________________
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]