hidayetcetin / rad2py

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

install ide2py #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Im install ide2py, but is problem in start , look
2. ovidio@ovidio-laptop:~/web2py/rad2py$ sudo 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/ovidio/web2py/rad2py/psp.py", line 441, in __init__
    tb4 = self.CreatePSPToolbar()
  File "/home/ovidio/web2py/rad2py/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'
segmentation fail

3. my ide2py.ini is 

What[REPOSITORY]
username = Ovidio Marinho <ovidioccg@gmail.com>
type = hg

[WEB2PY]
# full (or relative) path to web2py installation folder
path = /home/ovidio/web2py
# admin password:
password = a
# port (default 8006):
port = 8006

[AUI]
perspective = 
maximize = True

[CHECKER]
pep8 = True
doctest = True
pyflakes = True

[EDITOR]
face_helv = DejaVu Serif
view_eol = False
face_other = DejaVu
calltips = True
encoding = utf_8
face_size = 10
view_white_space = False
edge_column = 79
face_times = DejaVu Sans
autocomplete = True
eol_mode = 0
face_mono = DejaVu Sans Mono
set_identation_guides = True
use_tabs = False
face_size2 = 8
tab_width = 4

[PSP]
phases = Planning, Design, Code, Compile, Test, Review, Postmortem
data = /home/reingart/tesis/psp-data.dat
checklist = /home/reingart/tesis/psp-checklist.dat
server_url = http://localhost:8000/psp2py/services/call/jsonrpc

[MAIN]
settings = settings.pkl

[STC.PY]
stc_p_triple = face:%(mono)s,fore:#7F0000,size:%(size)d
stc_p_tripledouble = face:%(mono)s,fore:#7F0000,size:%(size)d
stc_p_number = face:%(mono)s,fore:#007F7F,size:%(size)d
stc_p_word = face:%(mono)s,fore:#00007F,bold,size:%(size)d
stc_p_stringeol = 
face:%(mono)s,fore:#000000,face:%(mono)s,back:#E0C0E0,eol,size:%(size)d
stc_style_default = face:%(mono)s,size:%(size)d
stc_style_linenumber = back:#C0C0C0,face:%(mono)s,size:%(size2)d
stc_style_bracebad = fore:#000000,back:#FF0000,bold
stc_style_bracelight = fore:#FFFFFF,back:#0000FF,bold
stc_p_commentline = face:%(mono)s,fore:#007F00,back:#E8FFE8,italic,size:%(size)d
stc_style_controlchar = face:%(mono)s
stc_p_identifier = face:%(mono)s,size:%(size)d
stc_p_string = face:%(mono)s,fore:#7F007F,size:%(size)d
stc_p_character = face:%(mono)s,fore:#7F007F,size:%(size)d
stc_p_default = face:%(mono)s,size:%(size)d
stc_p_commentblock = 
face:%(mono)s,fore:#990000,back:#C0C0C0,italic,size:%(size)d
stc_p_classname = face:%(mono)s,fore:#0000FF,bold,underline,size:%(size)d
stc_p_operator = face:%(mono)s,bold,size:%(size)d
stc_p_defname = face:%(mono)s,fore:#007F7F,bold,size:%(size)d

[HISTORY]

i can be wrong?

Original issue reported on code.google.com by Ovidio...@gmail.com on 11 Aug 2011 at 4:57

GoogleCodeExporter commented 8 years ago
You need at least wxPython version 2.8.11:

>>> import wx
>>> wx.version()
'2.8.11.0 (gtk2-unicode)'

Remove files psp.py and psp.pyc and it should start fine (with PSP disabled, 
but it is not essential)

Let me know if that work

Original comment by reingart@gmail.com on 11 Aug 2011 at 11:10

GoogleCodeExporter commented 8 years ago
Also, there is a new version (0.06) commited that should support your wx 
version (see repository)

Original comment by reingart@gmail.com on 11 Aug 2011 at 11:45

GoogleCodeExporter commented 8 years ago
>>> import wx
>>> wx.version()
'2.8.10.1 (gtk2-unicode)'
>>> 

Original comment by Ovidio...@gmail.com on 12 Aug 2011 at 11:55

GoogleCodeExporter commented 8 years ago
Did you test the latest version?

http://code.google.com/p/rad2py/downloads/detail?name=rad2py-0.06b.zip&can=2&q=

Remove psp.py if it keep throwing the exception

Original comment by reingart@gmail.com on 12 Aug 2011 at 3:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I followed instructions (remove psp.py) with the last development version of 
rad2py and I am having a similar error message (created a new issue 14 by 
mistake):

Traceback (most recent call last):
  File "./main.py", line 1129, in <module>
    app = MainApp(redirect=False)
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7978, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "./main.py", line 1062, in OnInit
    shadowcolour=wx.ColourDatabase().Find("yellow"),
TypeError: __init__() got an unexpected keyword argument 'agwStyle'

My system config:

web2py trunk
mercurial rad2py updated to Revision: 059305884ee8
wx 2.8.10.1 (gtk2-unicode)
Python 2.6.5
(wx and Python were installed with Mandriva .rpm packages)

Original comment by spame...@gmail.com on 31 Mar 2012 at 1:09

GoogleCodeExporter commented 8 years ago
Your version of wxPython is too old.  For Ubuntu/Debian, follow the 
instructions at:

http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

Original comment by sh...@faultymonk.org on 23 May 2012 at 12:45

GoogleCodeExporter commented 8 years ago
on OSX wxPython version 2.8 is only 32bit so it is not working, and wersion 2.9 
with 64bit suport is currently not supported, 
i changed version to 2.9 and program started with following error
Unhandled Error: AttributeError: 'PyAUIFrame' object has no attribute 
'debugging'

Original comment by ibrka...@gmail.com on 17 Oct 2012 at 8:20

GoogleCodeExporter commented 8 years ago
Issue 14 has been merged into this issue.

Original comment by reingart@gmail.com on 2 Feb 2013 at 8:16