Menu

#200 global name 'wx' is not defined

open
nobody
None
5
2004-07-05
2004-07-05
No

windows XP pro
python 2.3
wxpython2.5
wxwindows2.5.1
boa0.2.3

C:\Python23>python
Lib\site-packages\wxPython\tools\boa\Boa.py
Starting Boa Constructor v0.2.3
importing wxPython
reading user preferences
running main...
Traceback (most recent call last):
File "Lib\site-packages\wxPython\tools\boa\Boa.py",
line 603, in ?
main()
File "Lib\site-packages\wxPython\tools\boa\Boa.py",
line 585, in main
app = BoaApp()
File "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 "Lib\site-packages\wxPython\tools\boa\Boa.py",
line 417, in OnInit
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

Discussion

  • Simon Dahlbacka

    Simon Dahlbacka - 2004-08-24

    Logged In: YES
    user_id=750513

    wxwidgets 2.5 is currently not supported, you will have to
    downgrade to a 2.4 release

     
  • Nobody/Anonymous

    Logged In: NO

    If I read correctly Boa only works with wxPython 2.4.x so
    far. With the 2.5.x release I had the same problem as you.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.