SHARE
TWEET

Untitled

a guest Feb 14th, 2011 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Internal Server reason
  2.  
  3. Internal Server reason
  4. Traceback:
  5. Traceback (most recent call last):
  6.   File "/home/hc/prod/venv/lib/python2.6/site-packages/gunicorn-0.12.0-py2.6.egg/gunicorn/workers/sync.py", line 97, in handle_request
  7.     respiter = self.wsgi(environ, resp.start_response)
  8.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/core/handlers/wsgi.py", line 248, in __call__
  9.     response = self.get_response(request)
  10.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/core/handlers/base.py", line 141, in get_response
  11.     return self.handle_uncaught_exception(request, resolver, sys.exc_info())
  12.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/core/handlers/base.py", line 165, in handle_uncaught_exception
  13.     return debug.technical_500_response(request, *exc_info)
  14.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/views/debug.py", line 59, in technical_500_response
  15.     html = reporter.get_traceback_html()
  16.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/views/debug.py", line 141, in get_traceback_html
  17.     return t.render(c)
  18.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/__init__.py", line 173, in render
  19.     return self._render(context)
  20.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/__init__.py", line 167, in _render
  21.     return self.nodelist.render(context)
  22.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/__init__.py", line 796, in render
  23.     bits.append(self.render_node(node, context))
  24.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/debug.py", line 72, in render_node
  25.     result = node.render(context)
  26.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/debug.py", line 89, in render
  27.     output = self.filter_expression.resolve(context)
  28.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/__init__.py", line 579, in resolve
  29.     new_obj = func(obj, *arg_vals)
  30.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/template/defaultfilters.py", line 682, in date
  31.     return format(value, arg)
  32.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/dateformat.py", line 281, in format
  33.     return df.format(format_string)
  34.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/dateformat.py", line 30, in format
  35.     pieces.append(force_unicode(getattr(self, piece)()))
  36.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/dateformat.py", line 187, in r
  37.     return self.format('D, j M Y H:i:s O')
  38.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/dateformat.py", line 30, in format
  39.     pieces.append(force_unicode(getattr(self, piece)()))
  40.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/encoding.py", line 66, in force_unicode
  41.     s = unicode(s)
  42.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/functional.py", line 206, in __unicode_cast
  43.     return self.__func(*self.__args, **self.__kw)
  44.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/translation/__init__.py", line 55, in ugettext
  45.     return real_ugettext(message)
  46.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/functional.py", line 55, in _curried
  47.     return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs))
  48.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/translation/__init__.py", line 36, in delayed_loader
  49.     return getattr(trans, real_name)(*args, **kwargs)
  50.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/translation/trans_real.py", line 276, in ugettext
  51.     return do_translate(message, 'ugettext')
  52.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/translation/trans_real.py", line 266, in do_translate
  53.     _default = translation(settings.LANGUAGE_CODE)
  54.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/translation/trans_real.py", line 176, in translation
  55.     default_translation = _fetch(settings.LANGUAGE_CODE)
  56.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/translation/trans_real.py", line 159, in _fetch
  57.     app = import_module(appname)
  58.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/utils/importlib.py", line 35, in import_module
  59.     __import__(name)
  60.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/contrib/admin/__init__.py", line 1, in
  61.     from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
  62.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/contrib/admin/helpers.py", line 1, in
  63.     from django import forms
  64.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/forms/__init__.py", line 17, in
  65.     from models import *
  66.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/forms/models.py", line 6, in
  67.     from django.db import connections
  68.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/db/__init__.py", line 77, in
  69.     connection = connections[DEFAULT_DB_ALIAS]
  70.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/db/utils.py", line 92, in __getitem__
  71.     backend = load_backend(db['ENGINE'])
  72.   File "/home/hc/prod/venv/lib/python2.6/site-packages/Django-1.2.5-py2.6.egg/django/db/utils.py", line 50, in load_backend
  73.     raise ImproperlyConfigured(error_msg)
  74. TemplateSyntaxError: Caught ImproperlyConfigured while rendering: 'django.db.backends.postgresql_psycopg2' isn't an available database backend.
  75. Try using django.db.backends.XXX, where XXX is one of:
  76.     'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3'
  77. Error was: cannot import name utils
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top