>From the TracInstall wiki page for 0.12:

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

It looks like your python-sqlite bindings are not new enough.

-----Original Message-----
From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On 
Behalf Of alexus
Sent: Tuesday, July 27, 2010 4:07 PM
To: trac-users@googlegroups.com
Subject: [Trac] Cannot load Python bindings for SQLite

i did following steps to install setuptools + trac

   85  wget 
http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c11-py2.4.egg#md5=bd639f9b0eac4c42497034dec2ec0c2b
   86  sh setuptools-0.6c11-py2.4.egg
   87  easy_install Trac

now i'm trying to create new env and i'm running into problem, can
someone help me?

[r...@pvrep01 dc]# trac-admin . initenv
Creating a new Trac environment at /var/www/html/trac/dc

Trac will first ask a few questions about your environment
in order to initialize and prepare the project database.

 Please enter the name of your project.
 This name will be used in page titles and descriptions.

Project Name [My Project]>

 Please specify the connection string for the database to use.
 By default, a local SQLite database is created in the environment
 directory. It is also possible to use an already existing
 PostgreSQL database (check the Trac documentation for the exact
 connection string syntax).

Database connection string [sqlite:db/trac.db]>

Creating and Initializing Project
Initenv for '/var/www/html/trac/dc' failed.
Failed to create environment.
Cannot load Python bindings for SQLite
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/admin/console.py", line 413,
in do_initenv
  File "build/bdist.linux-i686/egg/trac/env.py", line 221, in __init__
  File "build/bdist.linux-i686/egg/trac/env.py", line 409, in create
  File "build/bdist.linux-i686/egg/trac/db/api.py", line 145, in init_db
  File "build/bdist.linux-i686/egg/trac/db/api.py", line 195, in get_connector
TracError: Cannot load Python bindings for SQLite
Initenv for '/var/www/html/trac/dc' failed.
1
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/admin/console.py", line 418,
in do_initenv
SystemExit: 1
[r...@pvrep01 dc]#

[r...@pvrep01 dc]# rpm -q sqlite
sqlite-3.3.6-5
[r...@pvrep01 dc]# rpm -q python-sqlite
python-sqlite-1.1.7-1.2.1
[r...@pvrep01 dc]#


any ideas?
thanks!
-- 
http://alexus.org/

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to