disk I/O error
Request Method: | GET |
---|---|
Request URL: | http://138.201.43.233:8008/gallery/gallery/vieux-moulin-becker-schreckling/ |
Django Version: | 1.6.4 |
Exception Type: | OperationalError |
Exception Value: | disk I/O error |
Exception Location: | /env/zentonic/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py in execute, line 451 |
Python Executable: | /usr/bin/python |
Python Version: | 2.6.6 |
Python Path: | ['/env/zentonic/lib/python2.6/site-packages', '/env/zentonic/', '/env/zentonic/zentonic/', '/env/zentonic/zentonic/zentonic/', '/usr/local/lib/python2.6/dist-packages/web.py-0.37-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/distribute-0.6.21-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/pyOwnCloud-0.3-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6'] |
Server time: | Fr, 29 Mär 2024 11:50:33 +0100 |
In template /env/zentonic/zentonic/templates/photologue/gallery_detail.html
, error at line 25
15 | {% for photo in object.public %} |
---|---|
16 | <div class="col-sm-6 col-md-4 lightbox-gallery"> |
17 | <div class="thumbnail"> |
18 | |
19 | <!-- <a id="open-youtube" class="col-sm-4" href="http://youtu.be/iQ4D273C7Ac"> |
20 | <img class="img-responsive" src="//i1.ytimg.com/vi/iQ4D273C7Ac/mqdefault.jpg"> |
21 | </a> --> |
22 | |
23 | <a data-parent=".mygallery" data-toggle="lightbox" data-title="{{ photo.title }}" |
24 | data-gallery="multiimages" |
25 | href="{{ photo.get_lightbox_url }}"> |
26 | <img src="{{ photo.get_thumbnail_url }}" alt="{{ photo.title }}"/> |
27 | </a> |
28 | |
29 | <div class="caption"> |
30 | |
31 | <p> |
32 | {% if user.is_authenticated %} |
33 | <a href="/admin/photologue/photo/{{ photo.id }}/" target="_blank" class="bw"><span |
34 | class="glyphicon glyphicon-edit"></span></a> |
35 | {% endif %} |
/env/zentonic/lib/python2.6/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 GalleryDetailView at 0x7ffa3054a1b8>, args=(), kwargs={'slug': u'vieux-moulin-becker-schreckling'}, url_name='pl-gallery', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7ffa2eec38d0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7ffa2e468150> |
request | "<WSGIRequest\npath:/gallery/gallery/vieux-moulin-becker-schreckling/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU',\n 'DOCUMENT_ROOT': '/etc/apache2/htdocs',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_ACCEPT_ENCODING': 'gzip',\n 'HTTP_HOST': '138.201.43.233:8008',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.242.22.247',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/',\n 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '159.69.193.220',\n 'REMOTE_PORT': '44424',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/',\n 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '138.201.43.233',\n 'SERVER_ADMIN': '[no address given]',\n 'SERVER_NAME': '138.201.43.233',\n 'SERVER_PORT': '8008',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)',\n 'forwarded': '1',\n 'mod_wsgi.application_group': 'www.zentonic.org:8008|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '8008',\n 'mod_wsgi.process_group': 'live',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 1)}>" |
callback | <function GalleryDetailView at 0x7ffa3054a1b8> |
wrapped_callback | <function GalleryDetailView at 0x7ffa3054a1b8> |
resolver | <RegexURLResolver 'zentonic.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'vieux-moulin-becker-schreckling'} |
response | <django.template.response.TemplateResponse object at 0x7ffa32a14bd0> |
urlconf | 'zentonic.urls' |
/env/zentonic/lib/python2.6/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 0x7ffa32a14bd0> |
retval | <django.template.response.TemplateResponse object at 0x7ffa32a14bd0> |
/env/zentonic/lib/python2.6/site-packages/django/template/response.py
in rendered_content
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.
If the response has already been rendered,
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7ffa32a14bd0> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
template | <django.template.base.Template object at 0x7ffa32a14390> |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
if settings.TEMPLATE_DEBUG:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7ffa32a14390> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7ffa32a14390> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
e | OperationalError('disk I/O error',) |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/loader_tags.py
in render
blocks = dict([(n.name, n) for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)])
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class BaseIncludeNode(Node):
def __init__(self, *args, **kwargs):
self.extra_context = kwargs.pop('extra_context', {})
self.isolated_context = kwargs.pop('isolated_context', False)
super(BaseIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
node | <Block Node: title. Contents: [<Text Node: 'esoterikpunk. blog about '>]> |
blocks | {u'breadcrumbs': <Block Node: breadcrumbs. Contents: []>, u'content': <Block Node: content. Contents: [<Text Node: ' '>]>, u'pagination_bottom': <Block Node: pagination_bottom. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, u'pagination_top': <Block Node: pagination_top. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, u'tagcloud': <Block Node: tagcloud. Contents: [<Text Node: ' <div'>, <django.template.defaulttags.LoadNode object at 0x7ffa3296e3d0>, <Text Node: ' '>, <templatetag_sugar.node.SugarNode object at 0x7ffa3296ead0>, <Text Node: ' '>, <For Node: for tag in tags, tail_len: 3>, <Text Node: ' <di'>]>, u'title': <Block Node: title. Contents: [<Text Node: 'esoterikpunk. blog about '>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7ffa042a37d0> |
n | <Block Node: pagination_bottom. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
compiled_parent | <django.template.base.Template object at 0x7ffa32bc0a50> |
self | <ExtendsNode: extends "base.html"> |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7ffa32bc0a50> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: [<Text Node: ' '>]> |
bit | u'\n </div>\n <div class="row">\n ' |
bits | [u'<!DOCTYPE html>\n<html lang="en">\n<!--\n mononoki\n-->\n<head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <title>zentonic \u2013 ', u'Vieux Moulin Becker - Schreckling', u'</title>\n <link rel="shortcut icon" type="image/x-icon" href="', u'/static/', u'/favicon.ico"/>\n\n <!-- Bootstrap -->\n <link href="', u'/static/', u'/lib/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">\n\n <!-- ekko-lightbox -->\n <link href="', u'/static/', u'/lib/ekko-lightbox/ekko-lightbox.min.css" rel="stylesheet">\n <!-- <link href="', u'/static/', u'/lib/ekko-lightbox/dark.css" rel="stylesheet"> -->\n\n <!-- <script type="text/javascript" src="//use.typekit.net/rwo0tpk.js"></script> -->\n <link href="', u'/static/', u'/lib/css/my.css" rel="stylesheet">\n\n</head>\n<body>\n<nav id="bar">\n <ul>\n <li><a class="nav-link blue" href="https://f.z6c.de" target="_blank" style="font-family: \'mononoki\'; color: #999;">Forum</a></li>\n <li><a class="nav-link green" href="https://b.z6c.de" style="font-family: \'mononoki\'; color: #999;">Blog</a></li>\n <li><a class="nav-link purple" href="https://chat.z6c.de/#/directory" style="font-family: \'mononoki\'; color: #999;">Chat</a></li>\n <li><a class="nav-link orange" href="https://g.z6c.de" style="font-family: \'mononoki\'; color: #999;">Gallery</a></li>\n <li><a class="nav-link yellow" href="https://z6c.de" target="_blank" style="font-family: \'mononoki\'; color: #999;">Shortener</a></li>\n <li><a class="nav-link grey" href="#impressum" style="font-family: \'mononoki\'; color: #999;">Impressum</a></li>\n </ul>\n</nav>\n<!-- Masthead -->\n<!-- ######################### -->\n<div id="masthead" id="logocontainer">\n <div class="container">\n <div class="row">\n <div class="col-md-1"></div>\n <a href="/">\n <div class="col-md-3" id="logo">zentonic.org</div>\n </a>\n\n <div class="col-md-8" id="headline">z6c - personal blog about topics\n </div>\n <div class="col-md-1"></div>\n </div>\n </div>\n</div>\n\n<!-- Navigation -->\n<!-- ######################### -->\n<div id="outerspace">\n <div class="container" id="content">\n <div class="row">\n <div class="col-md-1"></div>\n <!--<div id="navigation" class="col-md-10">\n <ul class="pull-right">\n <li class="tk-source-code-pro badge"><a href="/">Blog</a></li>\n <li class="tk-source-code-pro badge"><a href="/gallery">Galerien</a></li>\n <li class="tk-source-code-pro badge"><a href="/tag/django">#Django</a></li>\n <li class="tk-source-code-pro badge"><a href="/tag/foto">#Fotografie</a></li>\n <li class="tk-source-code-pro badge"><a href="/tag/life">#Life</a></li>\n <li class="tk-source-code-pro badge"><a href="/tag/musik">#Musik</a></li>\n <li class="tk-source-code-pro badge"><a href="/tag/zwitscher">#Gezwitscher</a></li>\n <li><a href="#">Archiv</a></li>\n </ul>\n </div>-->\n <div class="col-md-1"></div>\n </div>\n <div class="row">\n <div class="col-md-1"></div>\n <div id="mainbox" class="col-lg-7">\n <div class="row">\n <p id="breadcrumbs"><a href="/">zentonic.org</a> / ', u'<a href="/gallery/gallery/page/1/">Galerien</a> / Vieux Moulin Becker - Schreckling', u'</p>\n </div>\n <div class="row">\n ', u'\n \n ', u'\n </div>\n <div class="row">\n '] |
self | [<Text Node: '<!DOCTYPE html> <html lan'>, <Block Node: title. Contents: [<Text Node: 'esoterikpunk. blog about '>]>, <Text Node: '</title> <link rel="s'>, <Variable Node: STATIC_URL>, <Text Node: '/favicon.ico"/> <!--'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/bootstrap/dist/css/b'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/ekko-lightbox/ekko-l'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/ekko-lightbox/dark.c'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/css/my.css" rel="sty'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: '</p> </di'>, <Block Node: pagination_top. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> '>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> '>, <Block Node: tagcloud. Contents: [<Text Node: ' <div'>, <django.template.defaulttags.LoadNode object at 0x7ffa3296e3d0>, <Text Node: ' '>, <templatetag_sugar.node.SugarNode object at 0x7ffa3296ead0>, <Text Node: ' '>, <For Node: for tag in tags, tail_len: 3>, <Text Node: ' <di'>]>, <Text Node: ' <div class="'>, <Block Node: pagination_bottom. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> </div> <!-- F'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/jquery/dist/jquery.m'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/bootstrap/dist/js/bo'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/ekko-lightbox/ekko-l'>] |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: [<Text Node: ' '>]> |
self | [<Text Node: '<!DOCTYPE html> <html lan'>, <Block Node: title. Contents: [<Text Node: 'esoterikpunk. blog about '>]>, <Text Node: '</title> <link rel="s'>, <Variable Node: STATIC_URL>, <Text Node: '/favicon.ico"/> <!--'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/bootstrap/dist/css/b'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/ekko-lightbox/ekko-l'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/ekko-lightbox/dark.c'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/css/my.css" rel="sty'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: '</p> </di'>, <Block Node: pagination_top. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> '>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> '>, <Block Node: tagcloud. Contents: [<Text Node: ' <div'>, <django.template.defaulttags.LoadNode object at 0x7ffa3296e3d0>, <Text Node: ' '>, <templatetag_sugar.node.SugarNode object at 0x7ffa3296ead0>, <Text Node: ' '>, <For Node: for tag in tags, tail_len: 3>, <Text Node: ' <di'>]>, <Text Node: ' <div class="'>, <Block Node: pagination_bottom. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </div> </div> <!-- F'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/jquery/dist/jquery.m'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/bootstrap/dist/js/bo'>, <Variable Node: STATIC_URL>, <Text Node: '/lib/ekko-lightbox/ekko-l'>] |
e | OperationalError('disk I/O error',) |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = BlockNode(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7ffa042a37d0> |
block | <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
self | <Block Node: content. Contents: [<Text Node: ' '>]> |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <For Node: for photo in object.public, tail_len: 15> |
bit | u'\n\n <div class="row mygallery">\n ' |
bits | [u'\n\n <p class="textheader">Erstellt: ', u'24.06.2014 20:23', u' Uhr</p>\n <h1>Galerie: ', u'Vieux Moulin Becker - Schreckling', u'</h1>\n ', u'', u'\n\n <div class="row mygallery">\n '] |
self | [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <For Node: for photo in object.public, tail_len: 15> |
self | [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>] |
e | OperationalError('disk I/O error',) |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/defaulttags.py
in render
else:
context[self.loopvars[0]] = item
# In TEMPLATE_DEBUG mode provide source of the node which
# actually raised the exception
if settings.TEMPLATE_DEBUG:
for node in self.nodelist_loop:
try:
nodelist.append(node.render(context))...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
else:
for node in self.nodelist_loop:
Variable | Value |
---|---|
node | <Variable Node: photo.get_lightbox_url> |
len_values | 14 |
pop_context | False |
e | OperationalError('disk I/O error',) |
item | <Photo: Vieux Moulin Becker - Schreckling 14> |
loop_dict | {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {}, u'revcounter': 14, u'revcounter0': 13} |
self | <For Node: for photo in object.public, tail_len: 15> |
parentloop | {} |
i | 0 |
values | [<Photo: Vieux Moulin Becker - Schreckling 14>, <Photo: Vieux Moulin Becker - Schreckling 13>, <Photo: Vieux Moulin Becker - Schreckling 12>, <Photo: Vieux Moulin Becker - Schreckling 11>, <Photo: Vieux Moulin Becker - Schreckling 10>, <Photo: Vieux Moulin Becker - Schreckling 9>, <Photo: Vieux Moulin Becker - Schreckling 8>, <Photo: Vieux Moulin Becker - Schreckling 7>, <Photo: Vieux Moulin Becker - Schreckling 6>, <Photo: Vieux Moulin Becker - Schreckling 5>, <Photo: Vieux Moulin Becker - Schreckling 4>, <Photo: Vieux Moulin Becker - Schreckling 3>, <Photo: Vieux Moulin Becker - Schreckling 2>, <Photo: Vieux Moulin Becker - Schreckling 1>] |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
nodelist | [u'\n <div class="col-sm-6 col-md-4 lightbox-gallery">\n <div class="thumbnail">\n\n <!-- <a id="open-youtube" class="col-sm-4" href="http://youtu.be/iQ4D273C7Ac">\n <img class="img-responsive" src="//i1.ytimg.com/vi/iQ4D273C7Ac/mqdefault.jpg">\n </a> -->\n\n <a data-parent=".mygallery" data-toggle="lightbox" data-title="', u'Vieux Moulin Becker - Schreckling 14', u'"\n data-gallery="multiimages"\n href="'] |
unpack | False |
/env/zentonic/lib/python2.6/site-packages/django/template/debug.py
in render
e.django_template_source = node.source
raise
class DebugVariableNode(VariableNode):
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
output = template_localtime(output, use_tz=context.use_tz)
output = localize(output, use_l10n=context.use_l10n)
output = force_text(output)
except UnicodeDecodeError:
return ''
except Exception as e:
Variable | Value |
---|---|
self | <Variable Node: photo.get_lightbox_url> |
e | OperationalError('disk I/O error',) |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
if settings.TEMPLATE_STRING_IF_INVALID:
global invalid_var_format_string
Variable | Value |
---|---|
self | <django.template.base.FilterExpression object at 0x7ffa32addb90> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
if self.message_context:
return pgettext_lazy(self.message_context, value)
Variable | Value |
---|---|
self | <Variable: u'photo.get_lightbox_url'> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/template/base.py
in _resolve_lookup
if callable(current):
if getattr(current, 'do_not_call_in_templates', False):
pass
elif getattr(current, 'alters_data', False):
current = settings.TEMPLATE_STRING_IF_INVALID
else:
try: # method call (assuming no args required)
current = current()...
except TypeError: # arguments *were* required
# GOTCHA: This will also catch any TypeError
# raised in the function itself.
current = settings.TEMPLATE_STRING_IF_INVALID # invalid method call
except Exception as e:
if getattr(e, 'silent_variable_failure', False):
Variable | Value |
---|---|
current | <function _curried at 0x7ffa32936d70> |
bit | u'get_lightbox_url' |
e | OperationalError('disk I/O error',) |
self | <Variable: u'photo.get_lightbox_url'> |
context | [{'False': False, 'None': None, 'True': True}, {u'object': <Gallery: Vieux Moulin Becker - Schreckling>, 'gallery': <Gallery: Vieux Moulin Becker - Schreckling>, u'view': <photologue.views.GalleryDetailView object at 0x7ffa32bbd150>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7ffa32a144d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7ffa32ad9890>, 'user': <SimpleLazyObject: <function <lambda> at 0x7ffa32c29320>>}, {}, {u'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')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'de-DE'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'Europe/Berlin'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7ffa32bbd710>}, {u'request': <WSGIRequest path:/gallery/gallery/vieux-moulin-becker-schreckling/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_HOST': '138.201.43.233:8008', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '54.242.22.247', 'HTTP_X_FORWARDED_PROTO': 'https', 'PATH_INFO': u'/gallery/gallery/vieux-moulin-becker-schreckling/', 'PATH_TRANSLATED': '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/', 'QUERY_STRING': '', 'REMOTE_ADDR': '159.69.193.220', 'REMOTE_PORT': '44424', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/gallery/gallery/vieux-moulin-becker-schreckling/', 'SCRIPT_FILENAME': '/env/zentonic/apache/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '138.201.43.233', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': '138.201.43.233', 'SERVER_PORT': '8008', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.16 (Debian)', 'forwarded': '1', 'mod_wsgi.application_group': 'www.zentonic.org:8008|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8008', 'mod_wsgi.process_group': 'live', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7ffa3269e070>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ffa32ac0738>, 'wsgi.input': <mod_wsgi.Input object at 0x7ffa326a4df0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>}, {'block': <Block Node: content. Contents: [<Text Node: ' <p class="textheade'>, <Variable Node: object.date_added|date:"d.m.Y H:i">, <Text Node: ' Uhr</p> <h1>Galerie:'>, <Variable Node: object.title>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div class="row myg'>, <For Node: for photo in object.public, tail_len: 15>, <Text Node: ' </div> <div cl'>, <Variable Node: photo.get_absolute_url>, <Text Node: '"><img src="'>, <Variable Node: photo.get_thumbnail_url>, <Text Node: '" '>, <Block Node: gallery-photo-class. Contents: []>, <Text Node: '" '>, <Variable Node: photo.title>, <Text Node: '"/></a> </div> '>]>}, {u'forloop': {u'revcounter0': 13, u'last': False, u'counter': 1, u'parentloop': {}, u'revcounter': 14, u'counter0': 0, u'first': True}, u'photo': <Photo: Vieux Moulin Becker - Schreckling 14>}] |
/env/zentonic/lib/python2.6/site-packages/django/utils/functional.py
in _curried
# You can't trivially replace this with `functools.partial` because this binds
# to classes and returns bound instances, whereas functools.partial (on
# CPython) is a type and its instances don't bind.
def curry(_curried_func, *args, **kwargs):
def _curried(*moreargs, **morekwargs):
return _curried_func(*(args + moreargs), **dict(kwargs, **morekwargs))...
return _curried
def memoize(func, cache, num_args):
"""
Wrap a function so that results for any argument tuple are stored in
Variable | Value |
---|---|
morekwargs | {} |
moreargs | () |
args | () |
_curried_func | <bound method Photo._get_SIZE_url of <Photo: Vieux Moulin Becker - Schreckling 14>> |
kwargs | {'size': u'lightbox'} |
/env/zentonic/lib/python2.6/site-packages/photologue/models.py
in _get_SIZE_url
return Image.open(self._get_SIZE_filename(size)).size
def _get_SIZE_url(self, size):
photosize = PhotoSizeCache().sizes.get(size)
if not self.size_exists(photosize):
self.create_size(photosize)
if photosize.increment_count:
self.increment_count()...
return '/'.join([
self.cache_url(),
filepath_to_uri(self._get_filename_for_size(photosize.name))])
def _get_SIZE_filename(self, size):
photosize = PhotoSizeCache().sizes.get(size)
Variable | Value |
---|---|
self | <Photo: Vieux Moulin Becker - Schreckling 14> |
photosize | <PhotoSize: lightbox> |
size | u'lightbox' |
/env/zentonic/lib/python2.6/site-packages/photologue/models.py
in increment_count
def _get_SIZE_filename(self, size):
photosize = PhotoSizeCache().sizes.get(size)
return smart_str(os.path.join(self.cache_path(),
self._get_filename_for_size(photosize.name)))
def increment_count(self):
self.view_count += 1
models.Model.save(self)...
def add_accessor_methods(self, *args, **kwargs):
for size in PhotoSizeCache().sizes.keys():
setattr(self, 'get_%s_size' % size,
curry(self._get_SIZE_size, size=size))
setattr(self, 'get_%s_photosize' % size,
Variable | Value |
---|---|
self | <Photo: Vieux Moulin Becker - Schreckling 14> |
/env/zentonic/lib/python2.6/site-packages/django/db/models/base.py
in save
DeferredAttribute)]
loaded_fields = field_names.difference(deferred_fields)
if loaded_fields:
update_fields = frozenset(loaded_fields)
self.save_base(using=using, force_insert=force_insert,
force_update=force_update, update_fields=update_fields)...
save.alters_data = True
def save_base(self, raw=False, force_insert=False,
force_update=False, using=None, update_fields=None):
"""
Handles the parts of saving which should be done only once per save,
Variable | Value |
---|---|
update_fields | None |
using | 'default' |
self | <Photo: Vieux Moulin Becker - Schreckling 14> |
force_update | False |
force_insert | False |
/env/zentonic/lib/python2.6/site-packages/django/db/models/base.py
in save_base
meta = cls._meta
if not meta.auto_created:
signals.pre_save.send(sender=origin, instance=self, raw=raw, using=using,
update_fields=update_fields)
with transaction.commit_on_success_unless_managed(using=using, savepoint=False):
if not raw:
self._save_parents(cls, using, update_fields)
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)...
# Store the database on which the object was saved
self._state.db = using
# Once saved, this is no longer a to-be-added instance.
self._state.adding = False
# Signal that the save is complete
Variable | Value |
---|---|
origin | <class 'photologue.models.Photo'> |
update_fields | None |
force_insert | False |
self | <Photo: Vieux Moulin Becker - Schreckling 14> |
force_update | False |
raw | False |
meta | <Options for Photo> |
using | 'default' |
cls | <class 'photologue.models.Photo'> |
/env/zentonic/lib/python2.6/site-packages/django/db/models/base.py
in _save_table
# If possible, try an UPDATE. If that doesn't update anything, do an INSERT.
if pk_set and not force_insert:
base_qs = cls._base_manager.using(using)
values = [(f, None, (getattr(self, f.attname) if raw else f.pre_save(self, False)))
for f in non_pks]
forced_update = update_fields or force_update
updated = self._do_update(base_qs, using, pk_val, values, update_fields,
forced_update)...
if force_update and not updated:
raise DatabaseError("Forced update did not affect any rows.")
if update_fields and not updated:
raise DatabaseError("Save with update_fields did not affect any rows.")
if not updated:
if meta.order_with_respect_to:
Variable | Value |
---|---|
forced_update | False |
non_pks | [<django.db.models.fields.files.ImageField: image>, <django.db.models.fields.DateTimeField: date_taken>, <django.db.models.fields.PositiveIntegerField: view_count>, <django.db.models.fields.CharField: crop_from>, <django.db.models.fields.related.ForeignKey: effect>, <django.db.models.fields.CharField: title>, <django.db.models.fields.SlugField: title_slug>, <django.db.models.fields.TextField: caption>, <django.db.models.fields.DateTimeField: date_added>, <django.db.models.fields.BooleanField: is_public>, <tagging.fields.TagField: tags>] |
updated | False |
update_fields | None |
f | <tagging.fields.TagField: tags> |
base_qs | [<Photo: Emmes 2015 Feuerwerk 10>, <Photo: Emmes 2015 Feuerwerk 9>, <Photo: Emmes 2015 Feuerwerk 8>, <Photo: Emmes 2015 Feuerwerk 7>, <Photo: Emmes 2015 Feuerwerk 6>, <Photo: Emmes 2015 Feuerwerk 5>, <Photo: Emmes 2015 Feuerwerk 4>, <Photo: Emmes 2015 Feuerwerk 3>, <Photo: Emmes 2015 Feuerwerk 2>, <Photo: Emmes 2015 Feuerwerk 1>, <Photo: Ladina-2015-01 23>, <Photo: Ladina-2015-01 22>, <Photo: Ladina-2015-01 21>, <Photo: Ladina-2015-01 20>, <Photo: Ladina-2015-01 19>, <Photo: Ladina-2015-01 18>, <Photo: Ladina-2015-01 17>, <Photo: Ladina-2015-01 16>, <Photo: Ladina-2015-01 15>, <Photo: Ladina-2015-01 14>, '...(remaining elements truncated)...'] |
self | <Photo: Vieux Moulin Becker - Schreckling 14> |
force_update | False |
raw | False |
meta | <Options for Photo> |
values | [(<django.db.models.fields.files.ImageField: image>, None, <ImageFieldFile: photologue/photos/unbenannte_Fotosession-130-3.jpg>), (<django.db.models.fields.DateTimeField: date_taken>, None, datetime.datetime(2014, 6, 21, 19, 2, 19, tzinfo=<UTC>)), (<django.db.models.fields.PositiveIntegerField: view_count>, None, 1667), (<django.db.models.fields.CharField: crop_from>, None, u'center'), (<django.db.models.fields.related.ForeignKey: effect>, None, None), (<django.db.models.fields.CharField: title>, None, u'Vieux Moulin Becker - Schreckling 14'), (<django.db.models.fields.SlugField: title_slug>, None, u'vieux-moulin-becker-schreckling-14'), (<django.db.models.fields.TextField: caption>, None, u''), (<django.db.models.fields.DateTimeField: date_added>, None, datetime.datetime(2014, 6, 24, 18, 25, 43, 440850, tzinfo=<UTC>)), (<django.db.models.fields.BooleanField: is_public>, None, True), (<tagging.fields.TagField: tags>, None, u'')] |
pk_val | 95 |
pk_set | True |
using | 'default' |
force_insert | False |
cls | <class 'photologue.models.Photo'> |
/env/zentonic/lib/python2.6/site-packages/django/db/models/base.py
in _do_update
return update_fields is not None or filtered.exists()
if self._meta.select_on_save and not forced_update:
if filtered.exists():
filtered._update(values)
return True
else:
return False
return filtered._update(values) > 0...
def _do_insert(self, manager, using, fields, update_pk, raw):
"""
Do an INSERT. If update_pk is defined then this method should return
the new pk for the model.
"""
Variable | Value |
---|---|
forced_update | False |
update_fields | None |
base_qs | [<Photo: Emmes 2015 Feuerwerk 10>, <Photo: Emmes 2015 Feuerwerk 9>, <Photo: Emmes 2015 Feuerwerk 8>, <Photo: Emmes 2015 Feuerwerk 7>, <Photo: Emmes 2015 Feuerwerk 6>, <Photo: Emmes 2015 Feuerwerk 5>, <Photo: Emmes 2015 Feuerwerk 4>, <Photo: Emmes 2015 Feuerwerk 3>, <Photo: Emmes 2015 Feuerwerk 2>, <Photo: Emmes 2015 Feuerwerk 1>, <Photo: Ladina-2015-01 23>, <Photo: Ladina-2015-01 22>, <Photo: Ladina-2015-01 21>, <Photo: Ladina-2015-01 20>, <Photo: Ladina-2015-01 19>, <Photo: Ladina-2015-01 18>, <Photo: Ladina-2015-01 17>, <Photo: Ladina-2015-01 16>, <Photo: Ladina-2015-01 15>, <Photo: Ladina-2015-01 14>, '...(remaining elements truncated)...'] |
self | <Photo: Vieux Moulin Becker - Schreckling 14> |
values | [(<django.db.models.fields.files.ImageField: image>, None, <ImageFieldFile: photologue/photos/unbenannte_Fotosession-130-3.jpg>), (<django.db.models.fields.DateTimeField: date_taken>, None, datetime.datetime(2014, 6, 21, 19, 2, 19, tzinfo=<UTC>)), (<django.db.models.fields.PositiveIntegerField: view_count>, None, 1667), (<django.db.models.fields.CharField: crop_from>, None, u'center'), (<django.db.models.fields.related.ForeignKey: effect>, None, None), (<django.db.models.fields.CharField: title>, None, u'Vieux Moulin Becker - Schreckling 14'), (<django.db.models.fields.SlugField: title_slug>, None, u'vieux-moulin-becker-schreckling-14'), (<django.db.models.fields.TextField: caption>, None, u''), (<django.db.models.fields.DateTimeField: date_added>, None, datetime.datetime(2014, 6, 24, 18, 25, 43, 440850, tzinfo=<UTC>)), (<django.db.models.fields.BooleanField: is_public>, None, True), (<tagging.fields.TagField: tags>, None, u'')] |
pk_val | 95 |
filtered | [<Photo: Vieux Moulin Becker - Schreckling 14>] |
using | 'default' |
/env/zentonic/lib/python2.6/site-packages/django/db/models/query.py
in _update
useful at that level).
"""
assert self.query.can_filter(), \
"Cannot update a query once a slice has been taken."
query = self.query.clone(sql.UpdateQuery)
query.add_update_fields(values)
self._result_cache = None
return query.get_compiler(self.db).execute_sql(None)...
_update.alters_data = True
def exists(self):
if self._result_cache is None:
return self.query.has_results(using=self.db)
return bool(self._result_cache)
Variable | Value |
---|---|
query | <django.db.models.sql.subqueries.UpdateQuery object at 0x7ff9fc2e1590> |
self | [<Photo: Vieux Moulin Becker - Schreckling 14>] |
values | [(<django.db.models.fields.files.ImageField: image>, None, <ImageFieldFile: photologue/photos/unbenannte_Fotosession-130-3.jpg>), (<django.db.models.fields.DateTimeField: date_taken>, None, datetime.datetime(2014, 6, 21, 19, 2, 19, tzinfo=<UTC>)), (<django.db.models.fields.PositiveIntegerField: view_count>, None, 1667), (<django.db.models.fields.CharField: crop_from>, None, u'center'), (<django.db.models.fields.related.ForeignKey: effect>, None, None), (<django.db.models.fields.CharField: title>, None, u'Vieux Moulin Becker - Schreckling 14'), (<django.db.models.fields.SlugField: title_slug>, None, u'vieux-moulin-becker-schreckling-14'), (<django.db.models.fields.TextField: caption>, None, u''), (<django.db.models.fields.DateTimeField: date_added>, None, datetime.datetime(2014, 6, 24, 18, 25, 43, 440850, tzinfo=<UTC>)), (<django.db.models.fields.BooleanField: is_public>, None, True), (<tagging.fields.TagField: tags>, None, u'')] |
/env/zentonic/lib/python2.6/site-packages/django/db/models/sql/compiler.py
in execute_sql
def execute_sql(self, result_type):
"""
Execute the specified update. Returns the number of rows affected by
the primary update query. The "primary update query" is the first
non-empty query that is executed. Row counts for any subsequent,
related queries are not available.
"""
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)...
rows = cursor.rowcount if cursor else 0
is_empty = cursor is None
del cursor
for query in self.query.get_related_updates():
aux_rows = query.get_compiler(self.using).execute_sql(result_type)
if is_empty:
Variable | Value |
---|---|
self | <django.db.models.sql.compiler.SQLUpdateCompiler object at 0x7ffa32a38490> |
result_type | None |
/env/zentonic/lib/python2.6/site-packages/django/db/models/sql/compiler.py
in execute_sql
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
return
cursor = self.connection.cursor()
cursor.execute(sql, params)...
if not result_type:
return cursor
if result_type == SINGLE:
if self.ordering_aliases:
return cursor.fetchone()[:-len(self.ordering_aliases)]
Variable | Value |
---|---|
cursor | <django.db.backends.util.CursorDebugWrapper object at 0x7ffa32a38fd0> |
self | <django.db.models.sql.compiler.SQLUpdateCompiler object at 0x7ffa32a38490> |
params | (u'photologue/photos/unbenannte_Fotosession-130-3.jpg', u'2014-06-21 19:02:19', 1667, u'center', u'Vieux Moulin Becker - Schreckling 14', u'vieux-moulin-becker-schreckling-14', u'', u'2014-06-24 18:25:43.440850', True, u'', 95) |
result_type | None |
sql | u'UPDATE "photologue_photo" SET "image" = %s, "date_taken" = %s, "view_count" = %s, "crop_from" = %s, "effect_id" = NULL, "title" = %s, "title_slug" = %s, "caption" = %s, "date_added" = %s, "is_public" = %s, "tags" = %s WHERE "photologue_photo"."id" = %s ' |
/env/zentonic/lib/python2.6/site-packages/django/db/backends/util.py
in execute
class CursorDebugWrapper(CursorWrapper):
# XXX callproc isn't instrumented at this time.
def execute(self, sql, params=None):
start = time()
try:
return super(CursorDebugWrapper, self).execute(sql, params)...
finally:
stop = time()
duration = stop - start
sql = self.db.ops.last_executed_query(self.cursor, sql, params)
self.db.queries.append({
'sql': sql,
Variable | Value |
---|---|
self | <django.db.backends.util.CursorDebugWrapper object at 0x7ffa32a38fd0> |
stop | 1711709433.8016911 |
start | 1711709433.8015521 |
params | (u'photologue/photos/unbenannte_Fotosession-130-3.jpg', u'2014-06-21 19:02:19', 1667, u'center', u'Vieux Moulin Becker - Schreckling 14', u'vieux-moulin-becker-schreckling-14', u'', u'2014-06-24 18:25:43.440850', True, u'', 95) |
sql | u'QUERY = u\'UPDATE "photologue_photo" SET "image" = %s, "date_taken" = %s, "view_count" = %s, "crop_from" = %s, "effect_id" = NULL, "title" = %s, "title_slug" = %s, "caption" = %s, "date_added" = %s, "is_public" = %s, "tags" = %s WHERE "photologue_photo"."id" = %s \' - PARAMS = (u\'photologue/photos/unbenannte_Fotosession-130-3.jpg\', u\'2014-06-21 19:02:19\', 1667, u\'center\', u\'Vieux Moulin Becker - Schreckling 14\', u\'vieux-moulin-becker-schreckling-14\', u\'\', u\'2014-06-24 18:25:43.440850\', True, u\'\', 95)' |
duration | 0.00013899803161621094 |
/env/zentonic/lib/python2.6/site-packages/django/db/backends/util.py
in execute
def execute(self, sql, params=None):
self.db.validate_no_broken_transaction()
self.db.set_dirty()
with self.db.wrap_database_errors:
if params is None:
return self.cursor.execute(sql)
else:
return self.cursor.execute(sql, params)...
def executemany(self, sql, param_list):
self.db.validate_no_broken_transaction()
self.db.set_dirty()
with self.db.wrap_database_errors:
return self.cursor.executemany(sql, param_list)
Variable | Value |
---|---|
self | <django.db.backends.util.CursorDebugWrapper object at 0x7ffa32a38fd0> |
params | (u'photologue/photos/unbenannte_Fotosession-130-3.jpg', u'2014-06-21 19:02:19', 1667, u'center', u'Vieux Moulin Becker - Schreckling 14', u'vieux-moulin-becker-schreckling-14', u'', u'2014-06-24 18:25:43.440850', True, u'', 95) |
sql | u'UPDATE "photologue_photo" SET "image" = %s, "date_taken" = %s, "view_count" = %s, "crop_from" = %s, "effect_id" = NULL, "title" = %s, "title_slug" = %s, "caption" = %s, "date_added" = %s, "is_public" = %s, "tags" = %s WHERE "photologue_photo"."id" = %s ' |
/env/zentonic/lib/python2.6/site-packages/django/db/utils.py
in __exit__
args = (exc_value,)
dj_exc_value = dj_exc_type(*args)
dj_exc_value.__cause__ = exc_value
# Only set the 'errors_occurred' flag for errors that may make
# the connection unusable.
if dj_exc_type not in (DataError, IntegrityError):
self.wrapper.errors_occurred = True
six.reraise(dj_exc_type, dj_exc_value, traceback)...
def __call__(self, func):
# Note that we are intentionally not using @wraps here for performance
# reasons. Refs #21109.
def inner(*args, **kwargs):
with self:
Variable | Value |
---|---|
traceback | <traceback object at 0x7ffa042b4c68> |
self | <django.db.utils.DatabaseErrorWrapper object at 0x7ff9fc2e1b50> |
args | ('disk I/O error',) |
exc_value | 'disk I/O error' |
dj_exc_type | <class 'django.db.utils.OperationalError'> |
dj_exc_value | OperationalError('disk I/O error',) |
exc_type | <class 'sqlite3.OperationalError'> |
db_exc_type | <class 'sqlite3.OperationalError'> |
/env/zentonic/lib/python2.6/site-packages/django/db/backends/util.py
in execute
def execute(self, sql, params=None):
self.db.validate_no_broken_transaction()
self.db.set_dirty()
with self.db.wrap_database_errors:
if params is None:
return self.cursor.execute(sql)
else:
return self.cursor.execute(sql, params)...
def executemany(self, sql, param_list):
self.db.validate_no_broken_transaction()
self.db.set_dirty()
with self.db.wrap_database_errors:
return self.cursor.executemany(sql, param_list)
Variable | Value |
---|---|
self | <django.db.backends.util.CursorDebugWrapper object at 0x7ffa32a38fd0> |
params | (u'photologue/photos/unbenannte_Fotosession-130-3.jpg', u'2014-06-21 19:02:19', 1667, u'center', u'Vieux Moulin Becker - Schreckling 14', u'vieux-moulin-becker-schreckling-14', u'', u'2014-06-24 18:25:43.440850', True, u'', 95) |
sql | u'UPDATE "photologue_photo" SET "image" = %s, "date_taken" = %s, "view_count" = %s, "crop_from" = %s, "effect_id" = NULL, "title" = %s, "title_slug" = %s, "caption" = %s, "date_added" = %s, "is_public" = %s, "tags" = %s WHERE "photologue_photo"."id" = %s ' |
/env/zentonic/lib/python2.6/site-packages/django/db/backends/sqlite3/base.py
in execute
This fixes it -- but note that if you want to use a literal "%s" in a query,
you'll need to use "%%s".
"""
def execute(self, query, params=None):
if params is None:
return Database.Cursor.execute(self, query)
query = self.convert_query(query)
return Database.Cursor.execute(self, query, params)...
def executemany(self, query, param_list):
query = self.convert_query(query)
return Database.Cursor.executemany(self, query, param_list)
def convert_query(self, query):
Variable | Value |
---|---|
query | u'UPDATE "photologue_photo" SET "image" = ?, "date_taken" = ?, "view_count" = ?, "crop_from" = ?, "effect_id" = NULL, "title" = ?, "title_slug" = ?, "caption" = ?, "date_added" = ?, "is_public" = ?, "tags" = ? WHERE "photologue_photo"."id" = ? ' |
self | <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7ffa042e3ea8> |
params | (u'photologue/photos/unbenannte_Fotosession-130-3.jpg', u'2014-06-21 19:02:19', 1667, u'center', u'Vieux Moulin Becker - Schreckling 14', u'vieux-moulin-becker-schreckling-14', u'', u'2014-06-24 18:25:43.440850', True, u'', 95) |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '8008' |
SERVER_SOFTWARE | 'Apache/2.2.16 (Debian)' |
SCRIPT_NAME | u'' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.2.16 (Debian) Server at 138.201.43.233 Port 8008</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/gallery/gallery/vieux-moulin-becker-schreckling/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
forwarded | '1' |
SERVER_NAME | '138.201.43.233' |
REMOTE_ADDR | '159.69.193.220' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/env/zentonic/apache/django.wsgi/gallery/gallery/vieux-moulin-becker-schreckling/' |
SERVER_PORT | '8008' |
wsgi.multiprocess | False |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '138.201.43.233' |
DOCUMENT_ROOT | '/etc/apache2/htdocs' |
mod_wsgi.process_group | 'live' |
HTTP_X_FORWARDED_PROTO | 'https' |
SCRIPT_FILENAME | '/env/zentonic/apache/django.wsgi' |
SERVER_ADMIN | '[no address given]' |
wsgi.input | <mod_wsgi.Input object at 0x7ffa326a4df0> |
HTTP_HOST | '138.201.43.233:8008' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/gallery/gallery/vieux-moulin-becker-schreckling/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 1) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '54.242.22.247' |
wsgi.errors | <mod_wsgi.Log object at 0x7ffa3269e070> |
REMOTE_PORT | '44424' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (3, 3) |
wsgi.run_once | False |
mod_wsgi.application_group | 'www.zentonic.org:8008|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'MM7cA23g4Fzn705s6EbjXqc56sFaViWU' |
HTTP_ACCEPT_ENCODING | 'gzip' |
settings
Setting | Value |
---|---|
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'de-DE' |
ROOT_URLCONF | 'zentonic.urls' |
MANAGERS | ((u'Christian M\xfcller', 'cm@z6c.de'),) |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/env/zentonic/zentonic/static/static/' |
ALLOWED_HOSTS | ('.zentonic.org', '127.0.0.1', 'localhost') |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FILE_UPLOAD_PERMISSIONS | None |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
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.sqlite3', 'HOST': '', 'NAME': '/env/zentonic/database/zentonic.sqlite3', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': ''}} |
SERVER_EMAIL | 'root@localhost' |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
PHOTOLOGUE_GALLERY_SAMPLE_SIZE | 4 |
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.locmem.LocMemCache'}} |
HELPDESK_DEFAULT_SETTINGS | {'email_on_ticket_apichange': True, 'email_on_ticket_assign': True, 'email_on_ticket_change': True, 'login_view_ticketlist': True, 'tickets_per_page': 25, 'use_email_as_submitter': True} |
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', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
APPEND_SLASH | True |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'zentonic.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
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_admin_bootstrapped', 'bootstrapform', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'autocomplete_light', 'django_extensions', 'tagging', 'south', 'photologue', 'photologue_custom', 'dpaste', 'mptt', 'google-code-prettify', 'tinymce', 'taggit', 'taggit_templatetags', 'taggit_live', 'blog', 'markup_deprecated', 'django.contrib.humanize', 'markdown_deux', 'helpdesk') |
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')) |
SETTINGS_PATH | '/env/zentonic/zentonic' |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | ('/env/zentonic/zentonic/static', '/env/zentonic/zentonic/static/bootstrap') |
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') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PHOTOLOGUE_APP_DIR | '/env/zentonic/lib/python2.6/site-packages/photologue' |
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/' |
TEMPLATE_STRING_IF_INVALID | '' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
PHOTOLOGUE_DIR | 'photologue' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | '2ki.cmsys.it' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/env/zentonic/media/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | ((u'Christian M\xfcller', 'cm@z6c.de'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/env/zentonic/zentonic/templates', '/env/zentonic/zentonic/templates', '/env/zentonic/lib/python2.6/site-packages/photologue/contrib/bootstrap/templates', '/env/zentonic/lib/python2.6/site-packages/photologue', '/env/zentonic/zentonic/photologue_custom/templates') |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Berlin' |
SOUTH_MIGRATION_MODULES | {'taggit': 'taggit.south_migrations'} |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
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', 'django.core.context_processors.request') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
SEND_BROKEN_LINK_EMAILS | False |
CACHE_MIDDLEWARE_SECONDS | 600 |
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 | 'support@zentonic.org' |
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.