[Pkg-trac-devel] Bug#454422: trac: stop working since python-pysqlite2 upgrade (2.3.5-1 -> 2.4.0-1)

Cyril Humbert cyril.humbert at martec.fr
Wed Dec 5 10:02:23 UTC 2007


Package: trac
Version: 0.10.4-2
Severity: important

Hello,

[Note: I'm not sure if this bug is for 'trac' or for 'python-pysqlite2'].

I use Trac with the SQLite backend. Since the upgrade from
python-pysqlite2 (2.3.5-1) to python-pysqlite2 (2.4.0-1), Trac stops
working. Most commands fail:

% sudo trac-admin /var/www/trac/myproject wiki list
Command failed: database parameter must be string or APSW Connection
object

% sudo trac-admin /var/www/trac/myproject resync
Resyncing repository history... 
Command failed: database parameter must be string or APSW Connection
object

The error message suggests a problem with the database interface which
is solved by downgrading python-pysqlite2 to the previous version (2.3.5-1).

# See http://snapshot.debian.net/python-pysqlite2
% sudo dpkg -i python-pysqlite2_2.3.5-1_amd64.deb 

% sudo trac-admin /var/www/trac/myproject wiki list

Title                             Edits  Modified           
------------------------------------------------------------
../..

% sudo trac-admin /var/www/trac/myproject resync   
Resyncing repository history... 
190 revisions cached. Done.


Best regards,

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages trac depends on:
ii  python                      2.4.4-6      An interactive high-level object-o
ii  python-clearsilver          0.10.4-1     python bindings for clearsilver
ii  python-pysqlite2            2.4.0-1      python interface to SQLite 3
ii  python-subversion           1.4.4dfsg1-1 Python bindings for Subversion
ii  python-support              0.7.5        automated rebuilding support for p
ii  subversion                  1.4.4dfsg1-1 Advanced version control system

Versions of packages trac recommends:
ii  apache2                       2.2.6-2    Next generation, scalable, extenda
ii  apache2-mpm-worker [httpd]    2.2.6-2    High speed threaded model for Apac
ii  python-setuptools             0.6c7-1    Python Distutils Enhancements

-- no debconf information





More information about the Pkg-trac-devel mailing list