<class 'django.core.exceptions.ImproperlyConfigured'> | Python 2.5: /home/lob/site_python/bin/python Mon Apr 23 08:42:57 2018 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/.informant/lob/snow-wolf.net/fcgi.py in run(self=<fcgi.Request object at 0x280df90>) |
580 """Runs the handler, flushes the streams, and ends the request.""" |
581 try: |
582 protocolStatus, appStatus = self.server.handler(self) |
583 except: |
584 traceback.print_exc(file=self.stderr) |
protocolStatus undefined, appStatus undefined, self = <fcgi.Request object at 0x280df90>, self.server = <fcgi.WSGIServer object at 0x280de90>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object at 0x280de90>> |
/home/.informant/lob/snow-wolf.net/fcgi.py in handler(self=<fcgi.WSGIServer object at 0x280de90>, req=<fcgi.Request object at 0x280df90>) |
1257 self._app_lock.acquire() |
1258 try: |
1259 result = self.application(environ, start_response) |
1260 try: |
1261 for data in result: |
result = None, self = <fcgi.WSGIServer object at 0x280de90>, self.application = <django.core.handlers.wsgi.WSGIHandler object at 0x280dad0>, environ = {'DH_USER': 'lob', 'DOCUMENT_ROOT': '/home/lob/snow-wolf.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.snow-wolf.net', 'HTTP_IF_MODIFIED_SINCE': 'Sun, 18 Feb 2018 02:44:53 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}, start_response = <function start_response at 0x3128bab7398> |
/home/lob/django_svn/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object at 0x280dad0>, environ={'DH_USER': 'lob', 'DOCUMENT_ROOT': '/home/lob/snow-wolf.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_ENCODING': 'x-gzip, gzip, deflate', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.snow-wolf.net', 'HTTP_IF_MODIFIED_SINCE': 'Sun, 18 Feb 2018 02:44:53 GMT', 'HTTP_USER_AGENT': 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'PATH': '/bin:/usr/bin:/sbin:/usr/sbin', ...}, start_response=<function start_response at 0x3128bab7398>) |
239 response = http.HttpResponseBadRequest() |
240 else: |
241 response = self.get_response(request) |
242 |
243 # Apply response middleware |
response undefined, self = <django.core.handlers.wsgi.WSGIHandler object at 0x280dad0>, self.get_response = <bound method WSGIHandler.get_response of <djang...e.handlers.wsgi.WSGIHandler object at 0x280dad0>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
/home/lob/django_svn/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object at 0x280dad0>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
71 # Apply request middleware |
72 for middleware_method in self._request_middleware: |
73 response = middleware_method(request) |
74 if response: |
75 return response |
response = None, middleware_method = <bound method SessionMiddleware.process_request ...eware.SessionMiddleware object at 0x31284058910>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
/home/lob/django_svn/django/contrib/sessions/middleware.py in process_request(self=<django.contrib.sessions.middleware.SessionMiddleware object at 0x31284058910>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
8 class SessionMiddleware(object): |
9 def process_request(self, request): |
10 engine = import_module(settings.SESSION_ENGINE) |
11 session_key = request.COOKIES.get(settings.SESSION_COOKIE_NAME, None) |
12 request.session = engine.SessionStore(session_key) |
engine undefined, global import_module = <function import_module at 0x31289c33230>, global settings = <django.conf.LazySettings object at 0x31289c31bd0>, settings.SESSION_ENGINE = 'django.contrib.sessions.backends.db' |
/home/lob/django_svn/django/utils/importlib.py in import_module(name='django.contrib.sessions.backends.db', package=None) |
32 break |
33 level += 1 |
34 name = _resolve_name(name[level:], package, level) |
35 __import__(name) |
36 return sys.modules[name] |
builtin __import__ = <built-in function __import__>, name = 'django.contrib.sessions.backends.db' |
/home/lob/django_svn/django/contrib/sessions/backends/db.py in |
2 from django.contrib.sessions.models import Session |
3 from django.contrib.sessions.backends.base import SessionBase, CreateError |
4 from django.core.exceptions import SuspiciousOperation |
5 from django.db import IntegrityError, transaction |
6 from django.utils.encoding import force_unicode |
django undefined, Session undefined |
/home/lob/django_svn/django/contrib/sessions/models.py in |
2 import cPickle as pickle |
3 |
4 from django.db import models |
5 from django.utils.translation import ugettext_lazy as _ |
6 from django.conf import settings |
django undefined, models undefined |
/home/lob/django_svn/django/db/__init__.py in |
39 raise # If there's some other error, this must be an error in Django itself. |
40 |
41 backend = load_backend(settings.DATABASE_ENGINE) |
42 |
43 # `connection`, `DatabaseError` and `IntegrityError` are convenient aliases |
backend undefined, load_backend = None, settings = None, settings.DATABASE_ENGINE undefined |
/home/lob/django_svn/django/db/__init__.py in load_backend(backend_name='mysql') |
15 # Most of the time, the database backend will be one of the official |
16 # backends that ships with Django, so look there first. |
17 return import_module('.base', 'django.db.backends.%s' % backend_name) |
18 except ImportError, e: |
19 # If the import failed, we might be looking for a database backend |
global import_module = None, backend_name = 'mysql' |
/home/lob/django_svn/django/utils/importlib.py in import_module(name='django.db.backends.mysql.base', package='django.db.backends.mysql') |
32 break |
33 level += 1 |
34 name = _resolve_name(name[level:], package, level) |
35 __import__(name) |
36 return sys.modules[name] |
builtin __import__ = <built-in function __import__>, name = 'django.db.backends.mysql.base' |
/home/.informant/lob/all_django_projects/djumblelog/django/db/backends/mysql/base.py in |
<class 'django.core.exceptions.ImproperlyConfigured'>: Error loading MySQLdb module: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory