I got an error on MacOS Lion:

ide2py $ python main.py 
2011-08-11 15:46:30.647 Python[1091:1107] CFURLCreateWithString was passed 
this invalid URL string: 
'/System/Library/CoreServices/CommonCocoaPanels.bundle' (a file system path 
instead of an URL string). The URL created will not work with most file URL 
functions. CFURLCreateWithFileSystemPath or 
CFURLCreateWithFileSystemPathRelativeToBase should be used instead.
Traceback (most recent call last):
  File "main.py", line 777, in <module>
    app = MainApp(redirect=False)
  File 
"/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py",
 
line 7981, in __init__
    self._BootstrapApp()
  File 
"/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py",
 
line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "main.py", line 761, in OnInit
    self.aui_frame = PyAUIFrame(None)
  File "main.py", line 273, in __init__
    self.browser = self.CreateBrowserCtrl()
  File "main.py", line 613, in CreateBrowserCtrl
    return SimpleBrowserPanel(self)
  File "/Users/pbreit/rad2py/ide2py/browser.py", line 113, in __init__
    self.browser = BrowserPanel(self)
NameError: global name 'BrowserPanel' is not defined

Reply via email to