On 4/13/06, Baruch <[EMAIL PROTECTED]> wrote: > $ tg-admin sql create > Using database URI sqlite:///tmp/noticethat-dev.db?debug=1 > 1/QueryOne: SELECT tbl_name FROM sqlite_master WHERE type='table' AND > tbl_name = 'permission' > 1/QueryR : SELECT tbl_name FROM sqlite_master WHERE type='table' AND > tbl_name = 'permission' > 1/COMMIT : auto > Traceback (most recent call last): "/usr/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1684-py2.4.egg/sqlobject/dbconnection.py", > line 297, in _executeRetry > return cursor.execute(query) > pysqlite2.dbapi2.Warning: You can only execute one statement at a time.
The logging output is confusing here. The last debug line is for a COMMIT. The previous line indicates that a result was received fro that query. When doing a commit, you shouldn't really get to that cursor.execute line. Unfortunately, I don't have anything productive to add at this point. I just wanted to point out that the debug logging output doesn't seem to be telling the whole story with this one. Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

