Edgewall Software

Changes between Initial Version and Version 2 of Ticket #4325


Ignore:
Timestamp:
Dec 4, 2006, 10:50:56 AM (17 years ago)
Author:
Christian Boos
Comment:

Probably yes. In any case, this is an installation issue, so:

  • you should first ask on the MaillingList or on the IrcChannel
  • you're always welcome to improve the TracInstallPlatforms/ … page corresponding to your system, in particular to mention there any common pitfall (as this LD_LIBRARY_PATH issue seems to be).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4325

    • Property Status newclosed
    • Property Resolutioninvalid
  • Ticket #4325 – Description

    initial v2  
    11On Mac OS X 10.4.8 (MacBook) I installed the following packages from source:
    22
    3 swig 1.3.29 + neon 0.25.5 + subversion 1.4.2
    4 apache 2.2.3
    5 trac-0.10.2
    6 mod-python-3.2.10
    7 clearsilver-0.9.14
    8 pysqlite-2.3.2
    9 sqlite-3.3.8
     3 - swig 1.3.29 + neon 0.25.5 + subversion 1.4.2
     4 - apache 2.2.3
     5 - trac-0.10.2
     6 - mod-python-3.2.10
     7 - clearsilver-0.9.14
     8 - pysqlite-2.3.2
     9 - sqlite-3.3.8
    1010
    1111I am using the python that came installed with the system, python 2.3.5.
    1212
    1313Tested mod-python and works fine. I installed and configured trac as indicated in the TracGuide. Created a first trac project and tested it with tracd on port 8000, and works wonderfully. Then stopped apache and reconfigured it for handling my trac locations. When I restart apache and test on the same trac project location as before I get the following errors (from apache log error file):
    14 
     14{{{
    1515Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):
    16 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n    result = object(req)
    17 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 87, in handler\n    gateway.run(dispatch_request)
    18 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/web/wsgi.py", line 87, in run\n    response = application(self.environ, self._start_response)
    19 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/web/main.py", line 377, in dispatch_request\n    env = _open_environment(env_path, run_once=environ['wsgi.run_once'])
    20 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/web/main.py", line 58, in _open_environment\n    env_cache[env_path] = open_environment(env_path)
    21 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/env.py", line 435, in open_environment\n    if env.needs_upgrade():
    22 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/env.py", line 313, in needs_upgrade\n    db = self.get_db_cnx()
    23 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/env.py", line 182, in get_db_cnx\n    return DatabaseManager(self).get_connection()
    24 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/db/api.py", line 75, in get_connection\n    return self._cnx_pool.get_cnx(self.timeout or None)
    25 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/db/pool.py", line 101, in get_cnx\n    cnx = self._connector.get_connection(**self._kwargs)
    26 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 113, in get_connection\n    return SQLiteConnection(path, params)
    27 [Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend:   File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 140, in __init__\n    assert have_pysqlite > 0
     16...
    2817[Sun Dec 03 20:55:05 2006] [error] [client 127.0.0.1] PythonHandler trac.web.modpython_frontend: AssertionError
    29 
    30 
     18}}}