On Sunday 24 January 2010 07:29:45 am John wrote:
> If I comment out the new code I get pass the problem of the import but then
> I get.
>
> Traceback (most recent call last):
> File "esStudent.py", line 4237, in <module>
> app.start()
> File "/home/johnf/dabo/dabo/dApp.py", line 379, in start
> self.setup()
> File "/home/johnf/dabo/dabo/dApp.py", line 333, in setup
> self.uiApp = dabo.ui.getUiApp(self, self.UIAppClass, callback=None,
> forceNew=True)
> AttributeError: 'module' object has no attribute 'getUiApp'
>
> openSUSE 11.0, Python 2.5.x, wxPython 2.8.10.1, latest SVN of Dabo.
The above issue is coming from Ed's changes. There is no "dabo.ui.getUiApp"
there is "dabo.ui.uiwx.getUiApp". Also all my normal calls to "dabo.ui.X"
are not working. i.e. "dabo.ui.dSizer('v') no longer works and produces a
traceback
Traceback (most recent call last):
File "escourse.py", line 708, in <module>
app.start()
File "/home/johnf/dabo/dabo/dApp.py", line 379, in start
self.setup()
File "/home/johnf/dabo/dabo/dApp.py", line 334, in setup
self.initUIApp()
File "/home/johnf/dabo/dabo/dApp.py", line 371, in initUIApp
self.uiApp.setup()
File "/home/johnf/dabo/dabo/ui/uiwx/uiApp.py", line 411, in setup
frm = self.dApp.MainForm = mfc()
File "/home/johnf/dabo/dabo/ui/uiwx/dForm.py", line 933, in __init__
BaseForm.__init__(self, preClass, parent, properties, attProperties,
*args, **kwargs)
File "/home/johnf/dabo/dabo/ui/uiwx/dForm.py", line 44, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties, attProperties,
*args, **kwargs)
File "/home/johnf/dabo/dabo/ui/uiwx/dFormMixin.py", line 89, in __init__
attProperties, *args, **kwargs)
File "/home/johnf/dabo/dabo/ui/uiwx/dPemMixin.py", line 186, in __init__
self._afterInit()
File "/home/johnf/dabo/dabo/ui/uiwx/dForm.py", line 65, in _afterInit
self.Sizer = dabo.ui.dSizer("vertical")
TypeError: 'module' object is not callable
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]