|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error starting Boa
Hello,
I wanted to try Boa, so I installed it and got this error right on start. Can someone tell me how to fix it? Windows Python-2.3.4c1 wxPythonWIN32-2.5.1.5-Py23 boa-constructor-0.2.3.win32 The error message is Starting Boa Constructor v0.2.3 importing wxPython reading user preferences running main... Traceback (most recent call last): File "C:\Python23\Lib\site-packages\wxPython\tools\boa\Boa.py", line 603, in ? main() File "C:\Python23\Lib\site-packages\wxPython\tools\boa\Boa.py", line 585, in m ain app = BoaApp() File "C:\Python23\Lib\site-packages\wxPython\tools\boa\Boa.py", line 408, in _ _init__ wxApp.__init__(self, false) File "C:\Python23\Lib\site-packages\wx\core.py", line 5042, in __init__ self._BootstrapApp() File "C:\Python23\Lib\site-packages\wx\core.py", line 4791, in _BootstrapApp return _core.PyApp__BootstrapApp(*args, **kwargs) File "C:\Python23\Lib\site-packages\wxPython\tools\boa\Boa.py", line 417, in O nInit conf = Utils.createAndReadConfig('Explorer') File "C:\Python23\Lib\site-packages\wxPython\tools\boa\Utils.py", line 295, in createAndReadConfig confFile = os.path.join(Preferences.rcPath, '%s%s.cfg' % (name, NameError: global name 'wx' is not defined Thank you Random |
|
#2
|
|||
|
|||
|
The official packaged releases for Boa on sourceforge are woefully out of date. To get a working version you need to download the latest version from CVS, or the snapshot of 0.2.8 from http://boa-constructor.sourceforge.....8-snapshot.tgz
I am using Boa 0.2.8, wxPython 2.4.2.4 and Python 2.3.3 with no problems. However I know that wxPython 2.5+ introduced a number of incompatibilities that require changes to client code. As far as I know Boa has not yet been changed to match, which is why I have held off upgrading. Dave - The Developers' Coach |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Error starting Boa |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|