| <class 'django.template.base.TemplateSyntaxError'> | Python 2.7.18: /usr/bin/python Wed Apr 15 23:12:04 2026 |
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/atesz/vamonosadmin.structdesign.net/fcgi.py in run(self=<fcgi.Request object>) |
| 578 """Runs the handler, flushes the streams, and ends the request.""" |
| 579 try: |
| => 580 protocolStatus, appStatus = self.server.handler(self) |
| 581 except: |
| 582 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <fcgi.Request object>, self.server = <fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <fcgi.WSGIServer object>> |
| /home/atesz/vamonosadmin.structdesign.net/fcgi.py in handler(self=<fcgi.WSGIServer object>, req=<fcgi.Request object>) |
| 1264 try: |
| 1265 try: |
| => 1266 result = self.application(environ, start_response) |
| 1267 try: |
| 1268 for data in result: |
| result = None, self = <fcgi.WSGIServer object>, self.application = <django.core.handlers.wsgi.WSGIHandler object>, environ = {'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/atesz/vamonosadmin.structdesign.net', 'CONTEXT_PREFIX': '', 'DH_USER': 'atesz', 'DOCUMENT_ROOT': '/home/atesz/vamonosadmin.structdesign.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', ...}, start_response = <function start_response> |
| /home/atesz/django/django_src/django/core/handlers/wsgi.py in __call__(self=<django.core.handlers.wsgi.WSGIHandler object>, environ={'CONTENT_LENGTH': '0', 'CONTEXT_DOCUMENT_ROOT': '/home/atesz/vamonosadmin.structdesign.net', 'CONTEXT_PREFIX': '', 'DH_USER': 'atesz', 'DOCUMENT_ROOT': '/home/atesz/vamonosadmin.structdesign.net', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_CACHE_CONTROL': 'max-age=259200', 'HTTP_CONNECTION': 'close', ...}, start_response=<function start_response>) |
| 270 response = http.HttpResponseBadRequest() |
| 271 else: |
| => 272 response = self.get_response(request) |
| 273 finally: |
| 274 signals.request_finished.send(sender=self.__class__) |
| 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:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
| /home/atesz/django/django_src/django/core/handlers/base.py in get_response(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>) |
| 167 # Get the exception info now, in case another exception is thrown later. |
| 168 receivers = signals.got_request_exception.send(sender=self.__class__, request=request) |
| => 169 response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) |
| 170 finally: |
| 171 # Reset URLconf for this thread on the way out for complete |
| response = None, self = <django.core.handlers.wsgi.WSGIHandler object>, self.handle_uncaught_exception = <bound method WSGIHandler.handle_uncaught_except...f <django.core.handlers.wsgi.WSGIHandler object>>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver = <RegexURLResolver vamonosadmin.urls (None:None) ^/>, global sys = <module 'sys' (built-in)>, sys.exc_info = <built-in function exc_info> |
| /home/atesz/django/django_src/django/core/handlers/base.py in handle_uncaught_exception(self=<django.core.handlers.wsgi.WSGIHandler object>, request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, resolver=<RegexURLResolver vamonosadmin.urls (None:None) ^/>, exc_info=(<class 'django.core.exceptions.ImproperlyConfigured'>, ImproperlyConfigured("'mysql_old' isn't an avail...e3'\nError was: No module named mysql_old.base",), <traceback object>)) |
| 201 if settings.DEBUG: |
| 202 from django.views import debug |
| => 203 return debug.technical_500_response(request, *exc_info) |
| 204 |
| 205 logger.error('Internal Server Error: %s' % request.path, |
| debug = <module 'django.views.debug' from '/home/atesz/django/django_src/django/views/debug.pyc'>, debug.technical_500_response = <function technical_500_response>, request = <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, exc_info = (<class 'django.core.exceptions.ImproperlyConfigured'>, ImproperlyConfigured("'mysql_old' isn't an avail...e3'\nError was: No module named mysql_old.base",), <traceback object>) |
| /home/atesz/django/django_src/django/views/debug.py in technical_500_response(request=<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1, 0)}>, exc_type=<class 'django.core.exceptions.ImproperlyConfigured'>, exc_value=ImproperlyConfigured("'mysql_old' isn't an avail...e3'\nError was: No module named mysql_old.base",), tb=<traceback object>) |
| 57 """ |
| 58 reporter = ExceptionReporter(request, exc_type, exc_value, tb) |
| => 59 html = reporter.get_traceback_html() |
| 60 return HttpResponseServerError(html, mimetype='text/html') |
| 61 |
| html undefined, reporter = <django.views.debug.ExceptionReporter object>, reporter.get_traceback_html = <bound method ExceptionReporter.get_traceback_html of <django.views.debug.ExceptionReporter object>> |
| /home/atesz/django/django_src/django/views/debug.py in get_traceback_html(self=<django.views.debug.ExceptionReporter object>) |
| 149 if frames: |
| 150 c['lastframe'] = frames[-1] |
| => 151 return t.render(c) |
| 152 |
| 153 def get_template_exception_info(self): |
| t = <django.template.base.Template object>, t.render = <bound method Template.render of <django.template.base.Template object>>, c = [{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}] |
| /home/atesz/django/django_src/django/template/base.py in render(self=<django.template.base.Template object>, context=[{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}]) |
| 121 context.render_context.push() |
| 122 try: |
| => 123 return self._render(context) |
| 124 finally: |
| 125 context.render_context.pop() |
| self = <django.template.base.Template object>, self._render = <bound method Template._render of <django.template.base.Template object>>, context = [{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}] |
| /home/atesz/django/django_src/django/template/base.py in _render(self=<django.template.base.Template object>, context=[{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}]) |
| 115 |
| 116 def _render(self, context): |
| => 117 return self.nodelist.render(context) |
| 118 |
| 119 def render(self, context): |
| self = <django.template.base.Template object>, self.nodelist = [<Text Node: ' <!DOCTYPE HTML PUBLIC "-'>, <If n... '>, <If node>, <Text Node: ' </body> </html> '>], self.nodelist.render = <bound method DebugNodeList.render of [<Text Nod...'>, <If node>, <Text Node: ' </body> </html> '>]>, context = [{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}] |
| /home/atesz/django/django_src/django/template/base.py in render(self=[<Text Node: ' <!DOCTYPE HTML PUBLIC "-'>, <If n... '>, <If node>, <Text Node: ' </body> </html> '>], context=[{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}]) |
| 742 for node in self: |
| 743 if isinstance(node, Node): |
| => 744 bits.append(self.render_node(node, context)) |
| 745 else: |
| 746 bits.append(node) |
| bits = [u'\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Tr...name="robots" content="NONE,NOARCHIVE">\n <title>', u'ImproperlyConfigured', u' at /sitemap.xml', u'</title>\n <style type="text/css">\n html * { ...ze: 1.5em; margin: 10px 0 10px 0; }\n </style>\n ', u'\n <script type="text/javascript">\n //<!--\...return false;\n }\n //-->\n </script>\n ', u'\n</head>\n<body>\n<div id="summary">\n <h1>', u'ImproperlyConfigured', u' at /sitemap.xml', u'</h1>\n <pre class="exception_value">', u''mysql_old' isn't an available dat...'\nError was: No module named mysql_old.base', u'</pre>\n <table class="meta">\n', u'\n <tr>\n <th>Request Method:</th>\n ...n.structdesign.net/sitemap.xml</td>\n </tr>\n', u'\n <tr>\n <th>Django Version:</th>\n <td>', u'1.3.1', u'</td>\n </tr>\n', u'\n <tr>\n <th>Exception Type:</th>\n <td>ImproperlyConfigured</td>\n </tr>\n', u'\n', u'\n <tr>\n <th>Exception Value:</th>\n ...ule named mysql_old.base</pre></td>\n </tr>\n', u'\n', u'\n <tr>\n <th>Exception Location:</th>...ls.py in load_backend, line 51</td>\n </tr>\n', ...], bits.append = <built-in method append of list object>, self = [<Text Node: ' <!DOCTYPE HTML PUBLIC "-'>, <If n... '>, <If node>, <Text Node: ' </body> </html> '>], self.render_node = <bound method DebugNodeList.render_node of [<Tex...'>, <If node>, <Text Node: ' </body> </html> '>]>, node = <Variable Node: server_time|date:"r">, context = [{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}] |
| /home/atesz/django/django_src/django/template/debug.py in render_node(self=[<Text Node: ' <!DOCTYPE HTML PUBLIC "-'>, <If n... '>, <If node>, <Text Node: ' </body> </html> '>], node=<Variable Node: server_time|date:"r">, context=[{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}]) |
| 71 def render_node(self, node, context): |
| 72 try: |
| => 73 result = node.render(context) |
| 74 except TemplateSyntaxError, e: |
| 75 if not hasattr(e, 'source'): |
| result undefined, node = <Variable Node: server_time|date:"r">, node.render = <bound method DebugVariableNode.render of <Variable Node: server_time|date:"r">>, context = [{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}] |
| /home/atesz/django/django_src/django/template/debug.py in render(self=<Variable Node: server_time|date:"r">, context=[{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}]) |
| 88 def render(self, context): |
| 89 try: |
| => 90 output = self.filter_expression.resolve(context) |
| 91 output = localize(output, use_l10n=context.use_l10n) |
| 92 output = force_unicode(output) |
| output undefined, self = <Variable Node: server_time|date:"r">, self.filter_expression = <django.template.base.FilterExpression object>, self.filter_expression.resolve = <bound method FilterExpression.resolve of <django.template.base.FilterExpression object>>, context = [{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}] |
| /home/atesz/django/django_src/django/template/base.py in resolve(self=<django.template.base.FilterExpression object>, context=[{'loader_debug_info': None, 'unicode_hint': '',...on': (1, 0)}>, 'template_does_not_exist': False}], ignore_failures=False) |
| 534 new_obj = func(obj, autoescape=context.autoescape, *arg_vals) |
| 535 else: |
| => 536 new_obj = func(obj, *arg_vals) |
| 537 if getattr(func, 'is_safe', False) and isinstance(obj, SafeData): |
| 538 obj = mark_safe(new_obj) |
| new_obj undefined, func = <function date>, obj = datetime.datetime(2026, 4, 15, 23, 12, 3, 930200), arg_vals = [u'r'] |
| /home/atesz/django/django_src/django/template/defaultfilters.py in date(value=datetime.datetime(2026, 4, 15, 23, 12, 3, 930200), arg=u'r') |
| 693 except AttributeError: |
| 694 try: |
| => 695 return format(value, arg) |
| 696 except AttributeError: |
| 697 return '' |
| format = <function format>, value = datetime.datetime(2026, 4, 15, 23, 12, 3, 930200), arg = u'r' |
| /home/atesz/django/django_src/django/utils/dateformat.py in format(value=datetime.datetime(2026, 4, 15, 23, 12, 3, 930200), format_string=u'r') |
| 283 "Convenience function" |
| 284 df = DateFormat(value) |
| => 285 return df.format(format_string) |
| 286 |
| 287 def time_format(value, format_string): |
| df = <django.utils.dateformat.DateFormat object>, df.format = <bound method DateFormat.format of <django.utils.dateformat.DateFormat object>>, format_string = u'r' |
| /home/atesz/django/django_src/django/utils/dateformat.py in format(self=<django.utils.dateformat.DateFormat object>, formatstr=u'r') |
| 28 for i, piece in enumerate(re_formatchars.split(force_unicode(formatstr))): |
| 29 if i % 2: |
| => 30 pieces.append(force_unicode(getattr(self, piece)())) |
| 31 elif piece: |
| 32 pieces.append(re_escaped.sub(r'\1', piece)) |
| pieces = [], pieces.append = <built-in method append of list object>, global force_unicode = <function force_unicode>, builtin getattr = <built-in function getattr>, self = <django.utils.dateformat.DateFormat object>, piece = u'r' |
| /home/atesz/django/django_src/django/utils/dateformat.py in r(self=<django.utils.dateformat.DateFormat object>) |
| 189 def r(self): |
| 190 "RFC 2822 formatted date; e.g. 'Thu, 21 Dec 2000 16:01:07 +0200'" |
| => 191 return self.format('D, j M Y H:i:s O') |
| 192 |
| 193 def S(self): |
| self = <django.utils.dateformat.DateFormat object>, self.format = <bound method DateFormat.format of <django.utils.dateformat.DateFormat object>> |
| /home/atesz/django/django_src/django/utils/dateformat.py in format(self=<django.utils.dateformat.DateFormat object>, formatstr='D, j M Y H:i:s O') |
| 28 for i, piece in enumerate(re_formatchars.split(force_unicode(formatstr))): |
| 29 if i % 2: |
| => 30 pieces.append(force_unicode(getattr(self, piece)())) |
| 31 elif piece: |
| 32 pieces.append(re_escaped.sub(r'\1', piece)) |
| pieces = [], pieces.append = <built-in method append of list object>, global force_unicode = <function force_unicode>, builtin getattr = <built-in function getattr>, self = <django.utils.dateformat.DateFormat object>, piece = u'D' |
| /home/atesz/django/django_src/django/utils/encoding.py in force_unicode(s=<django.utils.functional.__proxy__ object>, encoding='utf-8', strings_only=False, errors='strict') |
| 69 if not isinstance(s, basestring,): |
| 70 if hasattr(s, '__unicode__'): |
| => 71 s = unicode(s) |
| 72 else: |
| 73 try: |
| s = <django.utils.functional.__proxy__ object>, builtin unicode = <type 'unicode'> |
| /home/atesz/django/django_src/django/utils/functional.py in __unicode_cast(self=<django.utils.functional.__proxy__ object>) |
| 204 |
| 205 def __unicode_cast(self): |
| => 206 return self.__func(*self.__args, **self.__kw) |
| 207 |
| 208 def __str_cast(self): |
| self = <django.utils.functional.__proxy__ object>, self.__func undefined, self.__args undefined, self.__kw undefined |
| /home/atesz/django/django_src/django/utils/translation/__init__.py in ugettext(message='Wed') |
| 79 |
| 80 def ugettext(message): |
| => 81 return _trans.ugettext(message) |
| 82 |
| 83 def ungettext(singular, plural, number): |
| global _trans = <django.utils.translation.Trans object>, _trans.ugettext = <function ugettext>, message = 'Wed' |
| /home/atesz/django/django_src/django/utils/translation/trans_real.py in ugettext(message='Wed') |
| 284 |
| 285 def ugettext(message): |
| => 286 return do_translate(message, 'ugettext') |
| 287 |
| 288 def pgettext(context, message): |
| global do_translate = <function do_translate>, message = 'Wed' |
| /home/atesz/django/django_src/django/utils/translation/trans_real.py in do_translate(message='Wed', translation_function='ugettext') |
| 274 if _default is None: |
| 275 from django.conf import settings |
| => 276 _default = translation(settings.LANGUAGE_CODE) |
| 277 result = getattr(_default, translation_function)(eol_message) |
| 278 if isinstance(message, SafeData): |
| global _default = None, global translation = <function translation>, settings = <django.conf.LazySettings object>, settings.LANGUAGE_CODE = 'hu' |
| /home/atesz/django/django_src/django/utils/translation/trans_real.py in translation(language='hu') |
| 183 return res |
| 184 |
| => 185 default_translation = _fetch(settings.LANGUAGE_CODE) |
| 186 current_translation = _fetch(language, fallback=default_translation) |
| 187 |
| default_translation undefined, _fetch = <function _fetch>, settings = <django.conf.LazySettings object>, settings.LANGUAGE_CODE = 'hu' |
| /home/atesz/django/django_src/django/utils/translation/trans_real.py in _fetch(lang='hu', fallback=None) |
| 160 |
| 161 for appname in reversed(settings.INSTALLED_APPS): |
| => 162 app = import_module(appname) |
| 163 apppath = os.path.join(os.path.dirname(app.__file__), 'locale') |
| 164 |
| app = <module 'vamonosadmin.aktualitasok' from '/home/...projects/vamonosadmin/aktualitasok/__init__.pyc'>, global import_module = <function import_module>, appname = 'django.contrib.admin' |
| /home/atesz/django/django_src/django/utils/importlib.py in import_module(name='django.contrib.admin', 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.admin' |
| /home/atesz/django/django_src/django/contrib/admin/__init__.py in <module>() |
| 2 # has been referenced in documentation. |
| => 3 from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME |
| 4 from django.contrib.admin.options import ModelAdmin, HORIZONTAL, VERTICAL |
| 5 from django.contrib.admin.options import StackedInline, TabularInline |
| 6 from django.contrib.admin.sites import AdminSite, site |
| django undefined, ACTION_CHECKBOX_NAME undefined |
| /home/atesz/django/django_src/django/contrib/admin/helpers.py in <module>() |
| 2 from django.conf import settings |
| => 3 from django.contrib.admin.util import (flatten_fieldsets, lookup_field, |
| => 4 display_for_field, label_for_field, help_text_for_field) |
| 5 from django.contrib.contenttypes.models import ContentType |
| 6 from django.core.exceptions import ObjectDoesNotExist |
| django undefined, flatten_fieldsets undefined, lookup_field undefined, display_for_field undefined, label_for_field undefined, help_text_for_field undefined |
| /home/atesz/django/django_src/django/contrib/admin/util.py in <module>() |
| 2 from django.db.models.sql.constants import LOOKUP_SEP |
| 3 from django.db.models.deletion import Collector |
| 4 from django.db.models.related import RelatedObject |
| 5 from django.forms.forms import pretty_name |
| 6 from django.utils import formats |
| django undefined, models undefined |
| /home/atesz/django/django_src/django/db/__init__.py in <module>() |
| 76 # we load all these up for backwards compatibility, you should use |
| 77 # connections['default'] instead. |
| => 78 connection = connections[DEFAULT_DB_ALIAS] |
| 79 backend = load_backend(connection.settings_dict['ENGINE']) |
| 80 |
| connection undefined, connections = None, DEFAULT_DB_ALIAS = None |
| /home/atesz/django/django_src/django/db/utils.py in __getitem__(self=<django.db.utils.ConnectionHandler object>, alias='default') |
| 91 self.ensure_defaults(alias) |
| 92 db = self.databases[alias] |
| => 93 backend = load_backend(db['ENGINE']) |
| 94 conn = backend.DatabaseWrapper(db, alias) |
| 95 self._connections[alias] = conn |
| backend undefined, global load_backend = <function load_backend>, db = {'ENGINE': 'mysql_old', 'HOST': 'djangodb.structdesign.net', 'NAME': 'vamonosadmin', 'OPTIONS': {}, 'PASSWORD': 'gomboc0410', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, ...} |
| /home/atesz/django/django_src/django/db/utils.py in load_backend(backend_name='mysql_old') |
| 49 "Error was: %s") % \ |
| 50 (backend_name, ", ".join(map(repr, sorted(available_backends))), e_user) |
| => 51 raise ImproperlyConfigured(error_msg) |
| 52 else: |
| 53 raise # If there's some other error, this must be an error in Django itself. |
| global ImproperlyConfigured = <class 'django.core.exceptions.ImproperlyConfigured'>, error_msg = "'mysql_old' isn't an available database backend....qlite3'\nError was: No module named mysql_old.base" |
<class 'django.template.base.TemplateSyntaxError'>: Caught ImproperlyConfigured while rendering: 'mysql_old' 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: No module named mysql_old.base
args =
(u"Caught ImproperlyConfigured while rendering: 'my...qlite3'\nError was: No module named mysql_old.base",)
exc_info =
(<class 'django.core.exceptions.ImproperlyConfigured'>, ImproperlyConfigured("'mysql_old' isn't an avail...e3'\nError was: No module named mysql_old.base",), <traceback object>)
message =
u"Caught ImproperlyConfigured while rendering: 'my...qlite3'\nError was: No module named mysql_old.base"
source =
(<django.template.base.StringOrigin object>, (6585, 6609))