Menu

#220 NameError wx on line 628 in boa.py

closed-fixed
5
2005-01-11
2005-01-09
No

Traceback (most recent call last):
File
"C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
line 310, in RunScript
exec codeObject in __main__.__dict__
File
"C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\tools\boa\Boa.py",
line 668, in ?
main()
File
"C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\tools\boa\Boa.py",
line 628, in main
if Preferences.installBCRTL and hasattr(wx,
'__file__'):
NameError: global name 'wx' is not defined

"Fixed it" by doing an "import wx" just before that line.

Discussion

  • Riaan Booysen

    Riaan Booysen - 2005-01-11
    • labels: --> wxPython 2.5 update
    • status: open --> closed-fixed
     
  • Riaan Booysen

    Riaan Booysen - 2005-01-11
    • assigned_to: nobody --> riaan
     
  • Riaan Booysen

    Riaan Booysen - 2005-01-11

    Logged In: YES
    user_id=438

    Thanks, fixed in cvs.

     

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.