On Friday 27 June 2008 09:04:35 am johnf wrote: > I just svn to the latest. When I create an app from the ClassDesigner I > get the following traceback. It appears that the dbPostgres is not getting > passed the table name. table = '' ( not None). I'm sure how to handle > this error. > > Traceback (most recent call last): > File "CustMfrm.py", line 509, in <module> > app.start() > File "/home/johnf/downloads/dabo/dabo/dApp.py", line 317, in start > self.setup() > File "/home/johnf/downloads/dabo/dabo/dApp.py", line 282, in setup > self.initUIApp() > File "/home/johnf/downloads/dabo/dabo/dApp.py", line 309, in initUIApp > self.uiApp.setup() > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/uiApp.py", line 279, in > setup frm = self.dApp.MainForm = mfc() > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dForm.py", line 894, in > __init__ > BaseForm.__init__(self, preClass, parent, properties, attProperties, > *args, > **kwargs) > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dForm.py", line 43, in > __init__ > fm.dFormMixin.__init__(self, preClass, parent, properties, > attProperties, *a > rgs, **kwargs) > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dFormMixin.py", line 71, in > __in > it__ > attProperties, *args, **kwargs) > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 183, in > __in > it__ > self._afterInit() > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dForm.py", line 69, in > _afterIni > t > super(BaseForm, self)._afterInit() > File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dFormMixin.py", line 127, > in _af > terInit > self.createBizobjs() > File "CustMfrm.py", line 418, in createBizobjs > publicarcustBizobj = ArcustBizobj.ArcustBizobj(self.conn) > File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 37, in > __init__ self.setConnection(conn) > File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 110, in > setConnect ion > self.createCursor() > File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 168, in > createCurs or > self._syncCursorProps(crs) > File "/home/johnf/downloads/dabo/dabo/biz/dBizobj.py", line 1670, in > _syncCurs orProps > crs.Table = self._dataSource > File "/home/johnf/downloads/dabo/dabo/db/dCursorMixin.py", line 2360, in > _setT able > self._keyField = [fld[0] for fld in self.getFields(table) > File "/home/johnf/downloads/dabo/dabo/db/dCursorMixin.py", line 1810, in > getFi elds > flds = self.BackendObject.getFields(tableName, self.AuxCursor) > File "/home/johnf/downloads/dabo/dabo/db/dbPostgreSQL.py", line 91, in > getFiel ds > localTableName = tableNameBreak[1]
That should be I don't know how to fix this. -- John Fabiani _______________________________________________ Post Messages to: Dabo-users@leafe.com 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]