Thanks Jose, I've create an issue as this is important to get it
working on most platform and versions.

http://code.google.com/p/rad2py/issues/detail?id=3

I've sent a mail to the wx-users mailing list, if the error persists,
I'll change to standard toolbars.

Regarding the paths, there is a ide2py.ini configuration file to adjust them.
The idea is that the config file would be stored in the user
directory, but beside that, I don't known what is the best approach to
place web2py projects in the disk.

I know there is support for relative application path, but I'm not
very interiorized with that, maybe we can ask Massimo et al

Best regards,

Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com



2011/8/12 José Luis Redrejo Rodríguez <jredr...@debian.org>:
> 2011/8/12 Mariano Reingart <reing...@gmail.com>:
>> Thanks to all who are testing this project!
>>
>> Sorry for the inconveniences with wxPython, it seem that 2.8.10 is too
>> old to run the Advanced User Interface (AUI), I'll look forward this
>> in the wx mailing list to see if there is a workaround.
>
>
> Hi Mariano, you don't have to apologize for making a work. But, as you
> said it would be great if we could make it run in Debian stable, as
> many servers run this version on Debian which has wxPython 2.8.10.
> Up to now, I've checked that this bug is affecting this wxPython version:
> http://trac.wxwidgets.org/ticket/11089
>
> and found this workaround:
>
> $ diff -u psp.py.original psp.py
> --- psp.py.original     2011-08-12 17:16:30.000000000 +0200
> +++ psp.py      2011-08-12 17:16:38.000000000 +0200
> @@ -502,10 +502,10 @@
>
>         ##tb4.AddLabel(-1, "Phase:", width=50)
>         self.psp_phase_choice = wx.Choice(tb4, -1, choices=PSP_PHASES)
> -        tb4.AddControl(self.psp_phase_choice, "PSP Phase")
> +        #tb4.AddControl(self.psp_phase_choice, "PSP Phase")
>
>         self.psp_gauge = wx.Gauge(tb4, -1, 100, (50, 10))
> -        tb4.AddControl(self.psp_gauge, "Progressbar")
> +        #tb4.AddControl(self.psp_gauge, "Progressbar")
>
>         tb4.AddSimpleTool(ID_DEFECT, "Defect", images.GetDebuggingBitmap(),
>                           short_help_string="Add a PSP defect")
>
>
> I.E: removing all the AddControl commands. Maybe you can find some
> other way to put this controls here, or if they're really important,
> moving it to another kind of toolbar.
>
> On the other hand, I'd like to make a Debian package of this ide. I'm
> still getting familiar with it and there's a question than has raised
> very soon: the way to install it is very dependent on the paths under
> the code. It would be much better if relative paths can be used, to be
> able to use it, independently of the place where the web2py projects
> are stored in the disk. I don't know if you have any idea to deal with
> this.
>
> Regards.
> José L.
>
>
>
>
>> I'm testing this with wxPython 2.8.11 and 2.8.12 (the current stable
>> release) and it is working fine in Ubuntu 11.04 and Windows 7 / XP,
>> I'll get a Mac and test it more deeply.
>>
>> BTW, If you have problems you can even delete non essential files (the
>> missing features will be disabled):
>>  * psp.py: personal software process support (helpful to track defects
>> and times, but not really needed)
>>  * browser.py: embedded webbrowser (you can use external one)
>>  * repo.py: mercurial repository support (only needed if you really
>> want to use hg from the IDE)
>>
>> Please, use the latest version (cloning the googlecode repo, if not,
>> check downloads section) and if you can, submit an issue in the
>> project site so we don't bother other web2py users ;-)
>>
>> http://code.google.com/p/rad2py/issues/list
>> http://code.google.com/p/rad2py/downloads
>>
>> Thanks again and best regards
>>
>> Mariano Reingart
>> http://www.sistemasagiles.com.ar
>> http://reingart.blogspot.com
>>
>>
>>
>> On Fri, Aug 12, 2011 at 10:34 AM, Johann Spies <johann.sp...@gmail.com> 
>> wrote:
>>> On Debian Linux I get:
>>>
>>>
>>> % python main.py
>>> Traceback (most recent call last):
>>> File "main.py", line 777, 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 761, in OnInit
>>> self.aui_frame = PyAUIFrame(None)
>>> File "main.py", line 300, in __init__
>>> PSPMixin.__init__(self)
>>> File "/home/js/programmeer/python/rad2py-0.05-experimental/ide2py/psp.py",
>>> line 441, in __init__
>>> tb4 = self.CreatePSPToolbar()
>>> File "/home/js/programmeer/python/rad2py-0.05-experimental/ide2py/psp.py",
>>> line 483, in CreatePSPToolbar
>>> aui.AUI_TB_OVERFLOW | aui.AUI_TB_TEXT | aui.AUI_TB_HORZ_TEXT)
>>> TypeError: __init__() got an unexpected keyword argument 'agwStyle'
>>> zsh: segmentation fault python main.py
>>>
>>> Regards
>>> Johann
>>> --
>>>  May grace and peace be yours in abundance through the full knowledge of God
>>> and of Jesus our Lord!  His divine power has given us everything we need for
>>> life and godliness through the full knowledge of the one who called us by
>>> his own glory and excellence.
>>>                                                     2 Pet. 1:2b,3a
>>>
>>>
>>
>

Reply via email to