Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-10-2007, 05:31 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 2

Rep: Reputation: 0
Need help in setting up mod_python in apache


I am trying to setup Apache with Trac which uses mod_python. I get the
following error:

assert have_pysqlite > 0

And I have verify this via command line as well, that seem no
# python
Python 2.3.4 (#1, Feb 2 2005, 11:44:49)
[GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import trac.db.sqlite_backend
>>> trac.db.sqlite_backend._ver
(3, 3, 13)
>>> trac.db.sqlite_backend.have_pysqlite
>>> trac.db.sqlite_backend.sqlite.version


But when i access the Trac via Apache (with mod_python), i get the
following error:

File "/usr/lib/python2.3/site-packages/trac/db/", line 101, in
cnx = self._connector.get_connection(**self._kwargs)

File "/usr/lib/python2.3/site-packages/trac/db/",
line 113, in get_connection
return SQLiteConnection(path, params)

File "/usr/lib/python2.3/site-packages/trac/db/",
line 140, in __init__
assert have_pysqlite > 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New mod jeremy Linux - Security 12 09-22-2006 08:43 AM
Please Welcome New mod jeremy Linux - General 29 02-01-2004 02:39 PM
Welcome New Mod jeremy LQ Suggestions & Feedback 31 07-14-2003 08:05 PM
New mod jeremy Linux - Networking 1 11-12-2002 03:29 PM
Setting up Fortune-mod jester_69 Linux - General 2 07-01-2002 02:11 AM

All times are GMT -5. The time now is 11:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration