|
pysqlite 2.0.5 - python 2.4: msg#00043python.db.pysqlite.user
I might be totally stupid but it seems to me that pysqlite 2.0.5 doesn't work with python 2.4: Python 2.4 (#1, Nov 30 2004, 11:25:14) [GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from pysqlite2 import dbapi2 as sqlite >>> con = sqlite.connect( ":memory:" ) >>> cur = con.cursor( ) >>> cur.execute( "create table t ( x int )" ) Traceback (most recent call last): File "<stdin>", line 1, in ? pysqlite2.dbapi2.Warning: You can only execute one statement at a time. Sorry if the docs mention this but I couldn't find it anywhere and I hope I don't miss something totally obvious :) In the previous post http://lists.initd.org/pipermail/pysqlite/2006-May/000556.html I described how versions beyond 2.0.6 segfault apache, now it seems 2.0.5 doesn't work with python 2.4 so I can't use python 2.4 with apache at all. Any suggestion for a workaround? (Apart from using python 2.3 which would be pretty sad as I would like to use decorators..) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | apache segfaults with pysqlite (again): 00043, Daniel Nogradi |
|---|---|
| Next by Date: | Re: pysqlite 2.0.5 - python 2.4: 00043, Gerhard Häring |
| Previous by Thread: | apache segfaults with pysqlite (again)i: 00043, Daniel Nogradi |
| Next by Thread: | Re: pysqlite 2.0.5 - python 2.4: 00043, Gerhard Häring |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |