Opened 9 years ago

Closed 9 years ago

#11759 closed (invalid)


Reported by: dhileepraj123 Owned by: nobody
Component: Uncategorized Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I am getting the following error while accessing my reviewboard

Can u help me out, in find this error is from mod_python, or apache config or Django


ProcessId: 28980
Interpreter: ''

ServerName: ''
DocumentRoot: '/home/reviewboard/reviewboard'

URI: '/reviewboard/reviewboard'
Location: '/reviewboard/'
Directory: None
Filename: '/home/reviewboard/reviewboard/reviewboard'
PathInfo: '/reviewboard'

Phase: 'PythonHandler'
Handler: 'django.core.handlers.modpython'

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/mod_python/", line 1537, in HandlerDispatch

default=default_handler, arg=req, silent=hlist.silent)

File "/usr/lib/python2.6/site-packages/mod_python/", line 1202, in _process_target

module = import_module(module_name, path=path)

File "/usr/lib/python2.6/site-packages/mod_python/", line 304, in import_module

return import(module_name, {}, {}, *?)

ImportError: No module named django.core.handlers.modpython

My Python.conf file ::::::::::::
LoadModule python_module /usr/lib/apache2/
<LocationMatch /reviewboard/(.*)$>

PythonPath "['/home/reviewboard/reviewboard', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages/django']"

# PythonPath "'/home/reviewboard/reviewboard', '/home/reviewboard/reviewboard', '/usr/local/lib/python2.6/site-packages/' ,'/usr/local/lib/python2.6', '/usr/local/lib/python2.6/ /usr/lib/python2.6/site-packages/django

SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload On
PythonDebug On

Check list of Python:::::::
reviewboard@reviewboard:~/reviewboard> python
Python 2.6 (r26:66714, Dec 3 2008, 06:05:48)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import mod_python.apache

Traceback (most recent call last):

File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/mod_python/", line 30, in <module>

import _apache

ImportError: No module named _apache

import mod_python

Can anyone help me out on this


Change History (1)

comment:1 Changed 9 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

Trac is not a user help forum. If you need help debugging your install, please ask on django-users.

Note: See TracTickets for help on using tickets.
Back to Top