Running OpenSuSE 10.1. I just tried to connect to a test.db file and
use the AppWizard to connect to a test SQLite db and got an error when
clicking the Finish button. I created the db from within the Python
interpreter after running "import sqlite". I am trying to learn Python
which is why it was created the 'hard' way :-)
Any thoughts?
Thanks,
Brian
Contents of test.db:
echo ".dump" | sqlite3 test.db
BEGIN TRANSACTION;
CREATE TABLE names ( id INTEGER PRIMARY KEY, name VARCHAR(50), email
VARCHAR(50));
INSERT INTO "names" VALUES(1, 'John Doe', '[EMAIL PROTECTED]');
INSERT INTO "names" VALUES(2, 'Joe Doe', '[EMAIL PROTECTED]');
COMMIT;
Errors sent to console:
Dabo Info Log: Sun Sep 17 11:05:18 2006: 0 database connection
definition(s) loaded.
Dabo Info Log: Sun Sep 17 11:05:18 2006: User interface already set to
'wx', so dApp didn't touch it.
Dabo Info Log: Sun Sep 17 11:05:19 2006: wxPython Version: 2.6.2.1 wxGTK
(unicode) (gtk2)
Traceback (most recent call last):
File "/home/bsnipes/bin/dabo/dabo/dabo/lib/eventMixin.py", line 97, in
raiseEvent
bindingFunction(event)
File "/home/bsnipes/bin/dabo/dabo/dabo/ui/dialogs/Wizard.py", line
122, in onNext
self._finish()
File "/home/bsnipes/bin/dabo/dabo/dabo/ui/dialogs/Wizard.py", line
138, in _finish
ok = pg.onLeavePage("forward")
File "./AppWizard.py", line 682, in onLeavePage
if not self.Form.createApp():
File "./AppWizard.py", line 759, in createApp
f.write(self.getMain(ci.Name, selTb[0]))
File "./AppWizard.py", line 1148, in getMain
"spec-main.py.txt")).read() % locals()
TypeError: not enough arguments for format string
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users