﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11759	MOD_PYTHON ERROR	dhileepraj123	nobody	"I am getting the following error while accessing my reviewboard http://10.125.133.12/reviewboard/reviewboard

Can u help me out, in find this error  is from mod_python, or apache config or Django


MOD_PYTHON ERROR

ProcessId:      28980
Interpreter:    '10.125.133.12'

ServerName:     '10.125.133.12'
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/importer.py"", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File ""/usr/lib/python2.6/site-packages/mod_python/importer.py"", line 1202, in _process_target
    module = import_module(module_name, path=path)

  File ""/usr/lib/python2.6/site-packages/mod_python/importer.py"", 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/mod_python.so
<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/apache.py"", line 30, in <module>
    import _apache
ImportError: No module named _apache
>>> import mod_python
>>>


Can anyone help me out on this 

thanks 
Dhileep"		closed	Uncategorized	1.1		invalid			Unreviewed	0	0	0	0	0	0
