[Pythonmac-SIG] python help() problems

Christopher Barker Chris.Barker at noaa.gov
Sat Dec 20 01:33:14 CET 2008


George Wright wrote:
> "/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages/wxaddons/__init__.py", 
> line 29, in <module>
>     config = wx.Config("wxaddons")
>   File 
> "//usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_misc.py", 
> line 3298, in __init__
>     _misc_.Config_swiginit(self,_misc_.new_Config(*args, **kwargs))
> wx._core.PyNoAppError: The wx.App object must be created first!

This is a bug I just happened to discover in a recent wxPython -- you 
should be able to import wx.addons without initializing an App first. I 
just sent a note to the wxPythons list, but have not yet gotten a reply.

For now, you have to go back top an older version of wxPython -- I"m not 
aure how to get help() not to choke -- it really should have the imports 
wrapped in a try block.

> I also have an error on python2.4 help()

no idea here.

-CHB

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list