Code

Opened 5 years ago

Closed 5 years ago

#11759 closed (invalid)

MOD_PYTHON ERROR

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: UI/UX:

Description

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

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.