I faced the exact same issue on Centos, has to install python-sqlite with pip. The version in Centos was creating an error with some python apps.
On Mon, May 23, 2011 at 11:55 AM, Volker <[email protected]>wrote: > Hi all, > > > Here's the problem: > [root@idevsvn tmp]# trac-admin /opt/trac/ initenv > Creating a new Trac environment at /opt/trac > > 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]> Insel Development > > 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 '/opt/trac' failed. > Failed to create environment. > Cannot load Python bindings for SQLite > Traceback (most recent call last): > File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 422, > in do_initenv > File "build/bdist.linux-x86_64/egg/trac/env.py", line 213, in > __init__ > File "build/bdist.linux-x86_64/egg/trac/env.py", line 401, in create > File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 145, in > init_db > File "build/bdist.linux-x86_64/egg/trac/db/api.py", line 195, in > get_connector > TracError: Cannot load Python bindings for SQLite > Initenv for '/opt/trac' failed. > 1 > Traceback (most recent call last): > File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 427, > in do_initenv > SystemExit: 1 > [root@idevsvn tmp]# ls /opt/trac/ > conf htdocs log plugins README VERSION > > I searched already and found two reports similiar to mine: > (1) > http://groups.google.com/group/trac-users/browse_thread/thread/7d545334263849b > (2) > http://groups.google.com/group/trac-users/browse_thread/thread/4d85c65346b7172e > > yet: > I can't find exact info which rpm I should install in (1) > No one answered (2). > > Questions: > - I can't find a newer python-sqlite than 1.1.7 for RHEL5. If it > exists, where? > - pysqlite was mentioned too yet I can't find that either. Needed? > Where? > > Many thanx in avance, > Volker > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
