Hi,

I can save a connection using ./CxnEditor.py with mysql as the
backend, but if I try to use sqlite I get the following error:

Traceback (most recent call last):
  File "/home/dwhiting/Desktop/dabo/dabo/ui/uiwx/dControlMixin.py",
line 27, in _onWxHit
    self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
  File "/home/dwhiting/Desktop/dabo/dabo/ui/uiwx/dPemMixin.py", line
981, in raiseEvent
    super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
  File "/home/dwhiting/Desktop/dabo/dabo/lib/eventMixin.py", line 92,
in raiseEvent
    bindingFunction(event)
  File "./CxnEditor.py", line 225, in onOpen
    self.openFile()
  File "./CxnEditor.py", line 431, in openFile
    if not self.confirmChanges():
  File "./CxnEditor.py", line 478, in confirmChanges
    self.writeChanges()
  File "./CxnEditor.py", line 501, in writeChanges
    vals = self.relPaths(self.connDict.values())
  File "./CxnEditor.py", line 514, in relPaths
    if self.isFileBasedBackend(val["dbtype"]):
TypeError: string indices must be integers


This is on ubuntu 10.04
Platform: GTK
Python Version: 2.6.5 on linux2
Dabo Version: Version 0.9.2; Revision 5935
UI Version: 2.8.10.1 on wxGTK (gtk2)

SQLite version 2.8.17

The sqlite db exists, it contains one table with no records. Clicking
on Test verifies the connection is successful. I just can't save the
connection info.

David

-- 
David Whiting
_______________________________________________
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/aanlkti=bkhau6kinzkb_j+7tcjmcnzxgp=hz_ga0=...@mail.gmail.com

Reply via email to