Re: next error with first example of appsrerver

Jan Ischebeck <[email protected]> Tue, 06 Mar 2007 18:31:36 +0100
Newsgroups gmane.comp.gnu.enterprise.general
Message-ID <[email protected]>
Hi Thilo,

it seems, that the UIForm object is not loaded.
 (self._uiForm is set to self.findParentOfType('UIForm') in 
uidrivers/_base/widgets/_base.py)

Can you try another uidriver like wx26, gtk2 or qt4?  You can set with 
the -u <gui> argument.

Can you also call gnue-forms with the parameter --debug-imports ?
It will be a long list. Can you check if it includes the following lines?

Importing gnue.forms.uidrivers.wx.widgets.form...
.Importing gnue.forms.uidrivers.wx.widgets.form.widget...
..Importing gnue.forms.uidrivers.wx.widgets.form.wrappers...

Thank you,

Jan



Thilo Riessner schrieb:
> After installing the latest snapshot of gnue-common (9426), the error 
> described in my last thread was solved, but the next one appeared. Again the 
> traceback is very long, so I put just the end of it here:
>
>  File "/opt/gnue/lib/python2.
> 5/site-packages/gnue/forms/uidrivers/wx/widgets/_base.py", line 249, in 
> createWidget
>     newWidget = self._createWidget(event, spacer)
>    File "/opt/gnue/lib/python2.
> 5/site-packages/gnue/forms/uidrivers/wx/widgets/page.py", line 51, in 
> _createWidget
>     newWidget = self._uiForm._wrapper.createPage(object)
>  AttributeError: 'NoneType' object has no attribute '_wrapper'
>
> Thanks for any help in advance,
>
> Thilo
>
>
> _______________________________________________
> Gnue mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/gnue
>