| ImproperlyConfigured | Python 2.4.3: /usr/local/python-2.4.3.zela/bin/python Fri Sep 10 23:36:47 2010 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>) |
| 556 """Runs the handler, flushes the streams, and ends the request.""" |
| 557 try: |
| 558 protocolStatus, appStatus = self.server.handler(self) |
| 559 except: |
| 560 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi_fork.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi_fork.WSGIServer object>> |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi_fork.WSGIServer object>, req=<flup.server.fcgi_base.Request object>) |
| 1110 try: |
| 1111 try: |
| 1112 result = self.application(environ, start_response) |
| 1113 try: |
| 1114 for data in result: |
| result = None, self = <flup.server.fcgi_fork.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'DOCUMENT_ROOT': '/www/vd', 'GATEWAY_INTERFACE': 'CGI/1.1', 'GENUM_DJANGO_COMMON_PACKAGES': '/home/genum/hp/common-packages', 'GENUM_DJANGO_EMAIL_FROM': 'info@genum.ru', 'GENUM_DJANGO_EMAIL_HOST': '127.0.0.1', 'GENUM_DJANGO_FILESYSTEM_CHARSET': 'utf-8', 'GENUM_DJANGO_MEDIA_ROOTS': '/home/genum/hp/var', 'GENUM_DJANGO_TIME_ZONE': 'Asia/Yekaterinburg', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', ...}, start_response = <function start_response> |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'DOCUMENT_ROOT': '/www/vd', 'GATEWAY_INTERFACE': 'CGI/1.1', 'GENUM_DJANGO_COMMON_PACKAGES': '/home/genum/hp/common-packages', 'GENUM_DJANGO_EMAIL_FROM': 'info@genum.ru', 'GENUM_DJANGO_EMAIL_HOST': '127.0.0.1', 'GENUM_DJANGO_FILESYSTEM_CHARSET': 'utf-8', 'GENUM_DJANGO_MEDIA_ROOTS': '/home/genum/hp/var', 'GENUM_DJANGO_TIME_ZONE': 'Asia/Yekaterinburg', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', ...}, start_response=<function start_response>) |
| 146 try: |
| 147 request = WSGIRequest(environ) |
| 148 response = self.get_response(request.path, request) |
| 149 |
| 150 # Apply response middleware |
| response undefined, self = <django.core.handlers.wsgi.WSGIHandler object>, self.get_response = <bound method WSGIHandler.get_response of <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, request.path = '/user/profile/54879/' |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object>, path='/user/profile/54879/', request=<WSGIRequest GET:<MultiValueDict: {}>, POST:<Mul...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
| 105 # Get the exception info now, in case another exception is thrown later. |
| 106 exc_info = sys.exc_info() |
| 107 receivers = dispatcher.send(signal=signals.got_request_exception) |
| 108 # When DEBUG is False, send an error message to the admins. |
| 109 subject = 'Error (%s IP): %s' % ((request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'), getattr(request, 'path', '')) |
| receivers undefined, global dispatcher = <module 'django.dispatch.dispatcher' from '/usr/...2.4/site-packages/django/dispatch/dispatcher.py'>, dispatcher.send = <function send>, signal undefined, global signals = <module 'django.core.signals' from '/usr/local/p.../python2.4/site-packages/django/core/signals.py'>, signals.got_request_exception = <object object> |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/dispatch/dispatcher.py in send(signal=<object object>, sender=_Anonymous, *arguments=(), **named={}) |
| 345 receiver, |
| 346 signal=signal, |
| 347 sender=sender, |
| 348 *arguments, |
| 349 **named |
| sender = _Anonymous |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/dispatch/robustapply.py in robustApply(receiver=<function _rollback_on_exception>, *arguments=(), **named={}) |
| 43 # remove unacceptable arguments. |
| 44 for arg in named.keys(): |
| 45 if arg not in acceptable: |
| 46 del named[arg] |
| 47 return receiver(*arguments, **named) |
| receiver = <function _rollback_on_exception>, arguments = (), named = {} |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/db/__init__.py in _rollback_on_exception() |
| 44 # when a Django request has an exception. |
| 45 def _rollback_on_exception(): |
| 46 from django.db import transaction |
| 47 transaction.rollback_unless_managed() |
| 48 dispatcher.connect(_rollback_on_exception, signal=signals.got_request_exception) |
| transaction = <module 'django.db.transaction' from '/usr/local...ython2.4/site-packages/django/db/transaction.py'>, transaction.rollback_unless_managed = <function rollback_unless_managed> |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/db/transaction.py in rollback_unless_managed() |
| 143 """ |
| 144 if not is_managed(): |
| 145 connection._rollback() |
| 146 else: |
| 147 set_dirty() |
| global connection = <django.db.backends.dummy.base.DatabaseWrapper instance>, connection._rollback = <bound method DatabaseWrapper.complain of <django.db.backends.dummy.base.DatabaseWrapper instance>> |
| /usr/local/python-2.4.3.zela/lib/python2.4/site-packages/django/db/backends/dummy/base.py in complain(*args=(<django.db.backends.dummy.base.DatabaseWrapper instance>,), **kwargs={}) |
| 11 |
| 12 def complain(*args, **kwargs): |
| 13 raise ImproperlyConfigured, "You haven't set the DATABASE_ENGINE setting yet." |
| 14 |
| 15 class DatabaseError(Exception): |
| global ImproperlyConfigured = <class django.core.exceptions.ImproperlyConfigured> |
ImproperlyConfigured: You haven't set the DATABASE_ENGINE setting yet.
args =
("You haven't set the DATABASE_ENGINE setting yet.",)