Package: trac
Version: 0.9.4-2
Followup-For: Bug #337283
More news from what I've found.
The upgrade was from libsqlite3-0 3.2.8-1 -> 3.3.5-0.1 then trac stopped to
work.
Apparently trac.db is in 3.x format. I'm able to dump and query it using
sqlite3.
sqlite (old version) can't read it, says it's encrypted and so.
I've installed python-pysqlite2 2.2 from unstable but the error is the same
(I'm copying it below)
I'm still unable to proprely run trac.
I'm still not sure if reopen this or file another bug.
trac Error:
-----------
Oops...
Trac detected an internal error:
You can only execute one statement at a time.
Traceback (most recent call last):
File "/usr/lib/cgi-bin/trac.cgi", line 20, in ?
cgi_frontend.run()
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 123,
in run
env = get_environment(req, os.environ, threaded=False)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 335, in
get_environment
return _open_environment(env_path, threaded)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 44, in
_open_environment
return open_environment(env_path)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 375, in
open_environment
if env.needs_upgrade():
File "/usr/lib/python2.3/site-packages/trac/env.py", line 281, in
needs_upgrade
if participant.environment_needs_upgrade(db):
File "/usr/lib/python2.3/site-packages/trac/env.py", line 334, in
environment_needs_upgrade
dbver = self.env.get_version(db)
File "/usr/lib/python2.3/site-packages/trac/env.py", line 204, in get_version
cursor.execute("SELECT value FROM system WHERE name='database_version'")
File "/usr/lib/python2.3/site-packages/trac/db.py", line 219, in execute
args or [])
File "/usr/lib/python2.3/site-packages/trac/db.py", line 211, in
_rollback_on_error
return function(self, *args, **kwargs)
Warning: You can only execute one statement at a time.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=es_PE.UTF-8, LC_CTYPE=es_PE.UTF-8 (charmap=UTF-8)
Versions of packages trac depends on:
ii python 2.3.5-5 An interactive high-level object-o
ii python-clearsilver 0.9.13-3.2 python bindings for clearsilver
ii python-pysqlite2 2.0.5-1 python interface to SQLite 3
ii python2.3-subversion 1.2.3dfsg1-3 python modules for interfacing wit
ii subversion 1.2.3dfsg1-3 advanced version control system (a
Versions of packages trac recommends:
ii apache2-mpm-prefork [httpd] 2.0.55-4 traditional model for Apache2
pn python2.3-setuptools <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]