Hi there,
Just trying to get reviewboard configured on Centos 5 with MySQL, and
I am getting the following error:

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

Traceback (most recent call last):

  File "/usr/lib/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 226, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py", line 189, in __call__

  File "/usr/lib/python2.4/site-packages/django/core/handlers/
base.py", line 40, in load_middleware
    raise exceptions.ImproperlyConfigured, 'Error importing middleware
%s: "%s"' % (mw_module, e)

ImproperlyConfigured: Error importing middleware
djblets.log.middleware: "No module named djblets.log.middleware"

The virtual host is set up as follows:

<VirtualHost *:80>
        ServerName {domain}
        DocumentRoot /var/www/rb/reviewboard/htdocs

        # Error handlers
        ErrorDocument 500 /errordocs/500.html

        # Serve django pages
        <LocationMatch ^/(.*)$>
                PythonPath "['/usr/lib/python2.4/site-packages/
django','/var/www/rb','/var/www/rb/reviewboard/djblets'] + sys.path"
                SetEnv PYTHON_EGG_CACHE /var/www/rb
                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
                SetHandler mod_python
                PythonHandler django.core.handlers.modpython
                PythonAutoReload Off
                PythonDebug On
                # If you run multiple mod_python sites in the same
                # instonce, uncomment this line:
                # PythonInterpreter reviewboard

        # Serve static media without running it through mod_python
        # (overrides the above)
        <Location "/media">
                SetHandler None

        <Location "/errordocs">
                SetHandler None

        # Alias static media requests to filesystem
        Alias /media /var/www/rb/reviewboard/htdocs/media
        Alias /errordocs /var/www/rb/reviewboard/htdocs/errordocs

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 

Reply via email to