[dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread david whiting
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,

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread Ed Leafe
On Jul 27, 2010, at 6:46 AM, david whiting wrote: 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

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread david whiting
Here you go: VAL: type 'dict' {'name': u'Connection_1', 'database': u'/home/dwhiting/Desktop/dabo/dis/test/testdabo.db', 'dbtype': u'SQLite', 'host': '', 'user': '', 'password': '', 'port': ''} VAL: type 'dict' {'name': u'Connection_1', 'database':

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread Ed Leafe
On Jul 27, 2010, at 8:43 AM, david whiting wrote: Here you go: VAL: type 'dict' {'name': u'Connection_1', 'database': u'/home/dwhiting/Desktop/dabo/dis/test/testdabo.db', 'dbtype': u'SQLite', 'host': '', 'user': '', 'password': '', 'port': ''} VAL: type 'dict' {'name': u'Connection_1',

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread david whiting
On 27 July 2010 16:38, Ed Leafe e...@leafe.com wrote: On Jul 27, 2010, at 8:43 AM, david whiting wrote: [...]        My guess is that you clicked the 'New Connection' button several times. I've been able to intermittently reproduce the bug by adding a connection, clicking the New

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread Ed Leafe
On Jul 27, 2010, at 10:53 AM, david whiting wrote: Ah, ok. I've just played with it an the problem is reproducible by clicking on save more than once. The first time brings up the dialogue to specify a file name and location and saves the connection. A second click on save, with or without

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread david whiting
On 27 July 2010 21:06, Ed Leafe e...@leafe.com wrote: On Jul 27, 2010, at 10:53 AM, david whiting wrote: [...]        That helped narrow down the cause. I've just committed a fix for the problem. If you're using Subversion, updating should show that the error is now gone. Yep. Did an svn

Re: [dabo-users] Error when trying to save a connection using sqlite

2010-07-27 Thread Monte Milanuk
On 7/27/10 7:53 AM, david whiting wrote: Ah, ok. I've just played with it an the problem is reproducible by clicking on save more than once. The first time brings up the dialogue to specify a file name and location and saves the connection. A second click on save, with or without having made