I'm having a problem running review board on Apache with python 2.4
and Django 1.0 RC 1.

The error is...

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py", line 222, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py", line 195, in __call__
    response = self.get_response(request)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/
base.py", line 67, in get_response
    response = middleware_method(request)

  File "/usr/lib/python2.4/site-packages/django/middleware/common.py",
line 57, in process_request
    urlresolvers.resolve(request.path_info)

  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 244, in resolve
    return get_resolver(urlconf).resolve(path)

  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 180, in resolve
    sub_match = pattern.resolve(new_path)

  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 178, in resolve
    for pattern in self.urlconf_module.urlpatterns:

  File "/usr/lib/python2.4/site-packages/django/core/urlresolvers.py",
line 197, in _get_urlconf_module
    self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])

ImportError: No module named reviewboard.urls


Here's my httpd.conf:

<Location "/reviewboard">
    PythonPath "['/django'] + ['/reviewboard'] + ['/reviewboard/
djblets'] + sys.path"
    SetHandler mod_python
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE settings
    SetEnv PYTHON_EGG_CACHE /tmp/python_egg
    PythonDebug On
    PythonAutoReload On
</Location>

Can someone point me in the right direction?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to