On Feb 1, 2012, at 3:55 AM, Asaf Greenberg wrote:
> attached - the script.
Because of the possibility of viruses and other things being passed via
attachments, the list software strips all attachments. If you want to post
code, post it at http://dabo.codepad.org/, and then in your email to the list
include the URL of that pasted code.
> "c:\programs\python27\lib\site-packages\dabo-0.9.4-py2.7.egg\dabo\dApp.py",
> line 346, in setup
> self.uiApp = dabo.ui.getUiApp(self, self.UIAppClass, callback=None,
> forceNew=True)
> AttributeError: 'module' object has no attribute 'getUiApp'
Not having seen the script, this looks like you never loaded the uiwx
module. Since Dabo was designed to be UI-agnostic, it can potentially support
many UI toolkits, although in practice only wxPython has been implemented. You
need to have these lines at the beginning of your main script so that the uiwx
module is brought into the 'ui' namespace:
import dabo
dabo.ui.loadUI("wx")
-- Ed Leafe
_______________________________________________
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]