|
|
Subject: Can someone here shed some light on this ctypes/sqlite3 failure? - msg#00026
List: python.db.pysqlite.user
A number of us are having trouble with sqlite3 in Python in the presence of
ctypes on Macs. The information as I know it is here:
https://sourceforge.net/support/tracker.php?aid=1581906
Can anyone on this list shed some light on the problem? Thomas Heller
(ctypes author) has so far been unable to reproduce it in his environment,
though several others of us with similar Mac OSX environments have.
Any help appreciated...
--
Skip Montanaro - skip-e+AXbWqSrlAAvxtiuMwx3w@xxxxxxxxxxxxxxxx -
http://www.webfast.com/~skip/
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: [ANN] pysqlite 2.3.4 released
On 6/19/07, Gerhard HÃring <gh@xxxxxxxxxxx> wrote:
> pysqlite can be downloaded from http://pysqlite.org/ - Sources and
> Windows binaries for Python 2.5, 2.4 and Python 2.3 are available.
Hello,
I have a basic question I would like to make if you don't mind: If
pysqlite is included in Python 2.5, why it is available as a separate
release? If you install this version, how does Python knows what
version to use?
Best,
SB
--
SebastiÃn Bassi (ããããããã)
Diplomado en Ciencia y TecnologÃa.
GPG Fingerprint: 9470 0980 620D ABFC BE63 A4A4 A3DE C97D 8422 D43D
Vendo PC completa: http://tinyurl.com/2adaxf
_______________________________________________
pysqlite mailing list
pysqlite@xxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/pysqlite
Next Message by Date:
click to view message preview
Re: Can someone here shed some light on this ctypes/sqlite3 failure?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
skip-e+AXbWqSrlAAvxtiuMwx3w@xxxxxxxxxxxxxxxx wrote:
> A number of us are having trouble with sqlite3 in Python in the presence of
> ctypes on Macs. The information as I know it is here:
>
> https://sourceforge.net/support/tracker.php?aid=1581906
>
> Can anyone on this list shed some light on the problem? Thomas Heller
> (ctypes author) has so far been unable to reproduce it in his environment,
> though several others of us with similar Mac OSX environments have.
>
> Any help appreciated...
I don't have a Mac, but after reading the messages, please try this:
In the file pysqlite2/test/dbapi.py (or equivalent in Python core version),
remove the ThreadSuite tests, quickly by removing thread_suite from
return unittest.TestSuite((module_suite, connection_suite,
cursor_suite, thread_suite, constructor_suite, ext_suite, closed_suite))
or the hack I always do, make the "Check" an "XCheck" in
thread_suite = unittest.makeSuite(ThreadTests, "Check")
and run the tests again.
- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGhi2DdIO4ozGCH14RAruIAJ4x6zPpnc8oJIYZ2c5mzUoAo7YGlQCfSLgy
rcgNtlATxl8p8CnYDyCClAg=
=gA8t
-----END PGP SIGNATURE-----
Previous Message by Thread:
click to view message preview
extended_setup.py MIA?
Hello,I've just downloaded pysqlite 2.3.4.SQLite 3.4.0 has just been released with important bug fixes. It also now publishes the amalgamated source and header as a separate zipped file, which I've obtained and copied into the pysqlite directory.
1. I'm interested in trying the amalgamated static build. Potential marginal speed improvements are hinted at on sqlite.org. Would you expect such improvements for pysqlite built statically?
2. Instructions are to issue 'python extended_setup.py build_static'. I don't find extended_setup.py in the pysqlite 2.3.4 source. Where is it?Thanks. PP
_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/pysqlite
Next Message by Thread:
click to view message preview
Re: Can someone here shed some light on this ctypes/sqlite3 failure?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
skip-e+AXbWqSrlAAvxtiuMwx3w@xxxxxxxxxxxxxxxx wrote:
> A number of us are having trouble with sqlite3 in Python in the presence of
> ctypes on Macs. The information as I know it is here:
>
> https://sourceforge.net/support/tracker.php?aid=1581906
>
> Can anyone on this list shed some light on the problem? Thomas Heller
> (ctypes author) has so far been unable to reproduce it in his environment,
> though several others of us with similar Mac OSX environments have.
>
> Any help appreciated...
I don't have a Mac, but after reading the messages, please try this:
In the file pysqlite2/test/dbapi.py (or equivalent in Python core version),
remove the ThreadSuite tests, quickly by removing thread_suite from
return unittest.TestSuite((module_suite, connection_suite,
cursor_suite, thread_suite, constructor_suite, ext_suite, closed_suite))
or the hack I always do, make the "Check" an "XCheck" in
thread_suite = unittest.makeSuite(ThreadTests, "Check")
and run the tests again.
- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGhi2DdIO4ozGCH14RAruIAJ4x6zPpnc8oJIYZ2c5mzUoAo7YGlQCfSLgy
rcgNtlATxl8p8CnYDyCClAg=
=gA8t
-----END PGP SIGNATURE-----
|
|