Re: pysqlite2.0.3 test fails on both Solaris 9 (sparc) and FC3 (AMD 32 bit)

Gerhard Häring <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Middleton wrote:
> Tried searching the archive and Googled to little avail....
> 
> Python 2.5.1 (r251:54863, Jul 21 2007, 15:31:47)
> [GCC 4.1.1] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from pysqlite2 import test
>>>> test.test()
> .............EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.......EE....EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE..EEEEEEEEEEE
> [...]

pysqlite 2.0.3 is horribly outdated. Please use at least pysqlite 2.0.7 (http://initd.org/pub/software/pysqlite/releases/2.0/2.0.7/pysqlite-2.0.7.tar.gz) if you want to keep the pysqlite 2.0.x line for whatever reason. But even that will fail with SQLite 3.5.x, because SQLite 3.5.x introduced a subtle API incompatibility that I only worked around in the latest pysqlite release 2.4.0. So either use 2.0.7 with SQLite 3.4.x or just use pysqlite 2.4.0.

HTH

- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHUobhdIO4ozGCH14RAm5SAJ9xh3MTiMDlsCSHDMePXcLQv914dACfZtgx
yJWR3TqIYuHD2AUAPJF3Hi4=
=Rl/i
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.