Re: Troubles with gnue-forms
Johannes Vetter <[email protected]>
| Newsgroups | gmane.comp.gnu.enterprise.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, seems as if you're using the qt-forms driver which is not functional atm. I do not know if anybody would like using this driver anyway (instead of wx, gtk2, win32) Thanks, Johannes Am Don, den 11.11.2004 schrieb Denis Bitouzé um 19:37: > Hello, > > here is my configuration: > > Linux Mandrake 10.1 > kernel 2.4.25-9mdk > gnue-common-0.5.10 > gnue-forms-0.5.8 > wxPythonGTK-2.5.2.7-2mdk > qt3-common-3.3.3-28mdk > ncurses-5.4-1.20040529.2mdk > > 1) I experienced the same encoding errors as Stefan Elwesthal: > > http://lists.gnu.org/archive/html/gnue/2004-04/msg00032.html > > and I fixed them by setting: > > $ export LANGUAGE=fr_FR.ISO-8859-1 > > 2) When I try to use gnue-forms: > > $ /usr/local/bin/gnue-forms helloworld2.gfd > > I get the following error message (also joined in attached file): > > DB000: <unknown_executioncontext>:2: SyntaxWarning: import * only > allowed at module level Max Width = 8 8 > 9 26 270 22 > 9 26 99 22 > 18 52 72 22 > 18 78 63 22 > 18 156 45 22 > 18 182 72 22 > 18 208 63 22 > 18 234 108 22 > DB000: Error in sys.excepthook: > DB000: Traceback (most recent call last): > DB000: File > "/usr/local/gnue/lib/python/gnue/common/apps/GBaseApp.py", line 578, in > excepthook DB000: self._showException (*errors.getException (None, > etype, value, traceback)) DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/_base/UIdriver.py", > line 527, in showException DB000: self._showException (group, name, > message, detail) DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/_base/UIdriver.py", > line 626, in _showException DB000: raise ImplementationError, > (self.name, '_showException') DB000: > gnue.forms.uidrivers._base.UIdriver.ImplementationError: The UI-Driver > Undefined has no implementation of _showException DB000: > DB000: Original exception was: > DB000: Traceback (most recent call last): > DB000: File "/usr/local/bin/gnue-forms", line 34, in ? > DB000: client.run () > DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFClient.py", line > 159, in run DB000: instance.activate () > DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFInstance.py", > line 313, in activate DB000: self.buildForm (dialog) > DB000: File "/usr/local/gnue/lib/python/gnue/forms/GFInstance.py", > line 368, in buildForm DB000: self._uiinstance.buildForm (form, > formName) DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/_base/UIdriver.py", > line 310, in buildForm DB000: self._gfObjToUIWidget > [form].phaseInit () DB000: File > "/usr/local/gnue/lib/python/gnue/common/definitions/GObjects.py", line > 117, in phaseInit DB000: self._phaseInit(phase) > DB000: File > "/usr/local/gnue/lib/python/gnue/common/definitions/GObjects.py", line > 137, in _phaseInit DB000: inits[phase]() > DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/_base/widgets/_base.p > y", line 104, in primaryInit DB000: newWidget = > self.createWidget(self._creationEvent, spacer) DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/qt/widgets/_base.py", > line 142, in createWidget DB000: newWidget = > self._createWidget(event, spacer) DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/qt/widgets/form/widge > t.py", line 105, in _createWidget DB000: ToolBar(self._uiDriver, > self.mainWindow, self._form) DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/_commonGuiToolkit/Too > lBar.py", line 86, in __init__ DB000: self.finalize() > DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/_commonGuiToolkit/Too > lBar.py", line 103, in finalize DB000: > self.__actionMap[userAction.event] = self.addAction(name, userAction) > DB000: File > "/usr/local/gnue/lib/python/gnue/forms/uidrivers/qt/ToolBar.py", line > 62, in addAction DB000: action = QAction(self.toolbar, name) > DB000: File "/usr/lib/python2.3/site-packages/qt.py", line 67, in > __init__ DB000: libqtc.sipCallCtor(212,self,args) > DB000: TypeError: Argument 2 of QAction() has an invalid type > Fatal Python error: PyEval_RestoreThread: NULL tstate > Aborted > > Could you please help me to fix this error? > > Cheers.