I'm trying to build Trac 0.9.4 from source on Mac OS X 10.4.5 Server,
using an otherwise unused copy of Apache 2.0.55, newly installed Python
2.4.2, mod_python 3.2.8, and pysqlite 2.1.3. Connecting to apache
generates server errors that terminate like this:

===
[Mon Apr 03 09:45:28 2006] [error] [client fe80::211:24ff:fe30:1110]
PythonHandler trac.web.modpython_frontend:   File
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
site-packages/trac/db.py", line 256, in __init__\n    assert
have_pysqlite > 0

[Mon Apr 03 09:45:28 2006] [error] [client fe80::211:24ff:fe30:1110]
PythonHandler trac.web.modpython_frontend: AssertionError
===

So, it looks like Trac can't find pysqlite, which is odd. I have
pysqlite-2.1.3-py2.4-macosx-10.4-ppc.egg installed at
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-
packages, and the tests pass:

===
$ /usr/local/bin/python
Python 2.4.2 (#1, Mar 30 2006, 17:10:27) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite2 import test
>>> test.test()
.........................................................................
.........................................................................
....
----------------------------------------------------------------------
Ran 153 tests in 0.272s

OK
===

Any suggestions for traacing this further would be appreciated.

  -nat
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to