Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf'
Request Method: | GET |
---|---|
Request URL: | http://gesto.to.gov.br/uc/93/documentos/ |
Exception Type: | TemplateSyntaxError |
Exception Value: | Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf' |
Exception Location: | /usr/lib/python2.7/genericpath.py in getsize, line 49 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/opt/django/projects/tncuc', '/usr/local/bin', '/opt/django/projects/tncuc', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/opt/django/projects'] |
Server time: | Tue, 19 Mar 2024 05:12:39 -0300 |
In template /opt/django/projects/tncuc/publico/templates/publico/secao_documentos.html
, error at line 40
30 | |
---|---|
31 | {% block content %} |
32 | <div id="conteudo" class="grid_24"> |
33 | |
34 | <div id="boasvindas"> |
35 | <span class="titulo">{{ uc }}<span>Documentos</span></span> |
36 | </div> |
37 | |
38 | <div id="box-documentos"> |
39 | <ul> |
40 | {% for doc in doc_list %} |
41 | <li> |
42 | <span class="tit">{{ doc.descricao }}</span><br /> |
43 | <div class="desc"> |
44 | {% if doc.tipo or doc.data %} |
45 | {{ doc.tipo|default:"" }} {% if doc.tipo and doc.data %}-{% endif %}{{ doc.data|date:"d/m/Y"|default:"" }}<br /> |
46 | {% endif %} |
47 | <a href="{{ doc.arquivo.url }}" class="download-link" target="_blank">baixar ({{ doc.arquivo.size|filesizeformat }})</a> |
48 | </div> |
49 | </li> |
50 | {% endfor %} |
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
in get_response
Variable | Value |
---|---|
callback | <function secao_documentos at 0x7f6ccab71500> |
callback_args | () |
callback_kwargs | {'uc_id': u'93'} |
e | TemplateSyntaxError(u"Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf'",) |
exc_info | (<class 'django.template.TemplateSyntaxError'>,
TemplateSyntaxError(u"Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf'",),
<traceback object at 0x7f6cca341758>) |
exceptions | <module 'django.core.exceptions' from '/usr/local/lib/python2.7/dist-packages/django/core/exceptions.pyc'> |
middleware_method | <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0x7f6cdb066d90>> |
receivers | [(<function _rollback_on_exception at 0x7f6cd70e40c8>, None),
(<function sentry_exception_handler at 0x7f6ccabb9e60>, None)] |
request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'HTTP_ACCEPT': '*/*',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'gesto.to.gov.br',
'HTTP_USER_AGENT': 'claudebot',
'HTTP_X_FORWARDED_FOR': '3.236.111.234',
'PATH_INFO': u'/uc/93/documentos/',
'QUERY_STRING': '',
'RAW_URI': '/uc/93/documentos/',
'REMOTE_ADDR': '172.17.0.4',
'REMOTE_PORT': '34650',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': u'',
'SERVER_NAME': '0.0.0.0',
'SERVER_PORT': '8001',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SOFTWARE': 'gunicorn/19.7.0',
'gunicorn.socket': <socket._socketobject object at 0x7f6cca39d670>,
'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6cca5e3e90>,
'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,
'wsgi.input': <gunicorn.http.body.Body object at 0x7f6cca6e2f90>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
resolver | <RegexURLResolver tncuc.publico.urls (None:None) ^/> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f6cdb0ffa10> |
settings | <django.conf.LazySettings object at 0x7f6cdb14c410> |
urlconf | 'tncuc.publico.urls' |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.pyc'> |
/opt/django/projects/tncuc/publico/views.py
in secao_documentos
Variable | Value |
---|---|
criacao | False |
doc_list | [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>] |
request | <WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'HTTP_ACCEPT': '*/*',
'HTTP_CONNECTION': 'close',
'HTTP_HOST': 'gesto.to.gov.br',
'HTTP_USER_AGENT': 'claudebot',
'HTTP_X_FORWARDED_FOR': '3.236.111.234',
'PATH_INFO': u'/uc/93/documentos/',
'QUERY_STRING': '',
'RAW_URI': '/uc/93/documentos/',
'REMOTE_ADDR': '172.17.0.4',
'REMOTE_PORT': '34650',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': u'',
'SERVER_NAME': '0.0.0.0',
'SERVER_PORT': '8001',
'SERVER_PROTOCOL': 'HTTP/1.0',
'SERVER_SOFTWARE': 'gunicorn/19.7.0',
'gunicorn.socket': <socket._socketobject object at 0x7f6cca39d670>,
'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6cca5e3e90>,
'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,
'wsgi.input': <gunicorn.http.body.Body object at 0x7f6cca6e2f90>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}> |
uc | <UC: Área Municipal de Proteção Ambiental Pé do Morro> |
uc_id | u'93' |
/usr/local/lib/python2.7/dist-packages/django/shortcuts/__init__.py
in render_to_response
Variable | Value |
---|---|
args | ('publico/secao_documentos.html',
{'criacao': False,
'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>],
'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}) |
httpresponse_kwargs | {'mimetype': None} |
kwargs | {'context_instance': [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}]} |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in render_to_string
Variable | Value |
---|---|
context_instance | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
dictionary | {'criacao': False,
'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>],
'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>} |
t | <django.template.Template object at 0x7f6cca6e2610> |
template_name | 'publico/secao_documentos.html' |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in render
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
self | <django.template.Template object at 0x7f6cca6e2610> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in render
Variable | Value |
---|---|
bits | [] |
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
node | <ExtendsNode: extends "publico/base_uc.html"> |
self | [<ExtendsNode: extends "publico/base_uc.html">] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render_node
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
e | TemplateSyntaxError(u"Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf'",) |
node | <ExtendsNode: extends "publico/base_uc.html"> |
self | [<ExtendsNode: extends "publico/base_uc.html">] |
/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py
in render
Variable | Value |
---|---|
block_node | <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]> |
compiled_parent | <django.template.Template object at 0x7f6cca6e2b50> |
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
n | <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]> |
parent_block | <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]> |
parent_blocks | {u'content': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>,
u'css': <Block Node: css. Contents: [<Text Node: '
<style type="text/css">
'>, <Variable Node: MEDIA_URL>, <Text Node: 'publico/images/b35.png');'>]>,
u'javascript': <Block Node: javascript. Contents: []>} |
self | <ExtendsNode: extends "publico/base_uc.html"> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in render
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
self | <django.template.Template object at 0x7f6cca6e2b50> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in render
Variable | Value |
---|---|
bits | [u'<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xml:lang="pt-br" xmlns="http://www.w3.org/1999/xhtml" lang="pt-br"><head>\n\n\t\t\n \n <title>\xc1reas Protegidas - Naturatins</title>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta http-equiv="Cache-Control" content="no-cache, no-store">\n <meta http-equiv="Pragma" content="no-cache, no-store">\n <meta http-equiv="expires" content="Mon, 06 Jan 1990 00:00:01 GMT">\n <meta name="description" content="">\n <meta name="keywords" content="">\n <meta name="robots" content="">\n <meta name="rating" content="General">\n <meta name="author" content="Secretaria da Comunica\xe7\xe3o - Governo do \nTocantins">\n <meta name="language" content="pt-br">\n <link rel="shortcut icon" href="http://web.secom.to.gov.br/img/favicon.gif">\n \n <link rel="stylesheet" href="',
u'/site_media/',
u'publico/css/default.css">\n <link rel="stylesheet" href="',
u'/site_media/',
u'publico/css/grid.css" media="screen">\n <link rel="stylesheet" href="',
u'/site_media/',
u'publico/css/layout.css" media="screen">\n\t\t<style type="text/css">\n\t\t\t#logo-uc {\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 110px;\n\t\t\t\tmargin-left: 10px;\n\t\t\t}\n\t\t</style>\n\t\t',
u'\n<style type="text/css">\n\t#box-documentos li .tit {\n\t\tfont-size: 15px;\n\t\tcolor: #663300;\n\t\tfont-weight: bold;\n\t}\n\t\n\t#box-documentos ul {\n\t\tmargin-left: 20px;\n\t}\n\t\n\t#box-documentos li{ \n\t list-style:square; \n\t color:#977751;\n\t font-size: 12px;\n\t margin:0 5px; \n\t margin-bottom:12px;\n\t}\n\t\n #box-documentos .desc {\n background:url(\'/site_media/publico/images/b35.png\');\n padding: 3px;\n }\n\t\n</style>\n',
u'\n \n <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>\n \n <script type="text/javascript" src="',
u'/site_media/',
u'publico/js/efeitos.js"></script>\n\t\t',
'',
u'\n\n </head><body>\n\t<div>\n\t\t<script src="http://barra.to.gov.br/topo.js?k=gesto" type="text/javascript"></script>\n\t</div>\n <div id="geral" class="container_24">\n <div id="topo"><img src="',
u'/site_media/upload/imagens_site/escada_-_Copia.jpeg',
u'" height="150" width="960"></div>\n\t\t',
'',
u'\n <div id="menu">\n <ul>\n <li><a href="',
'/',
u'">GESTO</a></li>\n <li><a href="',
'/uc/',
u'">Unidades de Conserva\xe7\xe3o</a></li>\n <li><a href="',
'/uc/93/',
u'">Inicial</a></li>\n <li><a href="',
'/uc/93/documentos/',
u'">Documentos</a></li>\n <li><a href="',
'/uc/93/fotos/',
u'">Fotos</a></li>\n ',
u'\n <li><a href="/uc/93/mapa/">Mapa</a></li>\n <li><a href="/uc/93/financeiro/">Financeiro</a></li>\n ',
u'\n </ul>\n </div>\n \n '] |
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
node | <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]> |
self | [<Text Node: '<!DOCTYPE HTML PUBLIC "-/'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/css/default.css">'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/css/grid.css" med'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/css/layout.css" m'>,
<Block Node: css. Contents: [<Text Node: '
<style type="text/css">
'>, <Variable Node: MEDIA_URL>, <Text Node: 'publico/images/b35.png');'>]>,
<Text Node: '
<script'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/js/efeitos.js"></'>,
<Block Node: javascript. Contents: []>,
<Text Node: '
</head><body>
<div'>,
<If node>,
<Text Node: '" height="150" width="960'>,
<If node>,
<Text Node: '
<div id="menu">
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71cb50>,
<Text Node: '">GESTO</a></li>
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71ce10>,
<Text Node: '">Unidades de Conserva??o'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71c790>,
<Text Node: '">Inicial</a></li>
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71c6d0>,
<Text Node: '">Documentos</a></li>
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71cf50>,
<Text Node: '">Fotos</a></li>
'>,
<If node>,
<Text Node: '
</ul>
'>,
<Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>,
<Text Node: '
<div id="ba'>] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render_node
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
e | TemplateSyntaxError(u"Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf'",) |
node | <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]> |
self | [<Text Node: '<!DOCTYPE HTML PUBLIC "-/'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/css/default.css">'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/css/grid.css" med'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/css/layout.css" m'>,
<Block Node: css. Contents: [<Text Node: '
<style type="text/css">
'>, <Variable Node: MEDIA_URL>, <Text Node: 'publico/images/b35.png');'>]>,
<Text Node: '
<script'>,
<Variable Node: MEDIA_URL>,
<Text Node: 'publico/js/efeitos.js"></'>,
<Block Node: javascript. Contents: []>,
<Text Node: '
</head><body>
<div'>,
<If node>,
<Text Node: '" height="150" width="960'>,
<If node>,
<Text Node: '
<div id="menu">
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71cb50>,
<Text Node: '">GESTO</a></li>
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71ce10>,
<Text Node: '">Unidades de Conserva??o'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71c790>,
<Text Node: '">Inicial</a></li>
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71c6d0>,
<Text Node: '">Documentos</a></li>
'>,
<django.template.defaulttags.URLNode object at 0x7f6cca71cf50>,
<Text Node: '">Fotos</a></li>
'>,
<If node>,
<Text Node: '
</ul>
'>,
<Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>,
<Text Node: '
<div id="ba'>] |
/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py
in render
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
self | <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in render
Variable | Value |
---|---|
bits | [u'\n <div id="conteudo" class="grid_24">\n \n <div id="boasvindas">\n <span class="titulo">',
u'\xc1rea Municipal de Prote\xe7\xe3o Ambiental P\xe9 do Morro',
u'<span>Documentos</span></span>\n </div>\n\t\t\t\n\t\t\t<div id="box-documentos">\n\t\t\t\t<ul>\n '] |
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
node | <For Node: for doc in doc_list, tail_len: 9> |
self | [<Text Node: '
<div id="conteud'>,
<Variable Node: uc>,
<Text Node: '<span>Documentos</span></'>,
<For Node: for doc in doc_list, tail_len: 9>,
<Text Node: '
</ul>
'>,
<If node>,
<Text Node: '
</div>
</'>] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render_node
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
e | OSError(2, 'No such file or directory') |
exc_info | <built-in function exc_info> |
node | <For Node: for doc in doc_list, tail_len: 9> |
self | [<Text Node: '
<div id="conteud'>,
<Variable Node: uc>,
<Text Node: '<span>Documentos</span></'>,
<For Node: for doc in doc_list, tail_len: 9>,
<Text Node: '
</ul>
'>,
<If node>,
<Text Node: '
</div>
</'>] |
wrapped | TemplateSyntaxError(u"Caught OSError while rendering: [Errno 2] No such file or directory: '/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf'",) |
/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py
in render
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
i | 0 |
item | <Documento: Documento object> |
len_values | 8 |
loop_dict | {'counter': 1,
'counter0': 0,
'first': True,
'last': False,
'parentloop': {},
'revcounter': 8,
'revcounter0': 7} |
node | <Variable Node: doc.arquivo.size|filesizeformat> |
nodelist | [u'\n\t\t\t\t <li>\n\t\t\t\t \t <span class="tit">',
u'Decreto de cria\xe7\xe3o',
u'</span><br />\n\t\t\t\t\t\t <div class="desc">\n\t\t\t\t\t\t ',
u'\n\t\t\t\t\t\t DECRETO <br />\n\t\t\t\t\t\t ',
u'\n\t\t\t\t\t\t <a href="',
u'/site_media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf',
u'" class="download-link" target="_blank">baixar ('] |
parentloop | {} |
self | <For Node: for doc in doc_list, tail_len: 9> |
unpack | False |
values | [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
self | <Variable Node: doc.arquivo.size|filesizeformat> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in resolve
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
ignore_failures | False |
self | <django.template.FilterExpression object at 0x7f6cca70b210> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in resolve
Variable | Value |
---|---|
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
self | <Variable: u'doc.arquivo.size'> |
/usr/local/lib/python2.7/dist-packages/django/template/__init__.py
in _resolve_lookup
Variable | Value |
---|---|
bit | u'size' |
context | [{'forloop': {'revcounter0': 7, 'last': False, 'counter': 1, 'parentloop': {}, 'revcounter': 8, 'counter0': 0, 'first': True}, u'doc': <Documento: Documento object>}, {'block': <Block Node: content. Contents: [<Text Node: '
<div id="conteud'>, <Variable Node: uc>, <Text Node: '<span>Documentos</span></'>, <For Node: for doc in doc_list, tail_len: 9>, <Text Node: '
</ul>
'>, <If node>, <Text Node: '
</div>
</'>]>}, {'doc_list': [<Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>, <Documento: Documento object>], 'criacao': False, 'uc': <UC: Área Municipal de Proteção Ambiental Pé do Morro>}, {'gmaps_key': 'ABQIAAAAPMke_TrhOh5_QVro9rk6pBQr4xaxwTGNVmlfUnYd0rVxkwEl8xTRpw7l7sPyDujPQAAMmmLi-YveOA'}, {'active_section': u'uc', 'sections': []}, {'MEDIA_URL': '/site_media/'}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es-ar', 'Argentinean 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'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'pt-br'}, {}, {'perms': <django.utils.functional.__proxy__ object at 0x7f6cca6e2f10>, 'messages': <django.utils.functional.__proxy__ object at 0x7f6cca6e2190>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7f6cca6e2750>}, {}] |
current | <FieldFile: upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf> |
e | OSError(2, 'No such file or directory') |
self | <Variable: u'doc.arquivo.size'> |
/usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py
in _get_size
Variable | Value |
---|---|
self | <FieldFile: upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf> |
/usr/local/lib/python2.7/dist-packages/django/core/files/storage.py
in size
Variable | Value |
---|---|
name | u'upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf' |
self | <django.core.files.storage.FileSystemStorage object at 0x7f6cca5cad90> |
/usr/lib/python2.7/genericpath.py
in getsize
Variable | Value |
---|---|
filename | u'/opt/django/projects/tncuc/media/upload/gestao/documentos/Decreto-APA_PE_DO_MORRO.pdf' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'gesto.to.gov.br' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.236.111.234' |
PATH_INFO | u'/uc/93/documentos/' |
QUERY_STRING | '' |
RAW_URI | '/uc/93/documentos/' |
REMOTE_ADDR | '172.17.0.4' |
REMOTE_PORT | '34650' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | u'' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8001' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.7.0' |
gunicorn.socket | <socket._socketobject object at 0x7f6cca39d670> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6cca5e3e90> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f6cca6e2f90> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
tncuc.settings_publico
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Felipe', 'felipe@znc.com.br'), ('Luiz Fernando', 'luiz.vital@znc.com.br')) |
ADMIN_FOR | () |
ADMIN_MEDIA_PREFIX | '/media/' |
ALLOWED_INCLUDE_ROOTS | () |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
AUTH_PROFILE_MODULE | 'adm.UserProfile' |
BANNED_IPS | () |
CACHE_BACKEND | 'locmem://' |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COMMENTS_ALLOW_PROFANITIES | False |
COMMENTS_BANNED_USERS_GROUP | None |
COMMENTS_FIRST_FEW | 0 |
COMMENTS_MODERATORS_GROUP | None |
COMMENTS_SKETCHY_USERS_GROUP | None |
DATABASE_ENGINE | 'postgresql_psycopg2' |
DATABASE_HOST | 'db' |
DATABASE_NAME | 'tncuc' |
DATABASE_OPTIONS | {} |
DATABASE_PASSWORD | '********************' |
DATABASE_PORT | '5432' |
DATABASE_USER | 'tnc_uc' |
DATETIME_FORMAT | 'N j, Y, P' |
DATE_FORMAT | 'N j, Y' |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | () |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_USE_TLS | False |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIXTURE_DIRS | () |
FORCE_SCRIPT_NAME | None |
GOOGLE_PROJ4 | '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs' |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
INSTALLED_APPS | ['django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.gis',
'south',
'tagging',
'tinymce',
'adm',
'criacao',
'gestao',
'mapa',
'publico',
'financeiro',
'relatorio',
'biblioteca',
'raven.contrib.django'] |
INTERNAL_IPS | () |
LANGUAGES | (('ar', 'Arabic'),
('bg', 'Bulgarian'),
('bn', 'Bengali'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('el', 'Greek'),
('en', 'English'),
('es', 'Spanish'),
('es-ar', 'Argentinean 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'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('nl', 'Dutch'),
('no', 'Norwegian'),
('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'),
('ta', 'Tamil'),
('te', 'Telugu'),
('th', 'Thai'),
('tr', 'Turkish'),
('uk', 'Ukrainian'),
('zh-cn', 'Simplified Chinese'),
('zh-tw', 'Traditional Chinese')) |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
LANGUAGE_CODE | 'pt-br' |
LANGUAGE_COOKIE_NAME | 'django_language' |
LOCALE_PATHS | () |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/login/' |
LOGOUT_URL | '/logout/' |
MANAGERS | (('Felipe', 'felipe@znc.com.br'), ('Luiz Fernando', 'luiz.vital@znc.com.br')) |
MEDIA_ROOT | '/opt/django/projects/tncuc/media' |
MEDIA_URL | '/site_media/' |
MENU_ITEMS | (('', u'In\xedcio'),
('criacao', u'Cria\xe7\xe3o'),
('gestao', u'Gest\xe3o'),
('financeiro', u'Financeiro'),
('administracao', u'Administra\xe7\xe3o'),
('relatorios', u'Relat\xf3rios'),
('biblioteca', u'Biblioteca')) |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware') |
MONTH_DAY_FORMAT | 'F j' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROFANITIES_LIST | '********************' |
ROOT_PATH | '/opt/django/projects/tncuc' |
ROOT_URLCONF | 'tncuc.publico.urls' |
SECRET_KEY | '********************' |
SEND_BROKEN_LINK_EMAILS | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SETTINGS_MODULE | 'tncuc.settings_publico' |
SITE_ID | 1 |
SITE_PREFIX | '' |
SRID | 929103 |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'context_processors.menu',
'context_processors.gmaps') |
TEMPLATE_DEBUG | True |
TEMPLATE_DIRS | ('/opt/django/projects/tncuc/templates',) |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source') |
TEMPLATE_STRING_IF_INVALID | '' |
TEST_DATABASE_CHARSET | None |
TEST_DATABASE_COLLATION | None |
TEST_DATABASE_NAME | None |
TEST_RUNNER | 'django.test.simple.run_tests' |
TIME_FORMAT | 'P' |
TIME_ZONE | 'America/Sao_Paulo' |
TRANSACTIONS_MANAGED | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.1.4 (http://www.djangoproject.com)' |
USE_ETAGS | False |
USE_I18N | True |
YEAR_MONTH_FORMAT | 'F Y' |
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.