weeklyworker/inc/headerissue.html
Request Method: | GET |
---|---|
Request URL: | http://weeklyworker.co.uk/worker/events/144/ |
Django Version: | 1.6.2 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | weeklyworker/inc/headerissue.html |
Exception Location: | /home/ww/.local/lib/python2.7/site-packages/django/template/loader.py in select_template, line 186 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.12 |
Python Path: | ['/home/ww/weeklyworker.co.uk', '/usr/local/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/ww/.local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] |
Server time: | Thu, 28 Mar 2024 15:13:15 +0000 |
Django tried loading these templates, in this order:
django.template.loaders.filesystem.Loader
:
django.template.loaders.app_directories.Loader
:
/home/ww/.local/lib/python2.7/site-packages/django/contrib/auth/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/categories/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/categories/editor/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/haystack/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/endless_pagination/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/grappelli/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/filebrowser/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/django/contrib/admin/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/mptt/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/weeklyworker.co.uk/weeklyworker/templates/weeklyworker/inc/headerissue.html
(File does not exist)/home/ww/.local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))
# If the response supports deferred rendering, apply template
# response middleware and then render the response
if hasattr(response, 'render') and callable(response.render):
for middleware_method in self._template_response_middleware:
response = middleware_method(request, response)
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
callback_args | () |
resolver_match | ResolverMatch(func=<function EventView at 0x7fa23fbb1a28>, args=(), kwargs={'pk': u'144'}, url_name='event', app_name='worker', namespace='worker') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fa245ca10d0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fa24610f210> |
request | "<WSGIRequest\npath:/worker/events/144/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'6lVBH4hnr04sYAf2XlCAS161DOlAQDhu',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'weeklyworker.co.uk',\n 'HTTP_REFERER': 'http://weeklyworker.co.uk/worker/events/144/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/worker/events/144/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/worker/events/144/',\n 'REMOTE_ADDR': '127.0.0.1',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'weeklyworker.co.uk',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/18.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7fa23ef54750>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa2489ac1e0>,\n 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7fa2465dcce8>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x7fa23ed17690>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function EventView at 0x7fa23fbb1a28> |
wrapped_callback | <function EventView at 0x7fa23fbb1a28> |
resolver | <RegexURLResolver 'communism.urls' (None:None) ^/> |
callback_kwargs | {'pk': u'144'} |
response | <django.template.response.TemplateResponse object at 0x7fa23f01b950> |
urlconf | 'communism.urls' |
/home/ww/.local/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7fa23f01b950> |
retval | <django.template.response.TemplateResponse object at 0x7fa23f01b950> |
/home/ww/.local/lib/python2.7/site-packages/django/template/response.py
in rendered_content
"""Returns the freshly rendered content for the template and context
described by the TemplateResponse.
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)...
context = self.resolve_context(self.context_data)
content = template.render(context)
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7fa23f01b950> |
/home/ww/.local/lib/python2.7/site-packages/django/template/response.py
in resolve_template
del obj_dict[attr]
return obj_dict
def resolve_template(self, template):
"Accepts a template object, path-to-template or list of paths"
if isinstance(template, (list, tuple)):
return loader.select_template(template)...
elif isinstance(template, six.string_types):
return loader.get_template(template)
else:
return template
def resolve_context(self, context):
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7fa23f01b950> |
template | ['weeklyworker/event.html'] |
/home/ww/.local/lib/python2.7/site-packages/django/template/loader.py
in select_template
try:
return get_template(template_name)
except TemplateDoesNotExist as e:
if e.args[0] not in not_found:
not_found.append(e.args[0])
continue
# If we get here, none of the templates could be loaded
raise TemplateDoesNotExist(', '.join(not_found))...
add_to_builtins('django.template.loader_tags')
Variable | Value |
---|---|
template_name | 'weeklyworker/event.html' |
not_found | [u'weeklyworker/inc/headerissue.html'] |
e | TemplateDoesNotExist(u'weeklyworker/inc/headerissue.html',) |
template_name_list | ['weeklyworker/event.html'] |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_REFERER | 'http://weeklyworker.co.uk/worker/events/144/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/18.0' |
SCRIPT_NAME | u'' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fa23ed17690> |
REQUEST_METHOD | 'GET' |
HTTP_HOST | 'weeklyworker.co.uk' |
PATH_INFO | u'/worker/events/144/' |
wsgi.multithread | False |
QUERY_STRING | '' |
HTTP_CONNECTION | 'close' |
HTTP_ACCEPT | '*/*' |
HTTP_USER_AGENT | 'claudebot' |
wsgi.version | (1, 0) |
REMOTE_PORT | '80' |
RAW_URI | '/worker/events/144/' |
REMOTE_ADDR | '127.0.0.1' |
wsgi.run_once | False |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7fa2489ac1e0> |
wsgi.multiprocess | False |
wsgi.url_scheme | 'http' |
gunicorn.socket | <socket._socketobject object at 0x7fa23ef54750> |
SERVER_NAME | 'weeklyworker.co.uk' |
SERVER_PORT | '80' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'6lVBH4hnr04sYAf2XlCAS161DOlAQDhu' |
communism.settings.production
Setting | Value |
---|---|
FILEBROWSER_VERSIONS | {'admin_thumbnail': {'height': 60, 'opts': 'crop', 'verbose_name': 'Admin Thumbnail', 'width': 60}, 'art_full': {'height': '240', 'opts': 'crop', 'verbose_name': 'article_size', 'width': 440}, 'big': {'height': '', 'opts': '', 'verbose_name': 'Big (6 col)', 'width': 460}, 'cat_full': {'height': '240', 'opts': 'crop', 'verbose_name': 'Cat featured', 'width': 420}, 'large': {'height': '', 'opts': '', 'verbose_name': 'Large (8 col)', 'width': 680}, 'medium': {'height': '', 'opts': '', 'verbose_name': 'Medium (4col )', 'width': 210}, 'medium_tall': {'height': '240', 'opts': 'crop', 'verbose_name': 'For sidebar', 'width': 210}, 'small': {'height': '', 'opts': '', 'verbose_name': 'Small (2 col)', 'width': 140}, 'thumbnail': {'height': 60, 'opts': 'crop', 'verbose_name': 'Thumbnail (1 col)', 'width': 60}} |
MAILGUN_SERVER_NAME | 'sandbox10944.mailgun.org' |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'communism.urls' |
MANAGERS | (('James Turley', 'jamesturley1905@googlemail.com'),) |
DEFAULT_CHARSET | 'utf-8' |
FILEBROWSER_VERSIONS_BASEDIR | '_versions/' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/ww/weeklyworker.co.uk/static' |
FILEBROWSER_MEDIA_ROOT | '/home/ww/weeklyworker.co.uk/assets' |
ALLOWED_HOSTS | ['area51.weeklyworker.co.uk', 'weeklyworker.co.uk'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.FileSystemFinder') |
FILEBROWSER_DIRECTORY | 'ww/' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'ww', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': ''}} |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'unix:/tmp/memcached.sock'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'communism.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/home/ww/weeklyworker.co.uk/communism/settings/../../whoosh_index'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'categories', 'categories.editor', 'south', 'autoslug', 'selenium', 'django_nose', 'whoosh', 'haystack', 'endless_pagination', 'grappelli', 'filebrowser', 'django.contrib.admin', 'mptt', 'weeklyworker', 'functional_tests') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
MAILGUN_ACCESS_KEY | u'********************' |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/ww/weeklyworker.co.uk/assets' |
DEFAULT_SETTINGS | <module 'django.conf.global_settings' from '/home/ww/.local/lib/python2.7/site-packages/django/conf/global_settings.pyc'> |
ADMINS | (('James Turley', 'jamesturley1905@googlemail.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/assets/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': '/home/ww/weeklyworker.co.uk/communism/settings/../../debug.log', 'filters': ['require_debug_false'], 'level': 'ERROR'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'CRITICAL'}}, 'loggers': {'django.request': {'handlers': ['mail_admins', 'file'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django_nose.NoseTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/London' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 10485760 |
EMAIL_BACKEND | 'django_mailgun.MailgunBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'weeklyworker.context_processors.extra_context', 'django.core.context_processors.request', 'weeklyworker.context_processors.get_params') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'communism.settings.production' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
FILEBROWSER_NORMALIZE_FILENAME | True |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.