Edgewall Software

Changes between Initial Version and Version 1 of Ticket #7446


Ignore:
Timestamp:
Jul 18, 2008, 12:45:39 PM (16 years ago)
Author:
Christian Boos
Comment:

Well, you never know if that pastebin link will last for the few years to come… better include the actual error inline.

Chances are that your mod_python is still seeing some parts of an older (0.9 or 0.10) Trac installation.

Check your PYTHONPATH and check the following locations:

  • /usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/util/compat.py (should be there)
  • /usr/lib/python2.4/site-packages/trac (should not be there)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7446

    • Property Milestone 2.0
  • Ticket #7446 – Description

    initial v1  
    33I was installing Trac and got this error returned:
    44
    5 http://pastebin.com/f2decb800
     5{{{
     6[Fri Jul 18 11:39:14 2008] [error] [client 192.168.2.3] PythonHandler trac.web.modpython_frontend: Traceback (most recent call last):
     7[Fri Jul 18 11:39:14 2008] [error] [client 192.168.2.3] PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch\n    result = object(req)
     8[Fri Jul 18 11:39:14 2008] [error] [client 192.168.2.3] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/modpython_frontend.py", line 127, in handler\n    from trac.web.main import dispatch_request
     9[Fri Jul 18 11:39:14 2008] [error] [client 192.168.2.3] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 47, in ?\n    from trac.web.chrome import Chrome
     10[Fri Jul 18 11:39:14 2008] [error] [client 192.168.2.3] PythonHandler trac.web.modpython_frontend:   File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/chrome.py", line 40, in ?\n    from trac.util import compat, get_reporter_id, presentation, get_pkginfo, \\
     11[Fri Jul 18 11:39:14 2008] [error] [client 192.168.2.3] PythonHandler trac.web.modpython_frontend: ImportError: cannot import name compat
     12}}}
    613
    714This is my code in trac.conf