Thank you very much for your script! It helped me indeed diagnose the problem. When I run it on my server, I get the following info:
sqlite_version_info (3, 2, 1)
So I do have the same version as you.
But when I type ‘import pysqlite2’ from a python shell under SSH, I get version 3.3.8 (the sqlite that I installed in my home directory).
Do you know how I can make pysqlite2 use that sqlite version, instead of the one installed on the server? It seems setting PYTHONPATH would do the trick, but I don’t know how to do that in a way that the CGI will take it into account.
Thanks for your time!