#9350 closed defect (invalid)
TracError: Cannot load Python bindings for SQLite
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12b1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
I am following the "http://trac.edgewall.org/wiki/TracInstall"
I reached the "Creating a Project Environment"
I follow the instructions there and get the subject error.
I am trying to install on CentOS 5.5 using: python 2.4 sqlite 1.1.7 sqlite3 3.3.6 Trac 12b1
I then try the trouble shooting suggestions, this is the response i get from python:
Python 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite >>> sqlite.version '1.1.7' >>> sqlite._sqlite.sqlite_version() '3.3.6' >>> import trac.db.sqlite_backend as test >>> test._ver Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute '_ver' >>> test.have_pysqlite 0 >>> test.sqlite.version Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'sqlite'
I was not able to find a ticket with this issue. So,any thoughts what I am doing wrong?
Attachments (0)
Change History (3)
comment:1 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Description: | modified (diff) |
---|
comment:3 by , 15 years ago
Thank you rblank.
I had to change get the sqlite-devel rpm and then do the easy_install of the pysqlite to the current version. Trac is now up and running, not it is time to configure it.
Replying to nuvodido@…:
You're not: