Edgewall Software

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9350 closed defect (invalid)

TracError: Cannot load Python bindings for SQLite

Reported by: nuvodido@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.12b1
Severity: normal Keywords:
Release Notes:
API Changes:

Description (last modified by Remy Blank)

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
>>> sqlite._sqlite.sqlite_version()
>>> 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
>>> 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 in reply to:  description Changed 8 years ago by Christian Boos

Resolution: invalid
Status: newclosed

Replying to nuvodido@…:

I am following the "http://trac.edgewall.org/wiki/TracInstall"

You're not:

For SQLite 3.x, the pysqlite 1.1.x bindings are also no longer supported, use pysqlite 2.x.

sqlite 1.1.7

comment:2 Changed 8 years ago by Remy Blank

Description: modified (diff)

comment:3 Changed 8 years ago by nuvodido@…

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.