Error starting designer !!

238 views
Skip to first unread message

Bruno Luciani

unread,
Aug 1, 2014, 2:33:41 PM8/1/14
to gui...@googlegroups.com
I get this error trying to start designer I read some issues about
python installation and wx widgets , but it seems to be all right

any idea ?

thanks

Bruno


bruno@bruno-QAL50 ~/gui2py $ python -m gui.tools.designer
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/bruno/gui2py/gui/tools/designer.py", line 692, in <module>
from gui.tools.inspector import InspectorPanel
File "gui/tools/inspector.py", line 16, in <module>
from gui.tools.propeditor import PropertyEditorPanel
File "gui/tools/propeditor.py", line 17, in <module>
import wx.propgrid as wxpg
ImportError: No module named propgrid
bruno@bruno-QAL50 ~/gui2py $

Bruno Luciani

unread,
Aug 1, 2014, 2:55:02 PM8/1/14
to gui...@googlegroups.com

My linux version : Linuxmint 16

Bruno

Mariano Reingart

unread,
Aug 1, 2014, 3:03:31 PM8/1/14
to Bruno Luciani, gui2py
Hi Bruno, thanks for testing the library and posting to this forum.

The error is caused by the wxPython version (2.8) not including the Property Editor:

  File "gui/tools/propeditor.py", line 17, in <module>
    import wx.propgrid as wxpg
ImportError: No module named propgrid

You need to install wxPython 2.9 or higher, 3.0 recommended.
There is a wxWidgets 3.0 package for recent ubuntu versions (it was relaced a few months ago), so you'll need to compile just wxPython.
Please see the following instruction guide with the steps (check the 3.0 part):


Let me know if that works for you,

Best regards,

Reply all
Reply to author
Forward
0 new messages