HELP REQUIRED ON THIS ERROR :
accessing a trac project through Apache/2.2.11 (Ubuntu) DAV/2 SVN/
1.5.4 mod_python/3.3.1 Python/2.6.2 PHP/5.2.6-3ubuntu4.2 with Suhosin-
Patch mod_ssl/2.2.11 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/trac/web/api.py", line 339,
in send_error
'text/html')
[...]
File "/usr/lib/python2.6/dist-packages/trac/db/api.py", line 97, in
_get_connector
raise TracError('Unsupported database type "%s"' % scheme)
TracError: Unsupported database type "sqlite"
-----
easy_install trac
Searching for trac
Best match: Trac 0.11.5
Processing Trac-0.11.5-py2.6.egg
Trac 0.11.5 is already the active version in easy-install.pth
Installing trac-admin script to /usr/local/bin
Installing tracd script to /usr/local/bin
Using /usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg
Processing dependencies for trac
Finished processing dependencies for trac
trac-admin - The Trac Administration Console 0.11.5
trac-admin /etc/apache2/trac upgrade
Database is up to date, no upgrade necessary.
>>> import trac.db.sqlite_backend as tets
>>> tets._ver
(3, 6, 10)
>>> tets.have_pysqlite
2
>>> tets.sqlite.version
'2.5.0'
>>> import sqlite3
>>> sqlite3.version
'2.4.1'
$:sqlite db/trac.db
Unable to open database "db/trac.db": file is encrypted or is not a
database
$:/etc/apache2/trac# sqlite3 db/trac.db
SQLite version 3.6.10
sqlite> PRAGMA integrity_check;
ok
sqlite>
----
It looks to me as if trac, through apache, was looking for sqlite
module to manage the database, whereas it should use sqlite3, isn't
it ?
On Nov 12, 9:13 am, Jens Peter Secher <[email protected]> wrote:
> 2009/10/11 W. Martin Borgert <[email protected]>:
>
> > this is just a note to Trac users who run it on Debian or
> > derived distributions such as Ubuntu.
>
> [...]
>
> I have put some additional *experimental* Debian packages
> inhttp://people.debian.org/~jps/squeeze/:
>
> trac-burndown
> trac-timingandestimation
>
> Cheers,
> --
> Jens Peter Secher.
> _DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_.
> A. Because it breaks the logical sequence of discussion.
> Q. Why is top posting bad?
--
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].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=.