Traceback (most recent call last):
   File "C:\dev\dabo\dabo\ui\uiwx\dControlMixin.py", line 27, in _onWxHit
     self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
   File "C:\dev\dabo\dabo\ui\uiwx\dPemMixin.py", line 1009, in raiseEvent
     super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, 
**kwargs)
   File "C:\dev\dabo\dabo\lib\eventMixin.py", line 96, in raiseEvent
     bindingFunction(event)
   File "C:\dev\dabo\dabo\ui\dialogs\Wizard.py", line 124, in onNext
     self.CurrentPage += pg.nextPage()
   File "C:\dev\dabo\dabo\ui\dialogs\Wizard.py", line 291, in _setCurrPage
     ok = self._pages[self._currentPage].onLeavePage(direction)
   File "AppWizard.py", line 403, in onLeavePage
     self.fillFieldDict()
   File "AppWizard.py", line 416, in fillFieldDict
     fields = self.Form.cursor.getFields(table)
   File "C:\dev\dabo\dabo\db\dCursorMixin.py", line 2109, in getFields
     flds = self.BackendObject.getFields(tableName, self.AuxCursor)
   File "C:\dev\dabo\dabo\db\dbFirebird.py", line 144, in getFields
     pkField = rs[0]["column_name"].strip()
IndexError: tuple index out of range

Python 2.6.5
wxPython 2.8.11.0 (msw-unicode)
kinterbasdb 3.3
Firebird 2.5

See patch for a proposed fix, not so sure about this one.

When I debug it "rs" returned by the getDataSet is an empty tuple.

Werner



SW5kZXg6IGRiRmlyZWJpcmQucHkNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCi0tLSBkYkZpcmViaXJkLnB5
CShyZXZpc2lvbiA2MzQ2KQ0KKysrIGRiRmlyZWJpcmQucHkJKHdvcmtpbmcgY29weSkNCkBA
IC0xNDAsMTAgKzE0MCwxMyBAQA0KIAkJQU5EIChJLlJEQiRSRUxBVElPTl9OQU1FID0gJyVz
JykgIiIiICUgdGFibGVOYW1lLnVwcGVyKCkKIAkJY3Vyc29yLmV4ZWN1dGUoc3FsKQogCQly
cyA9IGN1cnNvci5nZXREYXRhU2V0KHJvd3M9MSkKKwkJCiAJCXRyeToKIAkJCXBrRmllbGQg
PSByc1swXVsiY29sdW1uX25hbWUiXS5zdHJpcCgpCiAJCWV4Y2VwdCBLZXlFcnJvcjoKIAkJ
CXBrRmllbGQgPSBOb25lCisJCWV4Y2VwdCBJbmRleEVycm9yOgorCQkJcGtGaWVsZCA9IE5v
bmUKIAogCQkjIE5vdyBnZXQgdGhlIGZpZWxkIGluZm8KIAkJc3FsID0gIiIiICBTRUxFQ1Qg
Yi5SREIkRklFTERfTkFNRSwgZC5SREIkVFlQRV9OQU1FLAo=

--- StripMime Report -- processed MIME parts ---
multipart/mixed
  text/plain (text body -- kept)
  text/plain (text body -- kept)
---
_______________________________________________
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]

Reply via email to