Caught DatabaseError while rendering: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed")
Request Method: | GET |
---|---|
Request URL: | http://www.escolavila.com.br/jornalvila/escola/culminancia-projeto-2-2018/ |
Django Version: | 1.3 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Caught DatabaseError while rendering: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
Exception Location: | /home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/MySQLdb/connections.py in defaulterrorhandler, line 36 |
Python Executable: | /home/escolavila/escolavila.com.br/env/bin/python |
Python Version: | 2.7.15 |
Python Path: | ['/home/escolavila/escolavila.com.br', '/usr/share/passenger/helper-scripts', '/home/escolavila/escolavila.com.br/env/lib/python2.7', '/home/escolavila/escolavila.com.br/env/lib/python2.7/plat-x86_64-linux-gnu', '/home/escolavila/escolavila.com.br/env/lib/python2.7/lib-tk', '/home/escolavila/escolavila.com.br/env/lib/python2.7/lib-old', '/home/escolavila/escolavila.com.br/env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages', '/home/escolavila/escolavila.com.br/env/lib/python2.7/site-packages', '/home/escolavila/escolavila.com.br/escolavila/', '/home/escolavila/escolavila.com.br', '/home/escolavila/escolavila.com.br/escolavila/third_party/'] |
Server time: | Tue, 19 Mar 2024 04:59:20 -0300 |
In template /home/escolavila/escolavila.com.br/escolavila/templates/jornalvila/jornal_vila_singlepost.html
, error at line 149
139 | <div class="clear"></div> |
---|---|
140 | </div> |
141 | </div> |
142 | </div> |
143 | <!-- /content --> |
144 | |
145 | <!-- footer --> |
146 | <div class="post-footer"> |
147 | <!-- COMENTARIOS --> |
148 | <div class="wgt-comments"> |
149 | <span class="ico" id="qtd_coment" title="{{comentarios|length}}">{{comentarios|length}}</span> Comentários |
150 | </div> |
151 | <!-- COMENTARIOS --> |
152 | |
153 | <!-- COMPARTILHAR NAS REDES --> |
154 | <div class="wgt-share"> |
155 | <div class="title">Compartilhe</div> |
156 | <ul> |
157 | <li class="fcb"><a class="ir" href="http://www.facebook.com/sharer/sharer.php?u={{request.META.SERVER_PROTOCOL|lower|slice:":-4"}}://{{request.META.HTTP_HOST}}{{noticia.get_absolute_url}}/" title="Seja nosso fã no Facebook">Facebook</a></li> |
158 | <li class="twr"><a class="ir" href="http://promote.orkut.com/preview?nt=orkut.com&tt={{noticia.titulo}}&du={{request.META.SERVER_PROTOCOL|lower|slice:":-4"}}://{{request.META.HTTP_HOST}}{{noticia.get_absolute_url}}&cn={{noticia.chamada|slice:":140"}}" title="Siga @EscolaVila no Twitter">Twitter</a></li> |
159 | <li class="okt"><a class="ir" href="http://twitter.com/home?status={{noticia.titulo}} - {{request.META.SERVER_PROTOCOL|lower|slice:":-4"}}://{{request.META.HTTP_HOST}}{{noticia.get_absolute_url}}" title="Participe da Comunidade da Vila no Orkut">Orkut</a></li> |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
e | TemplateSyntaxError(u'Caught DatabaseError while rendering: (144, "Table \'./escolavila/jornalvila_comentario\' is marked as crashed and last (automatic?) repair failed")',) |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x3aff66a2c80>, None)] |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x3aff66bec10>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3aff6ccecd0> |
settings | <django.conf.LazySettings object at 0x3aff6897f90> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '5e5d5d30a7a5f6ee879e4c335eead9c5', 'DH_USER': 'escolavila', 'GEM_HOME': '/home/escolavila/.gems', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.escolavila.com.br', 'HTTP_USER_AGENT': 'claudebot', 'PASSENGER_CONNECT_PASSWORD': 'n7Ix9gW1nSFjI93h', 'PATH_INFO': u'/jornalvila/escola/culminancia-projeto-2-2018/', 'QS_AllConn': '2', 'QS_ConnectionId': '171083515811754742305120', 'QS_SrvConn': '2', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.157.61.194', 'REMOTE_PORT': '58382', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/jornalvila/escola/culminancia-projeto-2-2018/', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://www.escolavila.com.br/jornalvila/escola/culminancia-projeto-2-2018/', 'SCRIPT_URL': '/jornalvila/escola/culminancia-projeto-2-2018/', 'SERVER_NAME': 'www.escolavila.com.br', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 mod_fcgid/2.3.9 Phusion_Passenger/5.0.30', 'UNIQUE_ID': 'ZflF1x9GkRTSfZtKb3EeSAAAdb8', 'ds_id_17865429': '', 'dsid': '17865429', 'passenger.hijack': <function hijack at 0x3aff3b64a28>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x3aff88631e0>, 'wsgi.input': <socket._fileobject object at 0x3aff86e2850>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
callback | <function noticia_view at 0x3aff3f555f0> |
resolver | <RegexURLResolver escolavila.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'categoria_slug': u'escola', 'titulo_slug': u'culminancia-projeto-2-2018'} |
response | None |
urlconf | 'escolavila.urls' |
/home/escolavila/escolavila.com.br/escolavila/modulos/jornalvila/views.py
in noticia_view
return render_to_response('jornalvila/jornal_vila.html', variaveis)
else:
relacionadas = Noticia.objects.order_by("?").filter(publicado = True, categoria__titulo_slug = categoria_slug, data_publicar = True).exclude(titulo_slug = titulo_slug).all()[:4]
noticia = Noticia.objects.filter(publicado = True, data_publicar = True).get(titulo_slug = titulo_slug)
comentarios = Comentario.objects.filter(despublicado = False, noticia = noticia).all()
variaveis = RequestContext(request, {"categorias": categorias, "noticia": noticia, 'relacionadas': relacionadas, 'comentarios': comentarios, 'assuntos': assuntos, 'banners': banners})
return render_to_response('jornalvila/jornal_vila_singlepost.html', variaveis)...
@site_offline
def noticias_view(request):
banners = Banners.objects.order_by("?").filter(publicado = True).all()[:3]
Variable | Value |
---|---|
categorias | [<CategoriaNoticia: Escola>, <CategoriaNoticia: Comunidade>, <CategoriaNoticia: Mundo>, <CategoriaNoticia: Vila 30 anos>, <CategoriaNoticia: Projetos Pedagógicos>, <CategoriaNoticia: Berçário>, <CategoriaNoticia: Festas>, <CategoriaNoticia: Artes>] |
titulo_slug | u'culminancia-projeto-2-2018' |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '5e5d5d30a7a5f6ee879e4c335eead9c5', 'DH_USER': 'escolavila', 'GEM_HOME': '/home/escolavila/.gems', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.escolavila.com.br', 'HTTP_USER_AGENT': 'claudebot', 'PASSENGER_CONNECT_PASSWORD': 'n7Ix9gW1nSFjI93h', 'PATH_INFO': u'/jornalvila/escola/culminancia-projeto-2-2018/', 'QS_AllConn': '2', 'QS_ConnectionId': '171083515811754742305120', 'QS_SrvConn': '2', 'QUERY_STRING': '', 'REMOTE_ADDR': '54.157.61.194', 'REMOTE_PORT': '58382', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/jornalvila/escola/culminancia-projeto-2-2018/', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://www.escolavila.com.br/jornalvila/escola/culminancia-projeto-2-2018/', 'SCRIPT_URL': '/jornalvila/escola/culminancia-projeto-2-2018/', 'SERVER_NAME': 'www.escolavila.com.br', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 mod_fcgid/2.3.9 Phusion_Passenger/5.0.30', 'UNIQUE_ID': 'ZflF1x9GkRTSfZtKb3EeSAAAdb8', 'ds_id_17865429': '', 'dsid': '17865429', 'passenger.hijack': <function hijack at 0x3aff3b64a28>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x3aff88631e0>, 'wsgi.input': <socket._fileobject object at 0x3aff86e2850>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
relacionadas | [<Noticia: Vigilantes do Planeta >, <Noticia: São João Ed. infantil 2018>, <Noticia: Culminância do Projeto 3 de 2014>, <Noticia: Culminância O Ser na Tradição 2018>] |
variaveis | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
assuntos | [<PaginaContato: Diretoria>, <PaginaContato: Admistrativo>, <PaginaContato: Tesouraria>] |
banners | [] |
categoria_slug | u'escola' |
comentarios | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
noticia | <Noticia: Culminância projeto O Ser na Descoberta 2018> |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/shortcuts/__init__.py
in render_to_response
def render_to_response(*args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)...
def render(request, *args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
Uses a RequestContext by default.
Variable | Value |
---|---|
httpresponse_kwargs | {'mimetype': None} |
args | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
kwargs | {} |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
"""
dictionary = dictionary or {}
if isinstance(template_name, (list, tuple)):
t = select_template(template_name)
else:
t = get_template(template_name)
if not context_instance:
return t.render(Context(dictionary))...
# Add the dictionary to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
context_instance.update(dictionary)
try:
return t.render(context_instance)
finally:
Variable | Value |
---|---|
template_name | 'jornalvila/jornal_vila_singlepost.html' |
t | <django.template.base.Template object at 0x3aff3bd4f50> |
dictionary | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
context_instance | None |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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 0x3aff3bd4f50> |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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 0x3aff3bd4f50> |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
bits | [] |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
e | TemplateSyntaxError(u'Caught DatabaseError while rendering: (144, "Table \'./escolavila/jornalvila_comentario\' is marked as crashed and last (automatic?) repair failed")',) |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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 | <Variable Node: MEDIA_URL> |
blocks | {u'conteudo': <Block Node: conteudo. Contents: [<Text Node: ' '>]>, u'extrahead': <Block Node: extrahead. Contents: [<Text Node: ' '>]>, u'scripts': <Block Node: scripts. Contents: [<Text Node: ' '>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x3aff3bd4110> |
n | <Block Node: extrahead. Contents: [<Text Node: ' '>]> |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
compiled_parent | <django.template.base.Template object at 0x3aff3c7d910> |
self | <ExtendsNode: extends "base.html"> |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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 0x3aff3c7d910> |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <Block Node: conteudo. Contents: [<Text Node: ' '>]> |
self | [<Text Node: '<!doctype html> <!--[i'>, <Variable Node: MEDIA_URL>, <Text Node: 'img/favicon/favicon.ico">'>, <Variable Node: MEDIA_URL>, <Text Node: 'img/favicon/apple-touch-i'>, <Variable Node: MEDIA_URL>, <Text Node: 'style.css?v=2"> <link'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/paginas.css?v=2"> '>, <Variable Node: MEDIA_URL>, <Text Node: 'js/fancybox/jquery.fancyb'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/smoothscroll.js"></scr'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/libs/modernizr-1.6.min'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/fx.js"></script> <'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.scrollTo-1.4.2/'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.scrollTo-1.4.2/'>, <Block Node: scripts. Contents: [<Text Node: ' '>]>, <Text Node: ' <script> var'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/plugins/jquery.selectb'>, <Variable Node: MEDIA_URL>, <Text Node: 'img/ilustra/topo_ilustrac'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3b78c10>, <Text Node: ' '>, <If node>, <Text Node: '" href="/" title="Princip'>, <If node>, <Text Node: '" href="/escola/" title="'>, <If node>, <Text Node: '" href="/infraestrutura/"'>, <If node>, <Text Node: '" href="/proposta-pedagog'>, <If node>, <Text Node: '" href="/material-didatic'>, <If node>, <Text Node: '" href="/imprensa/" title'>, <If node>, <Text Node: '" href="/calendario-escol'>, <If node>, <Text Node: ' '>, <If node>, <If node>, <Text Node: '> '>, <Block Node: conteudo. Contents: [<Text Node: ' '>]>, <Text Node: ' <div cla'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989590>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989f10>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989fd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989a90>, <Text Node: ' </div><!'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/plugins/jquery.selectb'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery-cycle.js"></scr'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery-form.js"></scri'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery-validate.js"></'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.blockUI.js"></s'>, <Block Node: extrahead. Contents: [<Text Node: ' '>]>, <Text Node: ' <!--[if lt IE 7'>] |
bits | [u'<!doctype html> \n\n<!--[if lt IE 7 ]> <html lang="pt-br" class="no-js ie6"> <![endif]-->\n<!--[if IE 7 ]> <html lang="pt-br" class="no-js ie7"> <![endif]-->\n<!--[if IE 8 ]> <html lang="pt-br" class="no-js ie8"> <![endif]-->\n<!--[if IE 9 ]> <html lang="pt-br" class="no-js ie9"> <![endif]-->\n<!--[if (gt IE 9)|!(IE)]><!--> <html lang="pt-br" class="no-js"> <!--<![endif]-->\n<head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\n <meta name="description" content="">\n <meta name="author" content="Index Comunica\xe7\xe3o Digital / www.indexdigital.com.br">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta name="keywords" content="transdisciplinaridade, educa\xe7\xe3o transdisciplinar, educa\xe7\xe3o hol\xedstica, pedagogia de projetos, vila, escola vila, educa\xe7\xe3o, f\xe1tima limaverde, educa\xe7\xe3o ambiental, pedagogia"> \n \n <title>Escola Vila - Cuidando do Planeta Terra</title>\n \n <link rel="shortcut icon" href="', u'/site_media/', u'img/favicon/favicon.ico">\n <link rel="apple-touch-icon" href="', u'/site_media/', u'img/favicon/apple-touch-icon.png">\n <link rel="stylesheet" href="', u'/site_media/', u'style.css?v=2">\n <link rel="stylesheet" href="', u'/site_media/', u'css/paginas.css?v=2">\n <link type="text/css" rel="stylesheet" href="', u'/site_media/', u'js/fancybox/jquery.fancybox-1.3.4.css" />\n <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>\n <!--<script src="', u'/site_media/', u'js/smoothscroll.js"></script>-->\n <script src="', u'/site_media/', u'js/libs/modernizr-1.6.min.js"></script>\n <script src="', u'/site_media/', u'js/fx.js"></script>\n <script src="', u'/site_media/', u'js/jquery.scrollTo-1.4.2/jquery.easing.1.3.js"></script>\n <script src="', u'/site_media/', u'js/jquery.scrollTo-1.4.2/jquery.scrollTo.js"></script>\n \n \n ', u'\n <meta property="og:title" content="Escola Vila - Culmin\xe2ncia projeto O Ser na Descoberta 2018" /> \n <meta property="og:image" content="http://www.escolavila.com.br/site_media/img/noticias/thumbnails/padrao_Quadro015-2_2.jpg" /> \n <meta property="og:description" content="Culmin\xe2ncia do Projeto O Ser na Descoberta dos Seus Valores e Suas Ra\xedzes"/> \n', u'\n \n <script>\n\t\n\tvar ua = navigator.userAgent.toLowerCase();\t\t\n\t// Lista de substrings a procurar para ser identificado como mobile WAP\n\tuMobile = \'iphone;ipod;windows phone;android;iemobile 8;symbian;ipad\';\t\n\t// Sapara os itens individualmente em um array\n\tv_uMobile = uMobile.split(\';\');\t\n\t// percorre todos os itens verificando se eh mobile\n\tvar boolMovel = false;\n\tfor (i=0;i<=v_uMobile.length;i++)\n\t{\n\t\tif (ua.indexOf(v_uMobile[i]) != -1)\n\t\t{\n\t\t\tboolMovel = true;\n\t\t}\n\t}\n\t\n\tfunction ativarScroll(target){\n\t\tif(!boolMovel)\n\t\t{\n\t\t $.scrollTo(\'#\'+target, 2000, {easing:\'easeOutExpo\'}); \n\t\t return false;\n\t\t}\n\t\t\n\t}\n\t\n\t$(document).ready(function(){\n\t if (!boolMovel){\n\t\tvar moveBg0 = {type: \'backgroundx\', from:-400, to: -150, step: +1, delay: 80}\t\n\t\tvar stars = document.getElementById(\'bg_teste\');\t\t\n\t\tvar onfinish = function(){\n\t\t\tthis.fxPause(true, 0); //stop roataion - set #0 \n\t\t}\t\t \n\t\t$fx(stars).fxAdd(moveBg0).fxRun(onfinish);\n\t }\n\t});\n\t\n\t\n </script>\n <script>\n\t$(document).ready(function(){\n\t var ul = document.getElementById("nav_"); \n\t var li = ul.getElementsByTagName(\'li\');\n\t var tamanho = li.length;\n\t $(".nav").css(\'width\', tamanho*15+\'px\');\n\t});\n </script>\n \n \n <!--SELECTBOX -->\n <link href="', u'/site_media/', u'js/plugins/jquery.selectbox-0.1.1/css/jquery.selectbox.css" type="text/css" rel="stylesheet" />\n</head>\n\n<body >\n <div id="container">\n <header id="topo">\n <div id="bg_teste" class="header-bg" style="background-image:url(', u'/site_media/', u'img/ilustra/topo_ilustracao.png);">\n <div class="header-cont">\n <!-- MARCA -->\n <h1 class="vila30anos"><a class="ir" href="/" title="Voltar para a p\xe1gina inicial da Escola Vila">Escola Vila - Cuidado do Planeta Terra</a></h1>\n <!-- MARCA -->\n \n <!-- MENU - APOIO -->\n <nav class="menu-apoio">\n <ul>\n <li class="espaco"><a class="ir" href="#" title="Espa\xe7o Cultural" >Espa\xe7o Cultural</a></li>\n <li class="editora"><a class="ir" href="#" title="Editora da Vila">Editora da Vila</a></li>\n <li class="blog"><a target="_blank" class="ir" href="http://www.vila30anos.com.br" title="Blog">Blog</a></li>\n <li class="evo"><a class="ir" href="http://escolavila.dyndns.info:8081/corpore.net/Login.aspx" title="Vila Online">Vila Online</a></li>\n </ul>\n </nav>\n <!-- MENU - APOIO -->\n \n <!-- BUSCA -->\n <div class="wgt wgt-busca">\n <h2 class="wgt-title">Busca</h2>\n <div class="wgt-cont">\n <form class="frm frm-busca" method="get" action="/busca/">\t\t\t \n <fieldset>\n <label class="lbl">Busca</label>\n <input id="palavra" name="palavra" class="ipt ipt-busca" type="text" />\n <button class="btn-buscar">Buscar</button>\n </fieldset>\n </form>\n </div>\n </div>\n <!-- BUSCA -->\n <div class="clear"></div>\n \n ', u'<!-- SLIDESHOW -->\n<div class="wgt wgt-slideshow">\n <h2 class="wgt-title">Destaques</h2>\n <div class="wgt-cont"> \n <a class="ir ico prev" href="#" title="Anterior">Anterior</a>\n <a class="ir ico next" href="#" title="Pr\xf3xima">Pr\xf3xima</a>\n \n <div class="slideshow">\n <ul id="banner_principal">\n \n <li><a href="" title=""><img src="/site_media/img/novidades/desenho_floresta_site.png" width="920" height="305" alt=" "></a></li>\n \n <li><a href="" title=""><img src="/site_media/img/novidades/Cachoeira_Site.jpg" width="920" height="305" alt=" "></a></li>\n \n <li><a href="" title=""><img src="/site_media/img/novidades/publicidade1.jpg" width="920" height="305" alt=" "></a></li>\n \n </ul>\n </div>\n <div class="clear"></div>\n \n <!--<div class="legenda">\n <ul id="legenda_principal">\n \n <li>\n <span class="meta">30/07/2012 - <strong>Atividades</strong></span>\n <h3><a href="" title="">floresta</a></h3>\n </li> \n \n <li>\n <span class="meta">27/09/2012 - <strong>Atividades</strong></span>\n <h3><a href="" title="">cachoeira</a></h3>\n </li> \n \n <li>\n <span class="meta">08/08/2012 - <strong>Atividades</strong></span>\n <h3><a href="" title="">publicidade</a></h3>\n </li> \n \n </ul>\n </div>-->\n \n <div class="nav">\n <ul id="nav_"> \n </ul>\n </div>\n <div id="nav_legenda" style="display:none"></div>\n \n <div class="clear"></div>\n </div>\n</div>\n<!-- SLIDESHOW -->', u'\n \n <!-- CALENDARIO\n <div class="wgt-calendario">\n <h2 class="wgt-title"><span>Calend\xe1rio</span> Escolar</h2>\n <div class="calendario-projeto">\n <strong>Estamos no projeto:</strong>\n O ser na descoberta dos seus valores e suas ra\xedzes\n </div>\n\t\t\t\n <a class="btn-acontecimentos" href="#" title="Veja os acontecimentos"><span>Veja os</span> acontecimentos</a>\n <div class="clear"></div>\t\t\t\n </div>\t\t \n <div class="clear"></div>\n <a id="navigation" style="position: relative; top: -25px;"></a>\n CALENDARIO -->\n \n <!-- MENU -->\n <a id="navigation" style=" position: relative; top: 5px;"></a>\n <nav class="menu">\n <div class="pontilhado">\n <ul class="top">\n <li class="principal"><a class="', '', u'" href="/" title="Principal"><div class="ir ico"></div> Principal</a></li>\n <li class="escola"><a class="', '', u'" href="/escola/" title="A Escola"><div class="ir ico"></div> A Escola</a></li>\n <li class="infra"><a class="', '', u'" href="/infraestrutura/" title="Infraestrutura"><div class="ir ico"></div> Infraestrutura</a></li>\n <li class="proposta"><a class="', '', u'" href="/proposta-pedagogica/" title="Proposta Pedag\xf3gica"><div class="ir ico"></div> Proposta Pedag\xf3gica</a></li>\n <li class="material"><a class="', '', u'" href="/material-didatico/" title="Material Did\xe1tico"><div class="ir ico"></div> Material Did\xe1tico</a></li>\n <li class="cardapio"><a class="', '', u'" href="/imprensa/" title="Imprensa"><div class="ir ico"></div>Imprensa</a></li>\n <li class="acontecimentos"><a class="', '', u'" href="/calendario-escolar/" title="Calend\xe1rio Escolar"><div class="ir ico"></div>Calend\xe1rio Escolar</a></li>\n </ul>\n <div class="clear"></div>\n </div>\n <div class="clear"></div>\n <div class="contexto">\n \n\t\t\t ', u'\n\t\t\t \n\t\t\t <!--<ul class="infraestrutura" style="margin: 0 auto 0 11%">-->\n\t\t\t <ul>\n\t\t\t\t\n\t\t\t ', u'\n </ul>\n <div class="clear"></div>\n </div>\n </nav>\n <!-- MENU -->\n </div>\n </div>\n </header>\n \n <div id="main" ', '', '', u'>\n \n \n '] |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <Block Node: conteudo. Contents: [<Text Node: ' '>]> |
self | [<Text Node: '<!doctype html> <!--[i'>, <Variable Node: MEDIA_URL>, <Text Node: 'img/favicon/favicon.ico">'>, <Variable Node: MEDIA_URL>, <Text Node: 'img/favicon/apple-touch-i'>, <Variable Node: MEDIA_URL>, <Text Node: 'style.css?v=2"> <link'>, <Variable Node: MEDIA_URL>, <Text Node: 'css/paginas.css?v=2"> '>, <Variable Node: MEDIA_URL>, <Text Node: 'js/fancybox/jquery.fancyb'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/smoothscroll.js"></scr'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/libs/modernizr-1.6.min'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/fx.js"></script> <'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.scrollTo-1.4.2/'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.scrollTo-1.4.2/'>, <Block Node: scripts. Contents: [<Text Node: ' '>]>, <Text Node: ' <script> var'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/plugins/jquery.selectb'>, <Variable Node: MEDIA_URL>, <Text Node: 'img/ilustra/topo_ilustrac'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3b78c10>, <Text Node: ' '>, <If node>, <Text Node: '" href="/" title="Princip'>, <If node>, <Text Node: '" href="/escola/" title="'>, <If node>, <Text Node: '" href="/infraestrutura/"'>, <If node>, <Text Node: '" href="/proposta-pedagog'>, <If node>, <Text Node: '" href="/material-didatic'>, <If node>, <Text Node: '" href="/imprensa/" title'>, <If node>, <Text Node: '" href="/calendario-escol'>, <If node>, <Text Node: ' '>, <If node>, <If node>, <Text Node: '> '>, <Block Node: conteudo. Contents: [<Text Node: ' '>]>, <Text Node: ' <div cla'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989590>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989f10>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989690>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989fd0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3aff3989a90>, <Text Node: ' </div><!'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/plugins/jquery.selectb'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery-cycle.js"></scr'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery-form.js"></scri'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery-validate.js"></'>, <Variable Node: MEDIA_URL>, <Text Node: 'js/jquery.blockUI.js"></s'>, <Block Node: extrahead. Contents: [<Text Node: ' '>]>, <Text Node: ' <!--[if lt IE 7'>] |
e | TemplateSyntaxError(u'Caught DatabaseError while rendering: (144, "Table \'./escolavila/jornalvila_comentario\' is marked as crashed and last (automatic?) repair failed")',) |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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: conteudo. Contents: [<Text Node: ' <div class="page jor'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/'>, <Variable Node: noticia.titulo_slug>, <Text Node: '" title="Link permanente '>, <Variable Node: noticia.titulo>, <Text Node: ''">'>, <Variable Node: noticia.titulo>, <Text Node: '</a></h3> '>, <Variable Node: noticia.data_publicacao|date:"d\/m\/Y">, <Text Node: ' - <strong><a href="/jorn'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/" title="Veja todas as n'>, <Variable Node: noticia.categoria>, <Text Node: ''">'>, <Variable Node: noticia.categoria>, <Text Node: '</a></strong></p> '>, <Variable Node: noticia.texto|safe>, <Text Node: ' <div'>, <For Node: for foto in noticia.galeria.fotos.all, tail_len: 12>, <Text Node: ' '>, <Variable Node: comentarios|length>, <Text Node: '">'>, <Variable Node: comentarios|length>, <Text Node: '</span> Coment?rios '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '/" title="Seja nosso f? n'>, <Variable Node: noticia.titulo>, <Text Node: '&du='>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '&cn='>, <Variable Node: noticia.chamada|slice:":140">, <Text Node: '" title="Siga @EscolaVila'>, <Variable Node: noticia.titulo>, <Text Node: ' - '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '" title="Participe da Com'>, <django.template.defaulttags.CsrfTokenNode object at 0x3aff3c9d390>, <Text Node: ' <fie'>, <Variable Node: noticia.id>, <Text Node: '" /> '>, <For Node: for comentario in comentarios, tail_len: 7>, <Text Node: ' </'>, <For Node: for relacionada in relacionadas, tail_len: 13>, <Text Node: ' </ul> <d'>, <For Node: for banner in banners, tail_len: 9>, <Text Node: ' </ul> <d'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x3aff3bd4110> |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
block | <Block Node: conteudo. Contents: [<Text Node: ' <div class="page jor'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/'>, <Variable Node: noticia.titulo_slug>, <Text Node: '" title="Link permanente '>, <Variable Node: noticia.titulo>, <Text Node: ''">'>, <Variable Node: noticia.titulo>, <Text Node: '</a></h3> '>, <Variable Node: noticia.data_publicacao|date:"d\/m\/Y">, <Text Node: ' - <strong><a href="/jorn'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/" title="Veja todas as n'>, <Variable Node: noticia.categoria>, <Text Node: ''">'>, <Variable Node: noticia.categoria>, <Text Node: '</a></strong></p> '>, <Variable Node: noticia.texto|safe>, <Text Node: ' <div'>, <For Node: for foto in noticia.galeria.fotos.all, tail_len: 12>, <Text Node: ' '>, <Variable Node: comentarios|length>, <Text Node: '">'>, <Variable Node: comentarios|length>, <Text Node: '</span> Coment?rios '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '/" title="Seja nosso f? n'>, <Variable Node: noticia.titulo>, <Text Node: '&du='>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '&cn='>, <Variable Node: noticia.chamada|slice:":140">, <Text Node: '" title="Siga @EscolaVila'>, <Variable Node: noticia.titulo>, <Text Node: ' - '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '" title="Participe da Com'>, <django.template.defaulttags.CsrfTokenNode object at 0x3aff3c9d390>, <Text Node: ' <fie'>, <Variable Node: noticia.id>, <Text Node: '" /> '>, <For Node: for comentario in comentarios, tail_len: 7>, <Text Node: ' </'>, <For Node: for relacionada in relacionadas, tail_len: 13>, <Text Node: ' </ul> <d'>, <For Node: for banner in banners, tail_len: 9>, <Text Node: ' </ul> <d'>]> |
self | <Block Node: conteudo. Contents: [<Text Node: ' '>]> |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/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):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <Variable Node: comentarios|length> |
self | [<Text Node: ' <div class="page jor'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/'>, <Variable Node: noticia.titulo_slug>, <Text Node: '" title="Link permanente '>, <Variable Node: noticia.titulo>, <Text Node: ''">'>, <Variable Node: noticia.titulo>, <Text Node: '</a></h3> '>, <Variable Node: noticia.data_publicacao|date:"d\/m\/Y">, <Text Node: ' - <strong><a href="/jorn'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/" title="Veja todas as n'>, <Variable Node: noticia.categoria>, <Text Node: ''">'>, <Variable Node: noticia.categoria>, <Text Node: '</a></strong></p> '>, <Variable Node: noticia.texto|safe>, <Text Node: ' <div'>, <For Node: for foto in noticia.galeria.fotos.all, tail_len: 12>, <Text Node: ' '>, <Variable Node: comentarios|length>, <Text Node: '">'>, <Variable Node: comentarios|length>, <Text Node: '</span> Coment?rios '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '/" title="Seja nosso f? n'>, <Variable Node: noticia.titulo>, <Text Node: '&du='>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '&cn='>, <Variable Node: noticia.chamada|slice:":140">, <Text Node: '" title="Siga @EscolaVila'>, <Variable Node: noticia.titulo>, <Text Node: ' - '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '" title="Participe da Com'>, <django.template.defaulttags.CsrfTokenNode object at 0x3aff3c9d390>, <Text Node: ' <fie'>, <Variable Node: noticia.id>, <Text Node: '" /> '>, <For Node: for comentario in comentarios, tail_len: 7>, <Text Node: ' </'>, <For Node: for relacionada in relacionadas, tail_len: 13>, <Text Node: ' </ul> <d'>, <For Node: for banner in banners, tail_len: 9>, <Text Node: ' </ul> <d'>] |
bits | [u'\n <div class="page jornalvila-single">\n <h2 class="ir page-title">Jornal Vila</h2>\n <a class="ir btn-voltar" href="/jornalvila/">Voltar para a p\xe1gina inicial</a>\n <div class="clear"></div>\n \n <div class="page-content">\n \n <!-- POST -->\n <div class="post">\n <!-- header -->\n <div class="post-header">\n <h3><a href="/jornalvila/', u'escola', u'/', u'culminancia-projeto-2-2018', u'" title="Link permanente para \'', u'Culmin\xe2ncia projeto O Ser na Descoberta 2018', u'\'">', u'Culmin\xe2ncia projeto O Ser na Descoberta 2018', u'</a></h3>\n <p class="meta">', u'20/04/2018', u' - <strong><a href="/jornalvila/', u'escola', u'/" title="Veja todas as not\xedcias da categoria \'', u'Escola', u'\'">', u'Escola', u'</a></strong></p>\n </div>\n <!-- /header -->\n \n <!-- content -->\n <div class="post-content">\n ', u'<p><span style="color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">A Pedagogia Ecossistêmica da Escola Vila trabalha por Projetos. Através destes veiculamos grandes temáticas. O Projeto O Ser na Descoberta dos Seus Valores e Suas Raízes, resgata e valoriza as culturas que deram origem a formação do povo brasileiro. No evento foram homenageados: Nelson Mandela, Martin Luther King, Dandara, Zumbi dos Palmares, Kaká Werá, Cacique Pequena e Cacique Daniel. </span><span style="color: #1d2129; font-family: Helvetica, Arial, sans-serif; font-size: 14px;">Assista o vídeo </span><a style="color: #365899; cursor: pointer; text-decoration-line: none; font-family: Helvetica, Arial, sans-serif; font-size: 14px;" rel="noopener nofollow" href="https://youtu.be/Kpr8BtI2N5c" target="_blank">https://youtu.be/Kpr8BtI2N5c</a></p>', u'\n <div class="post-gallery">\n <div class="gallery-cont">\n \n <ul>\n ', u' \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro003.jpg" title="Quadro003.jpg" class="fancy-infra" ><img title="Quadro003.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro003.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro005-2.jpg" title="Quadro005-2.jpg" class="fancy-infra" ><img title="Quadro005-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro005-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro006-2.jpg" title="Quadro006-2.jpg" class="fancy-infra" ><img title="Quadro006-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro006-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro007.jpg" title="Quadro007.jpg" class="fancy-infra" ><img title="Quadro007.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro007.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro008-2.jpg" title="Quadro008-2.jpg" class="fancy-infra" ><img title="Quadro008-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro008-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro009-2.jpg" title="Quadro009-2.jpg" class="fancy-infra" ><img title="Quadro009-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro009-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro011-2.jpg" title="Quadro011-2.jpg" class="fancy-infra" ><img title="Quadro011-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro011-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro012-2.jpg" title="Quadro012-2.jpg" class="fancy-infra" ><img title="Quadro012-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro012-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro014.jpg" title="Quadro014.jpg" class="fancy-infra" ><img title="Quadro014.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro014.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro015-2.jpg" title="Quadro015-2.jpg" class="fancy-infra" ><img title="Quadro015-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro015-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro016-2.jpg" title="Quadro016-2.jpg" class="fancy-infra" ><img title="Quadro016-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro016-2.jpg"/></a></li> \n \n <li><a rel="culminancia-projeto-o-ser-na-descoberta-2018_group" href="/site_media/img/index_gallery/fotos/Quadro002-2.jpg" title="Quadro002-2.jpg" class="fancy-infra" ><img title="Quadro002-2.jpg" width="65" height="65" src="/site_media/img/index_gallery/fotos/thumbnails/admin_Quadro002-2.jpg"/></a></li> \n ', u' \n </ul>\n <div class="clear"></div>\n </div>\n </div>\n </div>\n <!-- /content -->\n \n <!-- footer -->\n <div class="post-footer">\n <!-- COMENTARIOS -->\n <div class="wgt-comments">\n <span class="ico" id="qtd_coment" title="'] |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <Variable Node: comentarios|length> |
e | DatabaseError(144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
self | [<Text Node: ' <div class="page jor'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/'>, <Variable Node: noticia.titulo_slug>, <Text Node: '" title="Link permanente '>, <Variable Node: noticia.titulo>, <Text Node: ''">'>, <Variable Node: noticia.titulo>, <Text Node: '</a></h3> '>, <Variable Node: noticia.data_publicacao|date:"d\/m\/Y">, <Text Node: ' - <strong><a href="/jorn'>, <Variable Node: noticia.categoria.titulo_slug>, <Text Node: '/" title="Veja todas as n'>, <Variable Node: noticia.categoria>, <Text Node: ''">'>, <Variable Node: noticia.categoria>, <Text Node: '</a></strong></p> '>, <Variable Node: noticia.texto|safe>, <Text Node: ' <div'>, <For Node: for foto in noticia.galeria.fotos.all, tail_len: 12>, <Text Node: ' '>, <Variable Node: comentarios|length>, <Text Node: '">'>, <Variable Node: comentarios|length>, <Text Node: '</span> Coment?rios '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '/" title="Seja nosso f? n'>, <Variable Node: noticia.titulo>, <Text Node: '&du='>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '&cn='>, <Variable Node: noticia.chamada|slice:":140">, <Text Node: '" title="Siga @EscolaVila'>, <Variable Node: noticia.titulo>, <Text Node: ' - '>, <Variable Node: request.META.SERVER_PROTOCOL|lower|slice:":-4">, <Text Node: '://'>, <Variable Node: request.META.HTTP_HOST>, <Variable Node: noticia.get_absolute_url>, <Text Node: '" title="Participe da Com'>, <django.template.defaulttags.CsrfTokenNode object at 0x3aff3c9d390>, <Text Node: ' <fie'>, <Variable Node: noticia.id>, <Text Node: '" /> '>, <For Node: for comentario in comentarios, tail_len: 7>, <Text Node: ' </'>, <For Node: for relacionada in relacionadas, tail_len: 13>, <Text Node: ' </ul> <d'>, <For Node: for banner in banners, tail_len: 9>, <Text Node: ' </ul> <d'>] |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
wrapped | TemplateSyntaxError(u'Caught DatabaseError while rendering: (144, "Table \'./escolavila/jornalvila_comentario\' is marked as crashed and last (automatic?) repair failed")',) |
exc_info | <built-in function exc_info> |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/debug.py
in render
wrapped.exc_info = exc_info()
raise wrapped, None, wrapped.exc_info[2]
return result
class DebugVariableNode(VariableNode):
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
output = localize(output, use_l10n=context.use_l10n)
output = force_unicode(output)
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = self.source
raise
Variable | Value |
---|---|
self | <Variable Node: comentarios|length> |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/base.py
in resolve
if not lookup:
arg_vals.append(mark_safe(arg))
else:
arg_vals.append(arg.resolve(context))
if getattr(func, 'needs_autoescape', False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)...
if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
elif isinstance(obj, EscapeData):
obj = mark_for_escaping(new_obj)
else:
obj = new_obj
Variable | Value |
---|---|
obj | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
func | <function length at 0x3aff6723c08> |
arg_vals | [] |
self | <django.template.base.FilterExpression object at 0x3aff3bc25d0> |
args | [] |
ignore_failures | False |
context | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/template/defaultfilters.py
in length
except IndexError:
return u''
last.is_safe = True
def length(value):
"""Returns the length of the value - useful for lists."""
try:
return len(value)...
except (ValueError, TypeError):
return ''
length.is_safe = True
def length_is(value, arg):
"""Returns a boolean of whether the value's length is the argument."""
Variable | Value |
---|---|
value | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/db/models/query.py
in __len__
# Since __len__ is called quite frequently (for example, as part of
# list(qs), we make some effort here to be as efficient as possible
# whilst not messing up any existing iterators against the QuerySet.
if self._result_cache is None:
if self._iter:
self._result_cache = list(self._iter)
else:
self._result_cache = list(self.iterator())...
elif self._iter:
self._result_cache.extend(self._iter)
return len(self._result_cache)
def __iter__(self):
if self._result_cache is None:
Variable | Value |
---|---|
self | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/db/models/query.py
in iterator
init_list.append(field.attname)
model_cls = deferred_class_factory(self.model, skip)
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(model, row,
index_start, using=db, max_depth=max_depth,
requested=requested, offset=len(aggregate_select),
only_load=only_load)
else:
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
fields | [<django.db.models.fields.AutoField object at 0x3aff40951d0>, <django.db.models.fields.CharField object at 0x3aff4088c10>, <django.db.models.fields.CharField object at 0x3aff4088f50>, <django.db.models.fields.DateTimeField object at 0x3aff4088fd0>, <django.db.models.fields.related.ForeignKey object at 0x3aff4095050>, <django.db.models.fields.TextField object at 0x3aff40950d0>, <django.db.models.fields.BooleanField object at 0x3aff4095110>] |
skip | None |
self | Error in formatting: (144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
aggregate_start | 7 |
pk_idx | 0 |
model | <class 'modulos.jornalvila.models.Comentario'> |
only_load | {} |
max_depth | 5 |
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x3aff3caf090> |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in results_iter
def results_iter(self):
"""
Returns an iterator over the results from executing this query.
"""
resolve_columns = hasattr(self, 'resolve_columns')
fields = None
has_aggregate_select = bool(self.query.aggregate_select)
for rows in self.execute_sql(MULTI):...
for row in rows:
if resolve_columns:
if fields is None:
# We only set this up here because
# related_select_fields isn't populated until
# execute_sql() has been called.
Variable | Value |
---|---|
fields | None |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x3aff3caf090> |
has_aggregate_select | False |
resolve_columns | True |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in execute_sql
except EmptyResultSet:
if result_type == MULTI:
return empty_iter()
else:
return
cursor = self.connection.cursor()
cursor.execute(sql, params)...
if not result_type:
return cursor
if result_type == SINGLE:
if self.query.ordering_aliases:
return cursor.fetchone()[:-len(self.query.ordering_aliases)]
Variable | Value |
---|---|
cursor | <django.db.backends.util.CursorDebugWrapper object at 0x3aff3b7c310> |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x3aff3caf090> |
params | (179, False) |
result_type | 'multi' |
sql | 'SELECT `jornalvila_comentario`.`id`, `jornalvila_comentario`.`nome`, `jornalvila_comentario`.`email`, `jornalvila_comentario`.`data_cometario`, `jornalvila_comentario`.`noticia_id`, `jornalvila_comentario`.`comentario`, `jornalvila_comentario`.`despublicado` FROM `jornalvila_comentario` WHERE (`jornalvila_comentario`.`noticia_id` = %s AND `jornalvila_comentario`.`despublicado` = %s ) ORDER BY `jornalvila_comentario`.`data_cometario` ASC' |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/db/backends/util.py
in execute
class CursorDebugWrapper(CursorWrapper):
def execute(self, sql, params=()):
start = time()
try:
return self.cursor.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 0x3aff3b7c310> |
stop | 1710835159.973141 |
start | 1710835159.972603 |
params | (179, False) |
sql | u'SELECT `jornalvila_comentario`.`id`, `jornalvila_comentario`.`nome`, `jornalvila_comentario`.`email`, `jornalvila_comentario`.`data_cometario`, `jornalvila_comentario`.`noticia_id`, `jornalvila_comentario`.`comentario`, `jornalvila_comentario`.`despublicado` FROM `jornalvila_comentario` WHERE (`jornalvila_comentario`.`noticia_id` = 179 AND `jornalvila_comentario`.`despublicado` = False ) ORDER BY `jornalvila_comentario`.`data_cometario` ASC' |
duration | 0.000537872314453125 |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py
in execute
codes_for_integrityerror = (1048,)
def __init__(self, cursor):
self.cursor = cursor
def execute(self, query, args=None):
try:
return self.cursor.execute(query, args)...
except Database.IntegrityError, e:
raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2]
except Database.OperationalError, e:
# Map some error codes to IntegrityError, since they seem to be
# misclassified and Django would prefer the more logical place.
if e[0] in self.codes_for_integrityerror:
Variable | Value |
---|---|
query | 'SELECT `jornalvila_comentario`.`id`, `jornalvila_comentario`.`nome`, `jornalvila_comentario`.`email`, `jornalvila_comentario`.`data_cometario`, `jornalvila_comentario`.`noticia_id`, `jornalvila_comentario`.`comentario`, `jornalvila_comentario`.`despublicado` FROM `jornalvila_comentario` WHERE (`jornalvila_comentario`.`noticia_id` = %s AND `jornalvila_comentario`.`despublicado` = %s ) ORDER BY `jornalvila_comentario`.`data_cometario` ASC' |
self | <django.db.backends.mysql.base.CursorWrapper object at 0x3aff3b7c1d0> |
args | (179, False) |
e | InternalError(144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py
in execute
self.errorhandler(self, TypeError, m)
except (SystemExit, KeyboardInterrupt):
raise
except:
exc, value, tb = sys.exc_info()
del tb
self.messages.append((exc, value))
self.errorhandler(self, exc, value)...
self._executed = query
if not self._defer_warnings: self._warning_check()
return r
def executemany(self, query, args):
Variable | Value |
---|---|
exc | <class '_mysql_exceptions.InternalError'> |
self | <MySQLdb.cursors.Cursor object at 0x3aff3b7c510> |
args | (179, False) |
db | <weakproxy at 0x3aff3b6a6d8 to Connection at 0x5ca1547360> |
value | InternalError(144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
item | False |
r | None |
query | 'SELECT `jornalvila_comentario`.`id`, `jornalvila_comentario`.`nome`, `jornalvila_comentario`.`email`, `jornalvila_comentario`.`data_cometario`, `jornalvila_comentario`.`noticia_id`, `jornalvila_comentario`.`comentario`, `jornalvila_comentario`.`despublicado` FROM `jornalvila_comentario` WHERE (`jornalvila_comentario`.`noticia_id` = 179 AND `jornalvila_comentario`.`despublicado` = 0 ) ORDER BY `jornalvila_comentario`.`data_cometario` ASC' |
/home/escolavila/escolavila.com.br/env/local/lib/python2.7/site-packages/MySQLdb/connections.py
in defaulterrorhandler
error = errorclass, errorvalue
if cursor:
cursor.messages.append(error)
else:
connection.messages.append(error)
del cursor
del connection
raise errorclass, errorvalue...
re_numeric_part = re.compile(r"^(\d+)")
def numeric_part(s):
"""Returns the leading numeric part of a string.
Variable | Value |
---|---|
errorclass | <class '_mysql_exceptions.InternalError'> |
errorvalue | InternalError(144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed") |
error | (<class '_mysql_exceptions.InternalError'>, InternalError(144, "Table './escolavila/jornalvila_comentario' is marked as crashed and last (automatic?) repair failed")) |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SERVER_SOFTWARE | 'Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 mod_fcgid/2.3.9 Phusion_Passenger/5.0.30' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/jornalvila/escola/culminancia-projeto-2-2018/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.escolavila.com.br' |
REMOTE_ADDR | '54.157.61.194' |
wsgi.url_scheme | 'http' |
QS_ConnectionId | '171083515811754742305120' |
SERVER_PORT | '80' |
REQUEST_URI | '/jornalvila/escola/culminancia-projeto-2-2018/' |
CSRF_COOKIE | '5e5d5d30a7a5f6ee879e4c335eead9c5' |
SCRIPT_URI | 'http://www.escolavila.com.br/jornalvila/escola/culminancia-projeto-2-2018/' |
wsgi.input | <socket._fileobject object at 0x3aff86e2850> |
HTTP_HOST | 'www.escolavila.com.br' |
SCRIPT_URL | '/jornalvila/escola/culminancia-projeto-2-2018/' |
wsgi.multithread | False |
ds_id_17865429 | '' |
PASSENGER_CONNECT_PASSWORD | 'n7Ix9gW1nSFjI93h' |
HTTP_ACCEPT | '*/*' |
QS_SrvConn | '2' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
dsid | '17865429' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x3aff88631e0> |
REMOTE_PORT | '58382' |
passenger.hijack | None |
QS_AllConn | '2' |
GEM_HOME | '/home/escolavila/.gems' |
UNIQUE_ID | 'ZflF1x9GkRTSfZtKb3EeSAAAdb8' |
DH_USER | 'escolavila' |
escolavila.settings
Setting | Value |
---|---|
DEBUG_TOOLBAR_PANELS | ('third_party.debug_toolbar.panels.version.VersionDebugPanel', 'third_party.debug_toolbar.panels.timer.TimerDebugPanel', 'third_party.debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel', 'third_party.debug_toolbar.panels.headers.HeaderDebugPanel', 'third_party.debug_toolbar.panels.request_vars.RequestVarsDebugPanel', 'third_party.debug_toolbar.panels.template.TemplateDebugPanel', 'third_party.debug_toolbar.panels.sql.SQLDebugPanel', 'third_party.debug_toolbar.panels.signals.SignalDebugPanel', 'third_party.debug_toolbar.panels.logger.LoggingPanel') |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
LANGUAGE_CODE | 'pt-br' |
ROOT_URLCONF | 'escolavila.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
TEST_DATABASE_CHARSET | None |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.3 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMMENTS_MODERATORS_GROUP | None |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': 'mysql.escolavila.com.br', 'NAME': 'escolavila', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Sao_Paulo', 'USER': 'escolavila'}} |
TEST_DATABASE_NAME | None |
FILE_UPLOAD_PERMISSIONS | 511 |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
MIDDLEWARE_CLASSES | ('django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'middleware.threadlocals.ThreadLocals') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
LANGUAGE | (('pt-br', u'Portugu\xeas'),) |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
TEMPLATE_DEBUG | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.auth', 'modulos.grappelli', 'django.contrib.admin', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.syndication', 'django.contrib.messages', 'modulos.imprensa', 'modulos.index_gallery', 'modulos.newsletter', 'modulos.novidades', 'modulos.fale_conosco', 'third_party.debug_toolbar', 'modulos.escola', 'modulos.infraestrutura', 'modulos.jornalvila', 'modulos.material_didatico', 'modulos.proposta_pedagogica', 'modulos.cardapio', 'modulos.trabalhe_conosco', 'modulos.home', 'modulos.calendario'] |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan 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'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | '' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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 | '********************' |
GRAPPELLI_ADMIN_TITLE | 'Escola Vila' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/site_media/admin/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('/home/escolavila/escolavila.com.br/escolavila/templates/',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/escolavila/escolavila.com.br/escolavila/media' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | () |
MEDIA_URL | '/site_media/' |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATABASE_USER | '' |
INDEX_GALLERY_ROOT | 'img/index_gallery/fotos/' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
TIME_ZONE | 'America/Sao_Paulo' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.request', 'modulos.novidades.context_processor.banners') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'escolavila.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | None |
EMAIL_PORT | 25 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
DEBUG_TOOLBAR_CONFIG | {'HIDE_DJANGO_SQL': False, 'INTERCEPT_REDIRECTS': False, 'SHOW_TOOLBAR_CALLBACK': <function custom_show_toolbar at 0x3aff67267d0>} |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
DATABASE_PASSWORD | '********************' |
ADMIN_FOR | () |
PROFANITIES_LIST | '********************' |
EMAIL_HOST_USER | '' |
COMMENTS_BANNED_USERS_GROUP | None |
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.