Min ZOU wrote:
Hi,
I am using trac package from Debian/testing. It was working fine until
a recent upgrade. Here is the error when loading the trac project
homepage:
...
Warning: You can only execute one statement at a time.
-------------------------------------------------------------------------
Here is the list of trac related pages:
subversion 1.3.0-4
trac 0.9.4-2
libapache2-mod-python 3.1.3-3
python 2.3.5-5
python-pysqlite2 2.2.0-1
python2.3-pysqlite2 2.0.5-1
python2.3-subversion 1.2.3dfsq1
I won't redirect you to the appropriate ticket, as our Trac is a bit
down today,
but it's becoming a FAQ: debian/testing mixes two incompatible packages,
the recent sqlite-3.3.3 (or even more recent) and the
python2.3-pysqlite2 2.0.5-1,
which can't work with it. You need to upgrade to either pysqlite 2.0.7,
or 2.1.x, or 2.2.x.
You seem to have two pysqlite versions, but I'm pretty sure it's the
second one
which gets used, based on the error you've got.
python-pysqlite2 2.2.0-1
python2.3-pysqlite2 2.0.5-1
Maybe the 2.2.0 package is for python 2.4?
Anyway, at the python command line, try to do:
>>> import pysqlite2.dbapi2 as sqlite
>>> sqlite.version
to check.
From what I see above, you also have the python bindings for Subversion
1.2.3
but have Subversion 1.3.0: this is not problematic until you create a
new repository;
I'm not sure the bindings for 1.2.3 will be able to work with a 1.3.0
repository
(but I may be wrong here, corrections welcomed).
-- Christian
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac