Insertion (sql) bug in Py2.4 pySQLite 2.2

Peter Hansen peter at engcorp.com
Sat Apr 8 17:30:37 EDT 2006


DurumDara wrote:
> So: I create a table in the first, and later I want to push some 
> elements to it. Before this example code I use special method to create 
> insert sql with tuple of values. But everytime it have been failed with 
> this message: SQL error or inaccessible database. Then I simplified the 
> code with hand maded SQL. And then I got same error message. The 
> database file removed and rebuilded with every execution.
> 
> When I tired by this error, I returned to APSW, and then I don't got 
> error messages.

*What* error messages?  Please always post the *complete* traceback, cut 
and pasted directly from your console window without editing, so that we 
don't have to guess what is wrong.

If possible, you should also take the time to reduce your code down to 
the smallest program which still causes the undesirable behaviour, and 
if it's only ten or twenty lines of code you should post that here along 
with the traceback.

-Peter




More information about the Python-list mailing list