Opened 14 years ago
Last modified 12 years ago
#16136 closed Uncategorized
Error was: cannot import name utils — at Initial Version
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | ognajd@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 241, in __call__ response = self.get_response(request) File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 141, in get_response return self.handle_uncaught_exception(request, resolver, sys.exc_info()) File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 165, in handle_uncaught_exception return debug.technical_500_response(request, *exc_info) File "/usr/lib/python2.5/site-packages/django/views/debug.py", line 58, in technical_500_response html = reporter.get_traceback_html() File "/usr/lib/python2.5/site-packages/django/views/debug.py", line 137, in get_traceback_html return t.render(c) File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line 173, in render return self._render(context) File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line 167, in _render return self.nodelist.render(context) File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line 796, in render bits.append(self.render_node(node, context)) File "/usr/lib/python2.5/site-packages/django/template/debug.py", line 72, in render_node result = node.render(context) File "/usr/lib/python2.5/site-packages/django/template/debug.py", line 89, in render output = self.filter_expression.resolve(context) File "/usr/lib/python2.5/site-packages/django/template/__init__.py", line 579, in resolve new_obj = func(obj, *arg_vals) File "/usr/lib/python2.5/site-packages/django/template/defaultfilters.py", line 697, in date return format(value, arg) File "/usr/lib/python2.5/site-packages/django/utils/dateformat.py", line 281, in format return df.format(format_string) File "/usr/lib/python2.5/site-packages/django/utils/dateformat.py", line 30, in format pieces.append(force_unicode(getattr(self, piece)())) File "/usr/lib/python2.5/site-packages/django/utils/dateformat.py", line 187, in r return self.format('D, j M Y H:i:s O') File "/usr/lib/python2.5/site-packages/django/utils/dateformat.py", line 30, in format pieces.append(force_unicode(getattr(self, piece)())) File "/usr/lib/python2.5/site-packages/django/utils/encoding.py", line 66, in force_unicode s = unicode(s) File "/usr/lib/python2.5/site-packages/django/utils/functional.py", line 206, in __unicode_cast return self.__func(*self.__args, **self.__kw) File "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", line 55, in ugettext return real_ugettext(message) File "/usr/lib/python2.5/site-packages/django/utils/functional.py", line 55, in _curried return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs)) File "/usr/lib/python2.5/site-packages/django/utils/translation/__init__.py", line 36, in delayed_loader return getattr(trans, real_name)(*args, **kwargs) File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 276, in ugettext return do_translate(message, 'ugettext') File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 266, in do_translate _default = translation(settings.LANGUAGE_CODE) File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 176, in translation default_translation = _fetch(settings.LANGUAGE_CODE) File "/usr/lib/python2.5/site-packages/django/utils/translation/trans_real.py", line 159, in _fetch app = import_module(appname) File "/usr/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/usr/lib/python2.5/site-packages/django/contrib/admin/__init__.py", line 1, in <module> from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME File "/usr/lib/python2.5/site-packages/django/contrib/admin/helpers.py", line 1, in <module> from django import forms File "/usr/lib/python2.5/site-packages/django/forms/__init__.py", line 17, in <module> from models import * File "/usr/lib/python2.5/site-packages/django/forms/models.py", line 6, in <module> from django.db import connections File "/usr/lib/python2.5/site-packages/django/db/__init__.py", line 77, in <module> connection = connections[DEFAULT_DB_ALIAS] File "/usr/lib/python2.5/site-packages/django/db/utils.py", line 91, in __getitem__ backend = load_backend(db['ENGINE']) File "/usr/lib/python2.5/site-packages/django/db/utils.py", line 49, in load_backend raise ImproperlyConfigured(error_msg) TemplateSyntaxError: Caught ImproperlyConfigured while rendering: 'django.db.backends.mysql' isn't an available database backend. Try using django.db.backends.XXX, where XXX is one of: 'dummy', 'mysql', 'oracle', 'postgresql', 'postgresql_psycopg2', 'sqlite3' Error was: cannot import name utils
Note:
See TracTickets
for help on using tickets.