On 1/8/13 11:52 AM, John Fabiani wrote:
> After moving to git I get the following error. Not sure why it can't find
> 'wx'
>
> C:\pespy>python esfastentry.py
> Traceback (most recent call last):
> File "esfastentry.py", line 23, in <module>
> dabo.ui.loadUI('wx')
> AttributeError: 'module' object has no attribute 'ui'
Pull from the master branch or tag v.0.9.5 to make it go away. I committed to
the
working branch yesterday some things that aren't intended to go into master
until
1.0, including changing dabo.implicitImports to False.
Choices for you going forward are:
1) Put a settings_override.py in the dabo module directory with:
implicitImports = True
2) Change your code to explicitly import dabo.ui prior to your dabo.ui.loadUI()
call.
You'll also need to change calls like:
app = dabo.dApp(...)
to:
from dabo.dApp import dApp
app = dApp(...)
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]