I and my team are building sqlite3 app and when used on Windows XP on Python 2.5.1 we get such an error: File "D:\studia\!bazy_projekt\svn2\src\muzzyk.py", line 39, in __init__ cur.executescript(scheme) OperationalError: near "NOT": syntax error while parsing http://muzzyk.googlecode.com/svn/trunk/src/scheme.sql Bug is about those triggers at the end of file. On linux or with pysqlite2 imported instead of sqlite3 everything is OK.
That's because the SQLite3.DLL in Windows is at version 3.3.4, which doesn't support that language construct, yet. As a workaround, just download the SQLite3.DLL from http://sqlite.org and copy it over the one in your Python installation. The real solution for Python is to update the SQLite3.DLL. Martin, can we update the SQLite3.DLL for the 2.5 branch?
We'll make sure there's an updated SQLite DLL in Python 2.6 and Python 3.0. It's not worth the effort for 2.5.2. There's always the workaround of users installing an updated DLL themselves.
History
Date
User
Action
Args
2022-04-11 14:56:24
admin
set
github: 45053
2007-11-22 10:48:02
ghaering
set
status: open -> closedresolution: latermessages: +