Re: Can't run gnue-designer...

"Adrian Maier" <[email protected]> Sat, 5 May 2007 09:23:46 +0300
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
On 5/5/07, Vic <[email protected]> wrote:
> Hi All.
>
> I'm having another crack at GNUe.
>
> I've installed the packages, I've set up the connections.conf & gnue.conf
> to point to my MySQL server. And the I tried to run gnue-designer.
>
> I get the splash screen, then I get a traceback as follows :-
>
> DB000: Traceback (most recent call last):
> DB000:    File "/home/vic/bin/gnue-designer", line 34, in ?
> DB000:     designer.run ()
> DB000:    File "/home/vic/gnue/lib/python/gnue/designer/Designer.py", line
> 90, in run
> DB000:     self.ui.run()
> DB000:    File
> "/home/vic/gnue/lib/python/gnue/designer/uidrivers/wx/Base.py", line 63,
> in run
> DB000:     self.app.init()
> DB000:    File "/home/vic/gnue/lib/python/gnue/designer/Designer.py", line
> 125, in init
> DB000:     self.newInstance('forms')
> DB000:    File "/home/vic/gnue/lib/python/gnue/designer/Designer.py", line
> 221, in newInstance
> DB000:     c = dyn_import("gnue.designer.%s.Instance" %
> module).Instance(self, *args, **parms)
> DB000:    File
> "/home/vic/gnue/lib/python/gnue/designer/forms/Instance.py", line 93, in
> __init__
> DB000:     BaseInstance.__init__(self, app, *args, **params)
> DB000:    File "/home/vic/gnue/lib/python/gnue/designer/base/Instance.py",
> line 109, in __init__
> DB000:     self.uiinstance = app.ui.createInstance(self)
> DB000:    File
> "/home/vic/gnue/lib/python/gnue/designer/uidrivers/wx/Base.py", line 67,
> in createInstance
> DB000:     return Instance(instance)
> DB000:    File
> "/home/vic/gnue/lib/python/gnue/designer/uidrivers/wx/Instance.py", line
> 48, in __init__
> DB000:     self.toolbar = PrimaryToolBar(self, self.instance)
> DB000:    File "/home/vic/gnue/lib/python/gnue/designer/base/ToolBar.py",
> line 52, in __init__
> DB000:     wxToolBar.__init__(self, parent, -1)
> DB000:    File "/usr/lib/python2.3/site-packages/wxPython/stattool.py",
> line 466, in __init__
> DB000:     self._setOORInfo(self)
> DB000:    File "/usr/lib/python2.3/site-packages/wxPython/windows.py",
> line 60, in _setOORInfo
> DB000:     val = windowsc.wxEvtHandler__setOORInfo(self, *_args,
> **_kwargs)
> DB000:  TypeError: Type error in argument 1 of wxEvtHandler__setOORInfo.
> Expected _wxEvtHandler_p.
>
> I know absolutely nothing about python, so I don't really know where to
> start debugging this. Can anyone point the way?

You might have a version of wxWidgets that is incompatible with gnue-designer.
I am not sure what versions of wx are required by gnue-designer these days,
but anyway it would be useful if you tell more details about your system
(operating system, python version,  wxWidgets version, etc).
Sorry , i can't help you more.


-- 
Adrian Maier