Edgewall Software

Changes between Version 66 and Version 67 of TracModPython


Ignore:
Timestamp:
May 16, 2006, 9:15:08 PM (18 years ago)
Author:
anonymous
Comment:

added troubleshooting section for 'server error' page being displayed when 'trac' directory does not have appropriate permissions

Legend:

Unmodified
Added
Removed
Modified
  • TracModPython

    v66 v67  
    117117== Troubleshooting ==
    118118
     119=== 'Server Error' Page Displayed ===
     120
     121Assuming you are confident that mod_python is installed and working properly (An example of a simple test setup can be found here: [http://www.dscpl.com.au/articles/modpython-001.html]), if you get the following error in your browser:
     122
     123'''''The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.'''''
     124
     125And you get the following entries in your Apache error log:
     126
     127
     128{{{
     129...File "/usr/lib64/python2.3/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n    log=debug)
     130...PythonHandler trac.web.modpython_frontend:   File "/usr/lib64/python2.3/site-packages/mod_python/apache.py", line 454, in import_module\n    f, p, d = imp.find_module(parts[i], path)
     131
     132... PythonHandler trac.web.modpython_frontend: ImportError: No module named trac
     133}}}
     134
     135Make sure the 'trac' directory that was created during installation has the appropriate permissions in order for the user your web server runs under to 'see' the files contained in it. This directory will be in the 'site-packages' directory of your platform's installation. A 'chmod -R 755 ./trac' resolved the issue for me. Modify as necessary for your security preferences
     136
     137
     138
    119139=== Form submission problems ===
    120140