Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 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:
Cc: Branch:
Release Notes:
API Changes:
Internal 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
'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)

in reply to:  description comment:1 by Christian Boos, 15 years ago

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 by Remy Blank, 15 years ago

Description: modified (diff)

comment:3 by nuvodido@…, 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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
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.