I am dealing with a Trac that someone else installed.  That person is
gone.  I know absolutely nothing about Trac or Python.

The system is CentOS 5  It was OK, as far as I know.  I did a yum
update, and now Trac doesn't work.

Working from http://trac.edgewall.org/wiki/PySqlite#Troubleshooting :

[joli...@mda-vm1a ~]$ sudo easy_install-2.4 pysqlite
Searching for pysqlite
Reading http://pypi.python.org/simple/pysqlite/
Reading http://pysqlite.googlecode.com/
Reading http://code.google.com/p/pysqlite/downloads/list
Best match: pysqlite 2.6.0
Downloading http://pysqlite.googlecode.com/files/pysqlite-2.6.0.tar.gz
Processing pysqlite-2.6.0.tar.gz
Running pysqlite-2.6.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-gf9MgJ/pysqlite-2.6.0/egg-dist-tmp-K7y3eI
zip_safe flag not set; analyzing archive contents...
Adding pysqlite 2.6.0 to easy-install.pth file

Installed
/usr/lib/python2.4/site-packages/pysqlite-2.6.0-py2.4-linux-i686.egg
Processing dependencies for pysqlite
Finished processing dependencies for pysqlite
[joli...@mda-vm1a ~]$ python
Python 2.4.3 (#1, Jun 11 2009, 14:09:58)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] 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
2
>>> test.sqlite.version
'2.6.0'
>>> from pysqlite2 import dbapi2 as sqlite
>>>



[joli...@mda-vm1a ~]$ rpm -qa | grep python
python-sqlite-1.1.7-1.2.1
notify-python-0.1.0-3.fc6
gnome-python2-2.16.0-1.fc6
gnome-python2-gnomevfs-2.16.0-1.fc6
gamin-python-0.1.7-8.el5
gnome-python2-bonobo-2.16.0-1.fc6
python-elementtree-1.2.6-7.el4.rf
python-2.4.3-27.el5
python-imaging-1.1.6-2.el5.rf
python-setuptools-0.6c7-1.el5.rf
gnome-python2-extras-2.14.2-6.el5
libxml2-python-2.6.26-2.1.2.8
python-clearsilver-0.10.4-2.el5.rf
python-devel-2.4.3-27.el5
audit-libs-python-1.7.17-3.el5
mod_python-3.2.8-3.1
python-iniparse-0.2.3-4.el5
dbus-python-0.70-9.el5_4
python-genshi-0.6-1.el5.rf
libselinux-python-1.33.4-5.5.el5
python-dmidecode-3.10.8-4.el5
python-numeric-23.7-2.2.2
gnome-python2-canvas-2.16.0-1.fc6
python-urlgrabber-3.1.0-5.el5
gnome-python2-gtkhtml2-2.14.2-6.el5
rpm-python-4.4.2.3-18.el5
[joli...@mda-vm1a ~]$ rpm -qa | grep sql
python-sqlite-1.1.7-1.2.1
postgresql-libs-8.1.21-1.el5_5.1
sqlite-devel-3.3.6-5
mysql-5.0.77-4.el5_5.3
sqlite-3.3.6-5


-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

-- 
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.

Reply via email to