On Wednesday 03 December 2008 08:35:16 pm johnf wrote:
> Attempting to add data using "add control from data" I the following error:
> Traceback (most recent call last):
>   File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dControlMixin.py", line 27,
> in _onWxHit
>     self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
>   File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line 925, in
> raiseEvent
>     super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
> **kwargs)
>   File "/home/johnf/downloads/dabo/dabo/lib/eventMixin.py", line 92, in
> raiseEvent
>     bindingFunction(event)
>   File "/home/johnf/downloads/dabo/dabo/ui/dialogs/Wizard.py", line 124, in
> onNext
>     self.CurrentPage += pg.nextPage()
>   File "/home/johnf/downloads/dabo/dabo/ui/dialogs/Wizard.py", line 304, in
> _setCurrPage
>     self._pages[self._currentPage].onEnterPage(direction)
>   File "/home/johnf/downloads/dabo/ide/wizards/QuickLayoutWizard.py", line
> 167, in onEnterPage
>     self.onTableSelection(None)
>   File "/home/johnf/downloads/dabo/ide/wizards/QuickLayoutWizard.py", line
> 185, in onTableSelection
>     fldInfo = [ (pktext[fldDict[p]["pk"]], typeText[fldDict[p]["type"]], p
> ) for p in flds]
> KeyError: 'G'

I discovered that dbPostgres was returning a 'G' for the postgres data 
type 'OID'.  I changed the return type to 'I'.  It appears to work.  

-- 
John Fabiani


_______________________________________________
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