hidayetcetin / rad2py

Automatically exported from code.google.com/p/rad2py
GNU General Public License v3.0
0 stars 0 forks source link

Current state of rad2py, tested on Fedora 18 #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have installed psp2py and ide2py according to Quick Install guide from the 
wiki, copied ide2py.ini.dist to ide2py.ini. I'm starting psp2py first, then 
ide2py.

Environment:
Fedora 18 x86_64
rad2py, default branch clone 2013-02-12
web2py, devel 2.4.1-alpha.2+timestamp.2013.02.07.05.36.19 
python 2.7.3
wxPython 2.8.12.0
pywebkitgtk 1.1.8
python-simplejson 2.6.0
python-pep8 1.4.1
pyflakes 0.5.0

ide2py opens but immediately fails with:

Traceback (most recent call last):
  File "main.py", line 1322, in <module>
    app = MainApp(redirect=False)
  File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7981, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7555, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "main.py", line 1270, in OnInit
    self.InitApp()
  File "main.py", line 1288, in InitApp
    self.main_frame = PyAUIFrame(None)
  File "main.py", line 419, in __init__
    GUIDesignerMixin.__init__(self)
  File "/local/path/to/my/rad2py/ide2py/designer.py", line 79, in __init__
    flags=wx.ICON_ERROR, key="gui2py")
  File "main.py", line 1027, in ShowInfoBar
    self.infobars[key] = infobar.InfoBar(self)
AttributeError: 'module' object has no attribute 'InfoBar'

I'm aware that this is work in progress... :)

Original issue reported on code.google.com by lightdot on 12 Feb 2013 at 12:53

Attachments:

GoogleCodeExporter commented 8 years ago
same for Ubuntu 12.04

Original comment by jurgis.pralgauskis on 30 Mar 2013 at 10:19

GoogleCodeExporter commented 8 years ago
you can surround body of " def ShowInfoBar(...)" with try/except to workaround 
this...

as this seems to be caused by failing to 

    import wx.lib.agw.advancedsplash as advancedsplash
    import wx.lib.agw.infobar as infobar

@line 33

Original comment by jurgis.pralgauskis on 30 Mar 2013 at 10:43

GoogleCodeExporter commented 8 years ago
In ubuntu 13.04 x86_64 same happends, after changing line
import wx.lib.agw.infobar as infobar for infobar = wx but I am unable to run in 
a stable enviroment, unable to launch web2py.

Original comment by neoe...@gmail.com on 31 Mar 2013 at 12:48

GoogleCodeExporter commented 8 years ago
same on debian, actually importing wx works, but there are no methods to call 
wx.foobar gives an error... 

Original comment by b...@esdebian.org on 20 May 2013 at 9:26

GoogleCodeExporter commented 8 years ago
I have the same issue on Win 7, using wxPython2.8-win32-unicode-2.8.12.1-py27 
and latest source from Hg. 

Original comment by jorgen.r...@gmail.com on 17 Jul 2013 at 11:03