Tried to run dShell.py and got this
m...@linux:/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx$
 python dShell.py
ui.loadUI failed: No module named aui
I know this one on my system - in the system path wxpython2.6 comes
before 2.8 so I have to modify dabo/__init__.py 

Fix at line: 194

import dabo.db 

import dabo.biz 

# Mikes mod to remove path of Python 2.6 from search path and hence fix
wx.aui problem 

sys.path.remove('/usr/lib/python2.6/dist-packages/wx-2.6-gtk2-unicode')

# End of Mikes mod 

import dabo.ui 


So to run dShell.py
from python shell
>>> import dabo
>>> execfile('dShell.py')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "dShell.py", line 650, in <module>
    main()
  File "dShell.py", line 646, in main
    app.setup()
  File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/dApp.py", 
line 302, in setup
    if self.HomeDirectory not in sys.path:
  File
"/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/dApp.py", 
line 1412, in _getHomeDirectory
    if os.path.split(hd)[1][-4:].lower() in (".zip", ".exe"):
UnboundLocalError: local variable 'hd' referenced before assignment


So I opened a form and then the command window from the form and ran

self.Application._frameworkPrefs.update_interval = 0

This then allowed the preferences form to open 
Then I select webupdate and check now and got the response
No update available now - which I don't believe 
dabo.version returns

{'file_revision': '5580', 'version': '0.9.2', 'revision': '~5580'}

Grid scroll bar problem still exists at this rev

What next?

Mike Ayers 


> 
>       Thanks; that confirmed the problem. Here's a way to fix it until I can 
> push the next Web Update: go to the 'dabo/ui/uiwx' directory, and run:
> 
> python dShell.py
> 
>       You should get the Dabo interactive shell; in there, run the command:
> 
> self.Application._frameworkPrefs.update_interval = 0
> 
>       Once you do that, you should be able to open up the preferences form 
> without the error you have been getting. 
> 
>       I've made a fix to the preference dialog code to handle this, but won't 
> be able to push it to Web Update for a while.
> 
> 
> -- 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/1266358705.3281.12.ca...@linux

Reply via email to