Thanks, i solved. Now the application starts but if i write something in the textboxes i get the errors:
Dabo Error Log: Sun Jan 10 15:13:54 2010: Could not bind to 'articoli.descrizione' Reason: 'NoneType' object has no attribute 'descrizione' Dabo Error Log: Sun Jan 10 15:13:55 2010: Could not bind to 'articoli.descrizione' Reason: 'NoneType' object has no attribute 'descrizione' Dabo Error Log: Sun Jan 10 15:13:55 2010: Could not bind to 'articoli.descrizionebreve' Reason: 'NoneType' object has no attribute 'descrizionebreve' It seems that datasource and datafield aren't properly initialized but the dGrid shows the correct data. The dPanel is changed as shown here: http://pastebin.com/m151a469f Before that the dPanel was a dForm and it worked correctly (with basic changes). Thanks On Sun, Jan 10, 2010 at 1:07 AM, Emanuele Gesuato <[email protected]> wrote: > Hi, > > I would like to use the dPageFrame but have some trouble of doing so. > > The main script of my dabo application is here: > http://pastebin.com/md1fa947 > > and here the dFormMain of my application: > http://pastebin.com/m22a0cf9a > > the dPageFrame is a dPanel that have this implementation: > http://pastebin.com/m6c794a9 > > when i try to run the first script i've got the error: > Traceback (most recent call last): > File "/home/emanuele/workspace/gestionesagra/trunk/sagra/src/sagra.py", > line 38, in <module> > app.setup() > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/dApp.py", > line 334, in setup > self.initUIApp() > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/dApp.py", > line 371, in initUIApp > self.uiApp.setup() > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/uiApp.py", > line 411, in setup > frm = self.dApp.MainForm = mfc() > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dFormMain.py", > line 53, in __init__ > dFormMainBase.__init__(self, preClass, parent, properties, *args, **kwargs) > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dFormMain.py", > line 14, in __init__ > fm.dFormMixin.__init__(self, preClass, parent, properties, *args, **kwargs) > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dFormMixin.py", > line 89, in __init__ > attProperties, *args, **kwargs) > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dPemMixin.py", > line 186, in __init__ > self._afterInit() > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dFormMixin.py", > line 143, in _afterInit > super(dFormMixin, self)._afterInit() > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dPemMixin.py", > line 320, in _afterInit > self.afterInit() > File > "/home/emanuele/workspace/gestionesagra/trunk/sagra/src/ui/TestPanel.py", > line 24, in afterInit > pgf.appendPage(pgCls=ListinoArticoli, caption="Listino articoli") > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dPageFrameMixin.py", > line 149, in appendPage > return self.insertPage(self.GetPageCount(), pgCls, caption, > imgKey, **kwargs) > File > "/usr/local/lib/python2.6/dist-packages/Dabo-0.9.2-py2.6.egg/dabo/ui/uiwx/dPageFrameMixin.py", > line 181, in insertPage > pg = pgCls(self, **kwargs) > TypeError: 'module' object is not callable > > > I think there is something *simple* wrong but i don't understand what > thanks for any help, > Emanuele > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
