This is my problem (just downloaded using mercurial):

Traceback (most recent call last):
  File "main.py", line 790, in <module>
    app = MainApp(redirect=False)
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7978, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "main.py", line 774, in OnInit
    self.main_frame = PyAUIFrame(None)
  File "main.py", line 306, in __init__
    PSPMixin.__init__(self)
  File "/opt/src/web2py/rad2py/ide2py/psp.py", line 441, in __init__
    tb4 = self.CreatePSPToolbar()
  File "/opt/src/web2py/rad2py/ide2py/psp.py", line 523, in CreatePSPToolbar
    tb4.Realize()
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/lib/agw/aui/auibar.py",
line 2837, in Realize
    sizer_item.SetMinSize(min_size)
AttributeError: 'SizerItem' object has no attribute 'SetMinSize'
Violación de segmento

It looks like version 2.8.10 of wx is not enough to run it.

2011/8/12 Mariano Reingart <[email protected]>:
> Please check the latest version with the following recent bug-fixes:
>
>  * Support for external browser (if no webkit/ie available, ie. MAC OS X)
>  * Support for older wxpython versions (psp toolbar problem, ie.
> debian wx 2.8.10)
>
> http://rad2py.googlecode.com/files/rad2py-0.06-web2py-bugfix.zip
>
> Also, now ide2py will build a basic web2py enviroment, available in
> the editor for calltip and autocompletion, with the following objects:
>
>  * request, response, session
>  * db, auth, crud, service
>  * HTML helpers, T, etc.
>
> So, if you write SQLFORM and press the . , it will show the docstring
> and parameters of that function.
>
> Hope it works,
>
> Best regards,
>
> Mariano Reingart
> http://www.sistemasagiles.com.ar
> http://reingart.blogspot.com
>
>
>
> On Thu, Aug 11, 2011 at 7:49 PM, pbreit <[email protected]> wrote:
>> 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