Noah Kantrowitz wrote:

Nils Breunese wrote:
Emmanuel Blot wrote:

trac.db.sqlite_backend.sqlite.version
'1.1.7'
 Any ideas?

From http://trac.edgewall.org/wiki/TracInstall#ForSQLite
To use SQLite 3 DB, you need PySQLite 2.x

Either stick with a SQLite 2 DB format and PySQLite 1.x (I don't think
it's recommended), or upgrade you PySQLite library.

I just got what yum installed from the CentOS 4 repositories. CentOS 4
has sqlite-3.3.3 and python-sqlite-1.1.7 in their repository (see
<http://mirror.centos.org/centos-4/4.4/os/i386/CentOS/RPMS/>) and my
system is completely updated. So, you're saying CentOS (and thus Red
Hat) are shipping a combination of sqlite and python-sqlite that cannot
work together?

Look for packages under "sqlite3" and "python-sqlite2".

Check the link I posted, there are no packages by those names in the CentOS repository. Just sqlite (version 3.3.3) and python-sqlite (version 1.1.7).

The python-sqlite-1.1.7 package even requires libsqlite3.so.0:

    # rpm -q --requires python-sqlite
    libc.so.6
    libc.so.6(GLIBC_2.0)
    libc.so.6(GLIBC_2.1.3)
    libc.so.6(GLIBC_2.3)
    libpthread.so.0
    libsqlite3.so.0
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1

And the sqlite-3.3.3 package provides it:

    # rpm -q --provides sqlite
    libsqlite3.so.0
    sqlite = 3.3.3-1.2

Is someone on this list running Trac on CentOS 4 using mod_python and the standard CentOS sqlite and python-sqlite packages? Are python- sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though Red Hat and CentOS are shipping these versions together?

Nils Breunese.

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

Reply via email to