I am trying to get my Mezzanine install working on PA. But I get the unhandled exception.
I have moved a working install from my Ubuntu machine to PA and modified the WSGI file to match PA.
I am using the virtualenv guidance, and has ensured right versions of all modules.
I have also been able to run python manage.py runserver
in the project directory.
The error log says:
2014-02-26 08:14:10,933 :Traceback (most recent call last):
2014-02-26 08:14:10,934 : File "/bin/user_wsgi_wrapper.py", line 67, in __call__
2014-02-26 08:14:10,934 : self.error_log_file.logger.exception("Error running WSGI application")
2014-02-26 08:14:10,934 : File "/usr/lib/python2.7/logging/__init__.py", line 1183, in exception
2014-02-26 08:14:10,935 : self.error(msg, *args, **kwargs)
2014-02-26 08:14:10,935 : File "/usr/lib/python2.7/logging/__init__.py", line 1176, in error
2014-02-26 08:14:10,935 : self._log(ERROR, msg, args, **kwargs)
2014-02-26 08:14:10,935 : File "/usr/lib/python2.7/logging/__init__.py", line 1268, in _log
2014-02-26 08:14:10,936 : record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
2014-02-26 08:14:10,936 : File "/usr/lib/python2.7/logging/__init__.py", line 1242, in makeRecord
2014-02-26 08:14:10,936 : rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
2014-02-26 08:14:10,936 : File "/usr/lib/python2.7/logging/__init__.py", line 284, in __init__
2014-02-26 08:14:10,936 : self.threadName = threading.current_thread().name
2014-02-26 08:14:10,936 : File "/usr/lib/python2.7/threading.py", line 1158, in currentThread
2014-02-26 08:14:10,937 : return _active[_get_ident()]
2014-02-26 08:14:10,937 : File "/bin/user_wsgi_wrapper.py", line 59, in __call__
2014-02-26 08:14:10,937 : app_iterator = self.app(environ, start_response)
2014-02-26 08:14:10,937 : File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 250, in __call__
2014-02-26 08:14:10,937 : self.load_middleware()
2014-02-26 08:14:10,937 : File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 51, in load_middleware
2014-02-26 08:14:10,938 : raise exceptions.ImproperlyConfigured('Middleware module "%s" does not define a "%s" class' % (mw_module, mw_classname))
2014-02-26 08:14:10,938 :django.core.exceptions.ImproperlyConfigured: Middleware module "mezzanine.core.middleware" does not define a "RedirectFallbackMiddleware" class
[edited by admin: formatting]