Cadastrar

Ao se cadastrar no e-Democracia você concorda com nossos Termos de Serviço

Mostrar Senha
Sou estrangeiro

OSError at /bill/6

[Errno 28] No space left on device: '/var/labhacker/wikilegis/wikilegis/public/CACHE/css/camara_deputados.7aba2a992402.css'
Request Method: GET
Request URL: http://wikilegis:8000/wikilegis/bill/6
Django Version: 1.11.5
Exception Type: OSError
Exception Value:
[Errno 28] No space left on device: '/var/labhacker/wikilegis/wikilegis/public/CACHE/css/camara_deputados.7aba2a992402.css'
Exception Location: /usr/lib/python3.6/site-packages/django/core/files/storage.py in _save, line 347
Python Executable: /usr/bin/python3.6
Python Version: 3.6.1
Python Path:
['/var/labhacker/wikilegis/wikilegis',
 '/usr/bin',
 '/usr/lib/python36.zip',
 '/usr/lib/python3.6',
 '/usr/lib/python3.6/lib-dynload',
 '/usr/lib/python3.6/site-packages']
Server time: Qui, 28 Mar 2024 05:32:35 -0300

Error during template rendering

In template /var/labhacker/wikilegis/wikilegis/core/templates/base.html, error at line 0

28

1 {% load staticfiles compress i18n %}
2
3 <!DOCTYPE html>
4 <html>
5 <head>
6 <meta charset="utf-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0">
8
9 {% block extrameta %}
10 {% endblock %}

Traceback Switch to copy-and-paste view

  • /usr/lib/python3.6/site-packages/django/core/handlers/exception.py in inner
    1.     This decorator is automatically applied to all middleware to ensure that
    2.     no middleware leaks an exception and that the next middleware in the stack
    3.     can rely on getting a response instead of an exception.
    4.     """
    5.     @wraps(get_response, assigned=available_attrs(get_response))
    6.     def inner(request):
    7.         try:
    1.             response = get_response(request)
      ...
    1.         except Exception as exc:
    2.             response = response_for_exception(request, exc)
    3.         return response
    4.     return inner
    Variable Value
    exc
    OSError(28, 'No space left on device')
    get_response
    <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f54aaaa7d30>>
    request
    <WSGIRequest: GET '/wikilegis/bill/6'>
  • /usr/lib/python3.6/site-packages/django/core/handlers/base.py in _get_response
    1.                         "HttpResponse object. It returned None instead."
    2.                         % (middleware_method.__self__.__class__.__name__)
    3.                     )
    4.             try:
    5.                 response = response.render()
    6.             except Exception as e:
    1.                 response = self.process_exception_by_middleware(e, request)
      ...
    1.         return response
    2.     def process_exception_by_middleware(self, exception, request):
    3.         """
    4.         Pass the exception to the exception middleware. If no middleware
    Variable Value
    callback
    <function HomeView at 0x7f54aa5e19d8>
    callback_args
    ()
    callback_kwargs
    {'bill_id': '6'}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f54aaa753c8>>
    request
    <WSGIRequest: GET '/wikilegis/bill/6'>
    resolver
    <RegexURLResolver 'wikilegis.urls' (None:None) ^/>
    resolver_match
    ResolverMatch(func=core.views.HomeView, args=(), kwargs={'bill_id': '6'}, url_name=bill_index, app_names=[], namespaces=[])
    response
    <TemplateResponse status_code=200, "text/html; charset=utf-8">
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x7f54aaaa7d30>
    wrapped_callback
    <function HomeView at 0x7f54aa5e19d8>
  • /usr/lib/python3.6/site-packages/django/core/handlers/base.py in _get_response
    1.                     raise ValueError(
    2.                         "%s.process_template_response didn't return an "
    3.                         "HttpResponse object. It returned None instead."
    4.                         % (middleware_method.__self__.__class__.__name__)
    5.                     )
    6.             try:
    1.                 response = response.render()
      ...
    1.             except Exception as e:
    2.                 response = self.process_exception_by_middleware(e, request)
    3.         return response
    4.     def process_exception_by_middleware(self, exception, request):
    Variable Value
    callback
    <function HomeView at 0x7f54aa5e19d8>
    callback_args
    ()
    callback_kwargs
    {'bill_id': '6'}
    middleware_method
    <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f54aaa753c8>>
    request
    <WSGIRequest: GET '/wikilegis/bill/6'>
    resolver
    <RegexURLResolver 'wikilegis.urls' (None:None) ^/>
    resolver_match
    ResolverMatch(func=core.views.HomeView, args=(), kwargs={'bill_id': '6'}, url_name=bill_index, app_names=[], namespaces=[])
    response
    <TemplateResponse status_code=200, "text/html; charset=utf-8">
    self
    <django.core.handlers.wsgi.WSGIHandler object at 0x7f54aaaa7d30>
    wrapped_callback
    <function HomeView at 0x7f54aa5e19d8>
  • /usr/lib/python3.6/site-packages/django/template/response.py in render
    1.         If the content has already been rendered, this is a no-op.
    2.         Returns the baked response instance.
    3.         """
    4.         retval = self
    5.         if not self._is_rendered:
    1.             self.content = self.rendered_content
      ...
    1.             for post_callback in self._post_render_callbacks:
    2.                 newretval = post_callback(retval)
    3.                 if newretval is not None:
    4.                     retval = newretval
    5.         return retval
    Variable Value
    retval
    <TemplateResponse status_code=200, "text/html; charset=utf-8">
    self
    <TemplateResponse status_code=200, "text/html; charset=utf-8">
  • /usr/lib/python3.6/site-packages/django/template/response.py in rendered_content
    1.         This *does not* set the final content of the response. To set the
    2.         response content, you must either call render(), or set the
    3.         content explicitly using the value of this property.
    4.         """
    5.         template = self.resolve_template(self.template_name)
    6.         context = self.resolve_context(self.context_data)
    1.         content = template.render(context, self._request)
      ...
    1.         return content
    2.     def add_post_render_callback(self, callback):
    3.         """Adds a new post-rendering callback.
    4.         If the response has already been rendered,
    Variable Value
    context
    {'bill_id': '6',
     'closed_bills': <QuerySet []>,
     'closed_private_bills': <QuerySet []>,
     'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>,
     'open_private_bills': <QuerySet []>,
     'prefix_url': '/wikilegis',
     'view': <core.views.HomeView object at 0x7f54a9dd0390>}
    self
    <TemplateResponse status_code=200, "text/html; charset=utf-8">
    template
    <django.template.backends.django.Template object at 0x7f54a9d9acf8>
  • /usr/lib/python3.6/site-packages/django/template/backends/django.py in render
    1.     @property
    2.     def origin(self):
    3.         return self.template.origin
    4.     def render(self, context=None, request=None):
    5.         context = make_context(context, request, autoescape=self.backend.engine.autoescape)
    6.         try:
    1.             return self.template.render(context)
      ...
    1.         except TemplateDoesNotExist as exc:
    2.             reraise(exc, self.backend)
    3. def copy_exception(exc, backend=None):
    4.     """
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    request
    <WSGIRequest: GET '/wikilegis/bill/6'>
    self
    <django.template.backends.django.Template object at 0x7f54a9d9acf8>
  • /usr/lib/python3.6/site-packages/django/template/base.py in render
    1.     def render(self, context):
    2.         "Display stage -- can be called many times"
    3.         with context.render_context.push_state(self):
    4.             if context.template is None:
    5.                 with context.bind_template(self):
    6.                     context.template_name = self.name
    1.                     return self._render(context)
      ...
    1.             else:
    2.                 return self._render(context)
    3.     def compile_nodelist(self):
    4.         """
    5.         Parse and compile the template source into a nodelist. If debug
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <django.template.base.Template object at 0x7f54a96a8358>
  • /usr/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render
    1. def instrumented_test_render(self, context):
    2.     """
    3.     An instrumented Template render method, providing a signal
    4.     that can be intercepted by the test system Client
    5.     """
    6.     template_rendered.send(sender=self, template=self, context=context)
    1.     return self.nodelist.render(context)
      ...
    1. class _TestState(object):
    2.     pass
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <django.template.base.Template object at 0x7f54a96a8358>
  • /usr/lib/python3.6/site-packages/django/template/base.py in render
    1.     # extend_nodelist().
    2.     contains_nontext = False
    3.     def render(self, context):
    4.         bits = []
    5.         for node in self:
    6.             if isinstance(node, Node):
    1.                 bit = node.render_annotated(context)
      ...
    1.             else:
    2.                 bit = node
    3.             bits.append(force_text(bit))
    4.         return mark_safe(''.join(bits))
    5.     def get_nodes_by_type(self, nodetype):
    Variable Value
    bits
    []
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    node
    <ExtendsNode: extends "base.html">
    self
    [<ExtendsNode: extends "base.html">]
  • /usr/lib/python3.6/site-packages/django/template/base.py in render_annotated
    1.         """
    2.         Render the node. If debug is True and an exception occurs during
    3.         rendering, the exception is annotated with contextual line information
    4.         where it occurred in the template. For internal usage this method is
    5.         preferred over using the render method directly.
    6.         """
    7.         try:
    1.             return self.render(context)
      ...
    1.         except Exception as e:
    2.             if context.template.engine.debug and not hasattr(e, 'template_debug'):
    3.                 e.template_debug = context.render_context.template.get_exception_info(e, self.token)
    4.             raise
    5.     def __iter__(self):
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <ExtendsNode: extends "base.html">
  • /usr/lib/python3.6/site-packages/django/template/loader_tags.py in render
    1.                               compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
    2.                     block_context.add_blocks(blocks)
    3.                 break
    4.         # Call Template._render explicitly so the parser context stays
    5.         # the same.
    6.         with context.render_context.push_state(compiled_parent, isolated_context=False):
    1.             return compiled_parent._render(context)
      ...
    1. class IncludeNode(Node):
    2.     context_key = '__include_context'
    3.     def __init__(self, template, *args, **kwargs):
    Variable Value
    block_context
    <django.template.loader_tags.BlockContext object at 0x7f54a96a8470>
    compiled_parent
    <django.template.base.Template object at 0x7f54a9f81080>
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    node
    <ExtendsNode: extends "base.html">
    self
    <ExtendsNode: extends "base.html">
  • /usr/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render
    1. def instrumented_test_render(self, context):
    2.     """
    3.     An instrumented Template render method, providing a signal
    4.     that can be intercepted by the test system Client
    5.     """
    6.     template_rendered.send(sender=self, template=self, context=context)
    1.     return self.nodelist.render(context)
      ...
    1. class _TestState(object):
    2.     pass
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <django.template.base.Template object at 0x7f54a9f81080>
  • /usr/lib/python3.6/site-packages/django/template/base.py in render
    1.     # extend_nodelist().
    2.     contains_nontext = False
    3.     def render(self, context):
    4.         bits = []
    5.         for node in self:
    6.             if isinstance(node, Node):
    1.                 bit = node.render_annotated(context)
      ...
    1.             else:
    2.                 bit = node
    3.             bits.append(force_text(bit))
    4.         return mark_safe(''.join(bits))
    5.     def get_nodes_by_type(self, nodetype):
    Variable Value
    bits
    []
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    node
    <ExtendsNode: extends "base.html">
    self
    [<ExtendsNode: extends "base.html">]
  • /usr/lib/python3.6/site-packages/django/template/base.py in render_annotated
    1.         """
    2.         Render the node. If debug is True and an exception occurs during
    3.         rendering, the exception is annotated with contextual line information
    4.         where it occurred in the template. For internal usage this method is
    5.         preferred over using the render method directly.
    6.         """
    7.         try:
    1.             return self.render(context)
      ...
    1.         except Exception as e:
    2.             if context.template.engine.debug and not hasattr(e, 'template_debug'):
    3.                 e.template_debug = context.render_context.template.get_exception_info(e, self.token)
    4.             raise
    5.     def __iter__(self):
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <ExtendsNode: extends "base.html">
  • /usr/lib/python3.6/site-packages/django/template/loader_tags.py in render
    1.                               compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
    2.                     block_context.add_blocks(blocks)
    3.                 break
    4.         # Call Template._render explicitly so the parser context stays
    5.         # the same.
    6.         with context.render_context.push_state(compiled_parent, isolated_context=False):
    1.             return compiled_parent._render(context)
      ...
    1. class IncludeNode(Node):
    2.     context_key = '__include_context'
    3.     def __init__(self, template, *args, **kwargs):
    Variable Value
    block_context
    <django.template.loader_tags.BlockContext object at 0x7f54a96a8470>
    blocks
    {'content': <Block Node: content. Contents: [<TextNode: '\n    '>]>,
     'extra_js': <Block Node: extra_js. Contents: []>,
     'extra_styles': <Block Node: extra_styles. Contents: []>,
     'extrameta': <Block Node: extrameta. Contents: [<TextNode: '\n    '>]>,
     'javascript': <Block Node: javascript. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54aa1667f0>, <TextNode: '\n    '>]>,
     'styles': <Block Node: styles. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a94b66a0>, <TextNode: '\n    '>]>,
     'title': <Block Node: title. Contents: [<TextNode: 'Wikilegis'>]>}
    compiled_parent
    <django.template.base.Template object at 0x7f54a999f588>
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    node
    <django.template.defaulttags.LoadNode object at 0x7f54aa166438>
    self
    <ExtendsNode: extends "base.html">
  • /usr/lib/python3.6/site-packages/django/test/utils.py in instrumented_test_render
    1. def instrumented_test_render(self, context):
    2.     """
    3.     An instrumented Template render method, providing a signal
    4.     that can be intercepted by the test system Client
    5.     """
    6.     template_rendered.send(sender=self, template=self, context=context)
    1.     return self.nodelist.render(context)
      ...
    1. class _TestState(object):
    2.     pass
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <django.template.base.Template object at 0x7f54a999f588>
  • /usr/lib/python3.6/site-packages/django/template/base.py in render
    1.     # extend_nodelist().
    2.     contains_nontext = False
    3.     def render(self, context):
    4.         bits = []
    5.         for node in self:
    6.             if isinstance(node, Node):
    1.                 bit = node.render_annotated(context)
      ...
    1.             else:
    2.                 bit = node
    3.             bits.append(force_text(bit))
    4.         return mark_safe(''.join(bits))
    5.     def get_nodes_by_type(self, nodetype):
    Variable Value
    bit
    '</title>\n    '
    bits
    ['',
     '\n'
     '\n'
     '<!DOCTYPE html>\n'
     '<html>\n'
     '  <head>\n'
     '    <meta charset="utf-8">\n'
     '    <meta name="viewport" content="width=device-width, initial-scale=1.0, '
     'maximum-scale=2.0">\n'
     '\n'
     '    ',
     '\n    ',
     '\n\n    <title>',
     'Wikilegis',
     '</title>\n    ']
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    node
    <Block Node: styles. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a94b66a0>, <TextNode: '\n    '>]>
    self
    [<django.template.defaulttags.LoadNode object at 0x7f54aa166438>,
     <TextNode: '\n\n<!DOCTYPE html>\n<html>\n'>,
     <Block Node: extrameta. Contents: [<TextNode: '\n    '>]>,
     <TextNode: '\n\n    <title>'>,
     <Block Node: title. Contents: [<TextNode: 'Wikilegis'>]>,
     <TextNode: '</title>\n    '>,
     <Block Node: styles. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a94b66a0>, <TextNode: '\n    '>]>,
     <TextNode: '\n\n    '>,
     <Block Node: extra_styles. Contents: []>,
     <TextNode: '\n  </head>\n\n  <body>\n    '>,
     <Block Node: content. Contents: [<TextNode: '\n    '>]>,
     <TextNode: '\n\n    <script>\n      var '>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa1662e8>,
     <TextNode: '",\n        emptyCommentTe'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa1667b8>,
     <TextNode: '",\n        emptyAmendment'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa166b38>,
     <TextNode: '",\n        emptyAmendment'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa166ac8>,
     <TextNode: '",\n        sameAsSegmentT'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa166240>,
     <TextNode: '",\n        sameAsSegmentT'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa166550>,
     <TextNode: '",\n        userNotLoggedI'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54aa1660f0>,
     <TextNode: '",\n        userNotLoggedI'>,
     <django.template.defaulttags.URLNode object at 0x7f54a923d860>,
     <TextNode: '\\">'>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54a99611d0>,
     <TextNode: '</a> '>,
     <django.templatetags.i18n.TranslateNode object at 0x7f54a9961198>,
     <TextNode: '",\n      };\n      var pre'>,
     <Variable Node: prefix_url|default_if_none:"">,
     <TextNode: "';\n      var segmentsList">,
     <Block Node: javascript. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54aa1667f0>, <TextNode: '\n    '>]>,
     <TextNode: '\n\n    '>,
     <Block Node: extra_js. Contents: []>,
     <TextNode: '\n  </body>\n</html>\n'>]
  • /usr/lib/python3.6/site-packages/django/template/base.py in render_annotated
    1.         """
    2.         Render the node. If debug is True and an exception occurs during
    3.         rendering, the exception is annotated with contextual line information
    4.         where it occurred in the template. For internal usage this method is
    5.         preferred over using the render method directly.
    6.         """
    7.         try:
    1.             return self.render(context)
      ...
    1.         except Exception as e:
    2.             if context.template.engine.debug and not hasattr(e, 'template_debug'):
    3.                 e.template_debug = context.render_context.template.get_exception_info(e, self.token)
    4.             raise
    5.     def __iter__(self):
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <Block Node: styles. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a94b66a0>, <TextNode: '\n    '>]>
  • /usr/lib/python3.6/site-packages/django/template/loader_tags.py in render
    1.                 push = block = block_context.pop(self.name)
    2.                 if block is None:
    3.                     block = self
    4.                 # Create new block so we can store context without thread-safety issues.
    5.                 block = type(self)(block.name, block.nodelist)
    6.                 block.context = context
    7.                 context['block'] = block
    1.                 result = block.nodelist.render(context)
      ...
    1.                 if push is not None:
    2.                     block_context.push(self.name, push)
    3.         return result
    4.     def super(self):
    5.         if not hasattr(self, 'context'):
    Variable Value
    block
    <Block Node: styles. Contents: [<TextNode: '\n  '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>, <TextNode: '\n'>]>
    block_context
    <django.template.loader_tags.BlockContext object at 0x7f54a96a8470>
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    push
    <Block Node: styles. Contents: [<TextNode: '\n  '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>, <TextNode: '\n'>]>
    self
    <Block Node: styles. Contents: [<TextNode: '\n      '>, <compressor.templatetags.compress.CompressorNode object at 0x7f54a94b66a0>, <TextNode: '\n    '>]>
  • /usr/lib/python3.6/site-packages/django/template/base.py in render
    1.     # extend_nodelist().
    2.     contains_nontext = False
    3.     def render(self, context):
    4.         bits = []
    5.         for node in self:
    6.             if isinstance(node, Node):
    1.                 bit = node.render_annotated(context)
      ...
    1.             else:
    2.                 bit = node
    3.             bits.append(force_text(bit))
    4.         return mark_safe(''.join(bits))
    5.     def get_nodes_by_type(self, nodetype):
    Variable Value
    bit
    '\n  '
    bits
    ['\n  ']
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    node
    <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>
    self
    [<TextNode: '\n  '>,
     <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>,
     <TextNode: '\n'>]
  • /usr/lib/python3.6/site-packages/django/template/base.py in render_annotated
    1.         """
    2.         Render the node. If debug is True and an exception occurs during
    3.         rendering, the exception is annotated with contextual line information
    4.         where it occurred in the template. For internal usage this method is
    5.         preferred over using the render method directly.
    6.         """
    7.         try:
    1.             return self.render(context)
      ...
    1.         except Exception as e:
    2.             if context.template.engine.debug and not hasattr(e, 'template_debug'):
    3.                 e.template_debug = context.render_context.template.get_exception_info(e, self.token)
    4.             raise
    5.     def __iter__(self):
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    self
    <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>
  • /usr/lib/python3.6/site-packages/compressor/templatetags/compress.py in render
    1.     def render(self, context, forced=False):
    2.         # Check if in debug mode
    3.         if self.debug_mode(context):
    4.             return self.get_original_content(context)
    1.         return self.render_compressed(context, self.kind, self.mode, forced=forced)
      ...
    1. @register.tag
    2. def compress(parser, token):
    3.     """
    4.     Compresses linked and inline javascript or CSS into a single cached file.
    Variable Value
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    forced
    False
    self
    <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>
  • /usr/lib/python3.6/site-packages/compressor/templatetags/compress.py in render_compressed
    1.         # Check cache
    2.         cache_key = None
    3.         if settings.COMPRESS_ENABLED and not forced:
    4.             cache_key, cache_content = self.render_cached(compressor, kind, mode)
    5.             if cache_content is not None:
    6.                 return cache_content
    1.         rendered_output = compressor.output(mode, forced=forced)
      ...
    1.         assert isinstance(rendered_output, six.string_types)
    2.         if cache_key:
    3.             cache_set(cache_key, rendered_output)
    4.         return rendered_output
    Variable Value
    cache_key
    None
    compressor
    <compressor.css.CssCompressor object at 0x7f54a9f81208>
    context
    [{'True': True, 'False': False, 'None': None}, {}, {}, {'bill_id': '6', 'view': <core.views.HomeView object at 0x7f54a9dd0390>, 'open_private_bills': <QuerySet []>, 'closed_private_bills': <QuerySet []>, 'open_bills': <QuerySet [<Bill: Projeto de Lei Ordinária nº 1172 de 2022>, <Bill: Projeto de Lei Ordinária nº 1102/2022>, <Bill: Projeto de Lei Ordinária nº 760/2022>]>, 'closed_bills': <QuerySet []>, 'prefix_url': '/wikilegis'}]
    forced
    False
    kind
    'css'
    mode
    'file'
    self
    <compressor.templatetags.compress.CompressorNode object at 0x7f54a9f810f0>
  • /usr/lib/python3.6/site-packages/compressor/css.py in output
    1.                 kwargs.get('forced', False)):
    2.             # Populate self.split_content
    3.             self.split_contents()
    4.             if hasattr(self, 'media_nodes'):
    5.                 ret = []
    6.                 for media, subnode in self.media_nodes:
    7.                     subnode.extra_context.update({'media': media})
    1.                     ret.append(subnode.output(*args, **kwargs))
      ...
    1.                 return ''.join(ret)
    2.         return super(CssCompressor, self).output(*args, **kwargs)
    Variable Value
    __class__
    <class 'compressor.css.CssCompressor'>
    args
    ('file',)
    kwargs
    {'forced': False}
    media
    None
    ret
    []
    self
    <compressor.css.CssCompressor object at 0x7f54a9f81208>
    subnode
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
  • /usr/lib/python3.6/site-packages/compressor/css.py in output
    1.             self.split_contents()
    2.             if hasattr(self, 'media_nodes'):
    3.                 ret = []
    4.                 for media, subnode in self.media_nodes:
    5.                     subnode.extra_context.update({'media': media})
    6.                     ret.append(subnode.output(*args, **kwargs))
    7.                 return ''.join(ret)
    1.         return super(CssCompressor, self).output(*args, **kwargs)
      ...
    Variable Value
    __class__
    <class 'compressor.css.CssCompressor'>
    args
    ('file',)
    kwargs
    {'forced': False}
    self
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
  • /usr/lib/python3.6/site-packages/compressor/base.py in output
    1.     def output(self, mode='file', forced=False):
    2.         """
    3.         The general output method, override in subclass if you need to do
    4.         any custom modification. Calls other mode specific methods or simply
    5.         returns the content directly.
    6.         """
    1.         output = '\n'.join(self.filter_input(forced))
      ...
    1.         if not output:
    2.             return ''
    3.         if settings.COMPRESS_ENABLED or forced:
    4.             filtered_output = self.filter_output(output)
    Variable Value
    forced
    False
    mode
    'file'
    self
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
  • /usr/lib/python3.6/site-packages/compressor/base.py in filter_input
    1.     def filter_input(self, forced=False):
    2.         """
    3.         Passes each hunk (file or code) to the 'input' methods
    4.         of the compressor filters.
    5.         """
    6.         content = []
    1.         for hunk in self.hunks(forced):
      ...
    1.             content.append(hunk)
    2.         return content
    3.     def precompile(self, content, kind=None, elem=None, filename=None,
    4.                    charset=None, **kwargs):
    5.         """
    Variable Value
    content
    []
    forced
    False
    self
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
  • /usr/lib/python3.6/site-packages/compressor/base.py in hunks
    1.                 # statements in css files. therefore we run the absolute filter
    2.                 # on precompiled css files even if compression is disabled.
    3.                 if CssAbsoluteFilter in self.cached_filters:
    4.                     value = self.filter(value, [CssAbsoluteFilter], **options)
    5.                 elif CssRelativeFilter in self.cached_filters:
    6.                     value = self.filter(value, [CssRelativeFilter], **options)
    7.                 yield self.handle_output(kind, value, forced=True,
    1.                                          basename=basename)
      ...
    1.             else:
    2.                 yield self.parser.elem_str(elem)
    3.     def filter_output(self, content):
    4.         """
    5.         Passes the concatenated content to the 'output' methods
    Variable Value
    attribs
    {'href': '/wikilegis/static/styles/camara_deputados.scss',
     'rel': 'stylesheet',
     'type': 'text/x-scss'}
    basename
    'styles/camara_deputados.scss'
    charset
    'utf-8'
    elem
    {'attrs': [('type', 'text/x-scss'),
               ('rel', 'stylesheet'),
               ('href', '/wikilegis/static/styles/camara_deputados.scss')],
     'attrs_dict': {'href': '/wikilegis/static/styles/camara_deputados.scss',
                    'rel': 'stylesheet',
                    'type': 'text/x-scss'},
     'tag': 'link',
     'text': None}
    enabled
    False
    forced
    False
    kind
    'file'
    options
    {'basename': 'styles/camara_deputados.scss',
     'charset': 'utf-8',
     'elem': {'attrs': [('type', 'text/x-scss'),
                        ('rel', 'stylesheet'),
                        ('href', '/wikilegis/static/styles/camara_deputados.scss')],
              'attrs_dict': {'href': '/wikilegis/static/styles/camara_deputados.scss',
                             'rel': 'stylesheet',
                             'type': 'text/x-scss'},
              'tag': 'link',
              'text': None},
     'filename': '/var/labhacker/wikilegis/wikilegis/public/styles/camara_deputados.scss',
     'kind': 'file',
     'method': 'input'}
    precompiled
    True
    self
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
    value
    ('/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css '
     '*/\n'
     '/**\n'
     ' * 1. Change the default font family in all browsers (opinionated).\n'
     ' * 2. Correct the line height in all browsers.\n'
     ' * 3. Prevent adjustments of font size after orientation changes in\n'
     ' *    IE on Windows Phone and in iOS.\n'
     ' */\n'
     '/* Document\n'
     '   '
     '========================================================================== '
     '*/\n'
     '@import '
     "'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800';\n"
     '@import '
     'url(/wikilegis/static/bower_components/fontastic-labhacker/styles.css?8aa9b09e520a);\n'
     'html {\n'
     '  font-family: sans-serif;\n'
     '  /* 1 */\n'
     '  line-height: 1.15;\n'
     '  /* 2 */\n'
     '  -ms-text-size-adjust: 100%;\n'
     '  /* 3 */\n'
     '  -webkit-text-size-adjust: 100%;\n'
     '  /* 3 */\n'
     '}\n'
     '\n'
     '/* Sections\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * Remove the margin in all browsers (opinionated).\n'
     ' */\n'
     'body {\n'
     '  margin: 0;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct display in IE 9-.\n'
     ' */\n'
     'article,\n'
     'aside,\n'
     'footer,\n'
     'header,\n'
     'nav,\n'
     'section {\n'
     '  display: block;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Correct the font size and margin on `h1` elements within `section` and\n'
     ' * `article` contexts in Chrome, Firefox, and Safari.\n'
     ' */\n'
     'h1 {\n'
     '  font-size: 2em;\n'
     '  margin: 0.67em 0;\n'
     '}\n'
     '\n'
     '/* Grouping content\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * Add the correct display in IE 9-.\n'
     ' * 1. Add the correct display in IE.\n'
     ' */\n'
     'figcaption,\n'
     'figure,\n'
     'main {\n'
     '  /* 1 */\n'
     '  display: block;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct margin in IE 8.\n'
     ' */\n'
     'figure {\n'
     '  margin: 1em 40px;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Add the correct box sizing in Firefox.\n'
     ' * 2. Show the overflow in Edge and IE.\n'
     ' */\n'
     'hr {\n'
     '  box-sizing: content-box;\n'
     '  /* 1 */\n'
     '  height: 0;\n'
     '  /* 1 */\n'
     '  overflow: visible;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Correct the inheritance and scaling of font size in all browsers.\n'
     ' * 2. Correct the odd `em` font sizing in all browsers.\n'
     ' */\n'
     'pre {\n'
     '  font-family: monospace, monospace;\n'
     '  /* 1 */\n'
     '  font-size: 1em;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/* Text-level semantics\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * 1. Remove the gray background on active links in IE 10.\n'
     ' * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n'
     ' */\n'
     'a {\n'
     '  background-color: transparent;\n'
     '  /* 1 */\n'
     '  -webkit-text-decoration-skip: objects;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Remove the outline on focused links when they are also active or hovered\n'
     ' * in all browsers (opinionated).\n'
     ' */\n'
     'a:active,\n'
     'a:hover {\n'
     '  outline-width: 0;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Remove the bottom border in Firefox 39-.\n'
     ' * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and '
     'Safari.\n'
     ' */\n'
     'abbr[title] {\n'
     '  border-bottom: none;\n'
     '  /* 1 */\n'
     '  text-decoration: underline;\n'
     '  /* 2 */\n'
     '  text-decoration: underline dotted;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Prevent the duplicate application of `bolder` by the next rule in Safari '
     '6.\n'
     ' */\n'
     'b,\n'
     'strong {\n'
     '  font-weight: inherit;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct font weight in Chrome, Edge, and Safari.\n'
     ' */\n'
     'b,\n'
     'strong {\n'
     '  font-weight: bolder;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Correct the inheritance and scaling of font size in all browsers.\n'
     ' * 2. Correct the odd `em` font sizing in all browsers.\n'
     ' */\n'
     'code,\n'
     'kbd,\n'
     'samp {\n'
     '  font-family: monospace, monospace;\n'
     '  /* 1 */\n'
     '  font-size: 1em;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct font style in Android 4.3-.\n'
     ' */\n'
     'dfn {\n'... <trimmed 456157 bytes string>
  • /usr/lib/python3.6/site-packages/compressor/base.py in handle_output
    1.         return output
    2.     def handle_output(self, mode, content, forced, basename=None):
    3.         # Then check for the appropriate output method and call it
    4.         output_func = getattr(self, "output_%s" % mode, None)
    5.         if callable(output_func):
    1.             return output_func(mode, content, forced, basename)
      ...
    1.         # Total failure, raise a general exception
    2.         raise CompressorError(
    3.             "Couldn't find output method for mode '%s'" % mode)
    4.     def output_file(self, mode, content, forced=False, basename=None):
    5.         """
    Variable Value
    basename
    'styles/camara_deputados.scss'
    content
    ('/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css '
     '*/\n'
     '/**\n'
     ' * 1. Change the default font family in all browsers (opinionated).\n'
     ' * 2. Correct the line height in all browsers.\n'
     ' * 3. Prevent adjustments of font size after orientation changes in\n'
     ' *    IE on Windows Phone and in iOS.\n'
     ' */\n'
     '/* Document\n'
     '   '
     '========================================================================== '
     '*/\n'
     '@import '
     "'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800';\n"
     '@import '
     'url(/wikilegis/static/bower_components/fontastic-labhacker/styles.css?8aa9b09e520a);\n'
     'html {\n'
     '  font-family: sans-serif;\n'
     '  /* 1 */\n'
     '  line-height: 1.15;\n'
     '  /* 2 */\n'
     '  -ms-text-size-adjust: 100%;\n'
     '  /* 3 */\n'
     '  -webkit-text-size-adjust: 100%;\n'
     '  /* 3 */\n'
     '}\n'
     '\n'
     '/* Sections\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * Remove the margin in all browsers (opinionated).\n'
     ' */\n'
     'body {\n'
     '  margin: 0;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct display in IE 9-.\n'
     ' */\n'
     'article,\n'
     'aside,\n'
     'footer,\n'
     'header,\n'
     'nav,\n'
     'section {\n'
     '  display: block;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Correct the font size and margin on `h1` elements within `section` and\n'
     ' * `article` contexts in Chrome, Firefox, and Safari.\n'
     ' */\n'
     'h1 {\n'
     '  font-size: 2em;\n'
     '  margin: 0.67em 0;\n'
     '}\n'
     '\n'
     '/* Grouping content\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * Add the correct display in IE 9-.\n'
     ' * 1. Add the correct display in IE.\n'
     ' */\n'
     'figcaption,\n'
     'figure,\n'
     'main {\n'
     '  /* 1 */\n'
     '  display: block;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct margin in IE 8.\n'
     ' */\n'
     'figure {\n'
     '  margin: 1em 40px;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Add the correct box sizing in Firefox.\n'
     ' * 2. Show the overflow in Edge and IE.\n'
     ' */\n'
     'hr {\n'
     '  box-sizing: content-box;\n'
     '  /* 1 */\n'
     '  height: 0;\n'
     '  /* 1 */\n'
     '  overflow: visible;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Correct the inheritance and scaling of font size in all browsers.\n'
     ' * 2. Correct the odd `em` font sizing in all browsers.\n'
     ' */\n'
     'pre {\n'
     '  font-family: monospace, monospace;\n'
     '  /* 1 */\n'
     '  font-size: 1em;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/* Text-level semantics\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * 1. Remove the gray background on active links in IE 10.\n'
     ' * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n'
     ' */\n'
     'a {\n'
     '  background-color: transparent;\n'
     '  /* 1 */\n'
     '  -webkit-text-decoration-skip: objects;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Remove the outline on focused links when they are also active or hovered\n'
     ' * in all browsers (opinionated).\n'
     ' */\n'
     'a:active,\n'
     'a:hover {\n'
     '  outline-width: 0;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Remove the bottom border in Firefox 39-.\n'
     ' * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and '
     'Safari.\n'
     ' */\n'
     'abbr[title] {\n'
     '  border-bottom: none;\n'
     '  /* 1 */\n'
     '  text-decoration: underline;\n'
     '  /* 2 */\n'
     '  text-decoration: underline dotted;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Prevent the duplicate application of `bolder` by the next rule in Safari '
     '6.\n'
     ' */\n'
     'b,\n'
     'strong {\n'
     '  font-weight: inherit;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct font weight in Chrome, Edge, and Safari.\n'
     ' */\n'
     'b,\n'
     'strong {\n'
     '  font-weight: bolder;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Correct the inheritance and scaling of font size in all browsers.\n'
     ' * 2. Correct the odd `em` font sizing in all browsers.\n'
     ' */\n'
     'code,\n'
     'kbd,\n'
     'samp {\n'
     '  font-family: monospace, monospace;\n'
     '  /* 1 */\n'
     '  font-size: 1em;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct font style in Android 4.3-.\n'
     ' */\n'
     'dfn {\n'... <trimmed 456157 bytes string>
    forced
    True
    mode
    'file'
    output_func
    <bound method Compressor.output_file of <compressor.css.CssCompressor object at 0x7f54a999fcc0>>
    self
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
  • /usr/lib/python3.6/site-packages/compressor/base.py in output_file
    1.     def output_file(self, mode, content, forced=False, basename=None):
    2.         """
    3.         The output method that saves the content to a file and renders
    4.         the appropriate template with the file's URL.
    5.         """
    6.         new_filepath = self.get_filepath(content, basename=basename)
    7.         if not self.storage.exists(new_filepath) or forced:
    1.             self.storage.save(new_filepath, ContentFile(content.encode(self.charset)))
      ...
    1.         url = mark_safe(self.storage.url(new_filepath))
    2.         return self.render_output(mode, {"url": url})
    3.     def output_inline(self, mode, content, forced=False, basename=None):
    4.         """
    5.         The output method that directly returns the content for inline
    Variable Value
    basename
    'styles/camara_deputados.scss'
    content
    ('/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css '
     '*/\n'
     '/**\n'
     ' * 1. Change the default font family in all browsers (opinionated).\n'
     ' * 2. Correct the line height in all browsers.\n'
     ' * 3. Prevent adjustments of font size after orientation changes in\n'
     ' *    IE on Windows Phone and in iOS.\n'
     ' */\n'
     '/* Document\n'
     '   '
     '========================================================================== '
     '*/\n'
     '@import '
     "'https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800';\n"
     '@import '
     'url(/wikilegis/static/bower_components/fontastic-labhacker/styles.css?8aa9b09e520a);\n'
     'html {\n'
     '  font-family: sans-serif;\n'
     '  /* 1 */\n'
     '  line-height: 1.15;\n'
     '  /* 2 */\n'
     '  -ms-text-size-adjust: 100%;\n'
     '  /* 3 */\n'
     '  -webkit-text-size-adjust: 100%;\n'
     '  /* 3 */\n'
     '}\n'
     '\n'
     '/* Sections\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * Remove the margin in all browsers (opinionated).\n'
     ' */\n'
     'body {\n'
     '  margin: 0;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct display in IE 9-.\n'
     ' */\n'
     'article,\n'
     'aside,\n'
     'footer,\n'
     'header,\n'
     'nav,\n'
     'section {\n'
     '  display: block;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Correct the font size and margin on `h1` elements within `section` and\n'
     ' * `article` contexts in Chrome, Firefox, and Safari.\n'
     ' */\n'
     'h1 {\n'
     '  font-size: 2em;\n'
     '  margin: 0.67em 0;\n'
     '}\n'
     '\n'
     '/* Grouping content\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * Add the correct display in IE 9-.\n'
     ' * 1. Add the correct display in IE.\n'
     ' */\n'
     'figcaption,\n'
     'figure,\n'
     'main {\n'
     '  /* 1 */\n'
     '  display: block;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct margin in IE 8.\n'
     ' */\n'
     'figure {\n'
     '  margin: 1em 40px;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Add the correct box sizing in Firefox.\n'
     ' * 2. Show the overflow in Edge and IE.\n'
     ' */\n'
     'hr {\n'
     '  box-sizing: content-box;\n'
     '  /* 1 */\n'
     '  height: 0;\n'
     '  /* 1 */\n'
     '  overflow: visible;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Correct the inheritance and scaling of font size in all browsers.\n'
     ' * 2. Correct the odd `em` font sizing in all browsers.\n'
     ' */\n'
     'pre {\n'
     '  font-family: monospace, monospace;\n'
     '  /* 1 */\n'
     '  font-size: 1em;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/* Text-level semantics\n'
     '   '
     '========================================================================== '
     '*/\n'
     '/**\n'
     ' * 1. Remove the gray background on active links in IE 10.\n'
     ' * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n'
     ' */\n'
     'a {\n'
     '  background-color: transparent;\n'
     '  /* 1 */\n'
     '  -webkit-text-decoration-skip: objects;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Remove the outline on focused links when they are also active or hovered\n'
     ' * in all browsers (opinionated).\n'
     ' */\n'
     'a:active,\n'
     'a:hover {\n'
     '  outline-width: 0;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Remove the bottom border in Firefox 39-.\n'
     ' * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and '
     'Safari.\n'
     ' */\n'
     'abbr[title] {\n'
     '  border-bottom: none;\n'
     '  /* 1 */\n'
     '  text-decoration: underline;\n'
     '  /* 2 */\n'
     '  text-decoration: underline dotted;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Prevent the duplicate application of `bolder` by the next rule in Safari '
     '6.\n'
     ' */\n'
     'b,\n'
     'strong {\n'
     '  font-weight: inherit;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct font weight in Chrome, Edge, and Safari.\n'
     ' */\n'
     'b,\n'
     'strong {\n'
     '  font-weight: bolder;\n'
     '}\n'
     '\n'
     '/**\n'
     ' * 1. Correct the inheritance and scaling of font size in all browsers.\n'
     ' * 2. Correct the odd `em` font sizing in all browsers.\n'
     ' */\n'
     'code,\n'
     'kbd,\n'
     'samp {\n'
     '  font-family: monospace, monospace;\n'
     '  /* 1 */\n'
     '  font-size: 1em;\n'
     '  /* 2 */\n'
     '}\n'
     '\n'
     '/**\n'
     ' * Add the correct font style in Android 4.3-.\n'
     ' */\n'
     'dfn {\n'... <trimmed 456157 bytes string>
    forced
    True
    mode
    'file'
    new_filepath
    'CACHE/css/camara_deputados.7aba2a992402.css'
    self
    <compressor.css.CssCompressor object at 0x7f54a999fcc0>
  • /usr/lib/python3.6/site-packages/django/core/files/storage.py in save
    1.         if name is None:
    2.             name = content.name
    3.         if not hasattr(content, 'chunks'):
    4.             content = File(content, name)
    5.         name = self.get_available_name(name, max_length=max_length)
    1.         return self._save(name, content)
      ...
    1.     # These methods are part of the public API, with default implementations.
    2.     def get_valid_name(self, name):
    3.         """
    4.         Returns a filename, based on the provided filename, that's suitable for
    Variable Value
    content
    <ContentFile: Raw content>
    max_length
    None
    name
    'CACHE/css/camara_deputados.7aba2a992402.css'
    self
    <compressor.storage.CompressorFileStorage object at 0x7f54aa311fd0>
  • /usr/lib/python3.6/site-packages/django/core/files/storage.py in _save
    1.                 # This is a normal uploadedfile that we can stream.
    2.                 else:
    3.                     # This fun binary flag incantation makes os.open throw an
    4.                     # OSError if the file already exists before we open it.
    5.                     flags = (os.O_WRONLY | os.O_CREAT | os.O_EXCL |
    6.                              getattr(os, 'O_BINARY', 0))
    7.                     # The current umask value is masked out by os.open!
    1.                     fd = os.open(full_path, flags, 0o666)
      ...
    1.                     _file = None
    2.                     try:
    3.                         locks.lock(fd, locks.LOCK_EX)
    4.                         for chunk in content.chunks():
    5.                             if _file is None:
    6.                                 mode = 'wb' if isinstance(chunk, bytes) else 'wt'
    Variable Value
    content
    <ContentFile: Raw content>
    directory
    '/var/labhacker/wikilegis/wikilegis/public/CACHE/css'
    flags
    193
    full_path
    '/var/labhacker/wikilegis/wikilegis/public/CACHE/css/camara_deputados.7aba2a992402.css'
    name
    'CACHE/css/camara_deputados.7aba2a992402.css'
    self
    <compressor.storage.CompressorFileStorage object at 0x7f54aa311fd0>


Request information

USER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
CONTENT_LENGTH
'0'
CSRF_COOKIE
'XaWW1avGd3LpP43M02iRSMw4oWXjeElJ8drrKRDDZKM8lpTtbFlRXUpkSdiODiQ2'
CSRF_COOKIE_USED
True
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'identity'
HTTP_CONNECTION
'close'
HTTP_HOST
'wikilegis:8000'
HTTP_USER_AGENT
'claudebot'
HTTP_X_FORWARDED_FOR
'18.215.15.122, 10.42.6.8'
HTTP_X_FORWARDED_HOST
'edemocracia.joaopessoa.pb.leg.br'
HTTP_X_FORWARDED_PORT
'443'
HTTP_X_FORWARDED_PROTO
'https'
HTTP_X_FORWARDED_SCHEME
'https'
HTTP_X_REAL_IP
'18.215.15.122'
HTTP_X_REQUEST_ID
'30ea817c0d249f62c78fdf5b1ae05ad0'
HTTP_X_SCHEME
'https'
PATH_INFO
'/bill/6'
QUERY_STRING
''
RAW_URI
'/bill/6'
REMOTE_ADDR
'10.42.113.18'
REMOTE_PORT
'42194'
REQUEST_METHOD
'GET'
SCRIPT_NAME
'/wikilegis'
SERVER_NAME
'0.0.0.0'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'gunicorn/19.9.0'
gunicorn.socket
<socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.42.113.53', 8000), raddr=('10.42.113.18', 42194)>
wsgi.errors
<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f54a9eaea58>
wsgi.file_wrapper
''
wsgi.input
<gunicorn.http.body.Body object at 0x7f54a995ab00>
wsgi.multiprocess
True
wsgi.multithread
False
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)

Settings

Using settings module wikilegis.settings.wikilegis

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ACCOUNT_ACTIVATION_DAYS
7
ACCOUNT_ACTIVATION_REQUIRED
False
ADMINS
[]
ALLOWED_HOSTS
['edemocracia.joaopessoa.pb.leg.br',
 'wikilegisweb',
 'wikilegis',
 'localhost',
 '127.0.0.1']
API_KEY
'********************'
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('accounts.backends.WikilegisAuthBackend',)
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'accounts.User'
BASE_DIR
'/var/labhacker/wikilegis/wikilegis'
BOWER_COMPONENTS_ROOT
'/var/labhacker/wikilegis/wikilegis/static'
BOWER_INSTALLED_APPS
['normalize.css#5.0.0',
 'https://github.com/labhackercd/fontastic-labhacker.git']
BOWER_PATH
'/var/labhacker/wikilegis/node_modules/.bin/bower'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
COMPRESS_BROWSERIFY_BIN
'/var/labhacker/wikilegis/node_modules/.bin/browserify'
COMPRESS_CACHEABLE_PRECOMPILERS
()
COMPRESS_CACHE_BACKEND
'default'
COMPRESS_CACHE_KEY_FUNCTION
'********************'
COMPRESS_CLEAN_CSS_ARGUMENTS
''
COMPRESS_CLEAN_CSS_BINARY
'cleancss'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS
''
COMPRESS_CLOSURE_COMPILER_BINARY
'java -jar compiler.jar'
COMPRESS_CSS_COMPRESSOR
'compressor.css.CssCompressor'
COMPRESS_CSS_FILTERS
['compressor.filters.css_default.CssAbsoluteFilter']
COMPRESS_CSS_HASHING_METHOD
'mtime'
COMPRESS_DATA_URI_MAX_SIZE
1024
COMPRESS_DEBUG_TOGGLE
None
COMPRESS_ENABLED
False
COMPRESS_JINJA2_GET_ENVIRONMENT
<function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f54aae2de18>
COMPRESS_JS_COMPRESSOR
'compressor.js.JsCompressor'
COMPRESS_JS_FILTERS
['compressor.filters.jsmin.JSMinFilter']
COMPRESS_MINT_DELAY
30
COMPRESS_MTIME_DELAY
10
COMPRESS_NODE_MODULES
'/var/labhacker/wikilegis/node_modules'
COMPRESS_NODE_SASS_BIN
'/var/labhacker/wikilegis/node_modules/.bin/node-sass'
COMPRESS_OFFLINE
False
COMPRESS_OFFLINE_CONTEXT
{'STATIC_URL': '/wikilegis/static/'}
COMPRESS_OFFLINE_MANIFEST
'manifest.json'
COMPRESS_OFFLINE_TIMEOUT
31536000
COMPRESS_OUTPUT_DIR
'CACHE'
COMPRESS_PARSER
'compressor.parser.AutoSelectParser'
COMPRESS_POSTCSS_BIN
'/var/labhacker/wikilegis/node_modules/.bin/postcss'
COMPRESS_PRECOMPILERS
[('text/x-scss', 'compressor_toolkit.precompilers.SCSSCompiler'),
 ('module', 'compressor_toolkit.precompilers.ES6Compiler')]
COMPRESS_REBUILD_TIMEOUT
2592000
COMPRESS_ROOT
'/var/labhacker/wikilegis/wikilegis/public'
COMPRESS_SCSS_COMPILER_CMD
('{node_sass_bin} --source-map true --source-map-embed true '
 '--source-map-contents true --output-style expanded {paths} "{infile}" '
 '"{outfile}" && {postcss_bin} --use "{node_modules}/autoprefixer" '
 '--autoprefixer.browsers "{autoprefixer_browsers}" -r "{outfile}"')
COMPRESS_STORAGE
'compressor.storage.CompressorFileStorage'
COMPRESS_TEMPLATE_FILTER_CONTEXT
{'STATIC_URL': '/wikilegis/static/'}
COMPRESS_URL
'/wikilegis/static/'
COMPRESS_URL_PLACEHOLDER
'/__compressor_url_placeholder__/'
COMPRESS_VERBOSE
False
COMPRESS_YUGLIFY_BINARY
'yuglify'
COMPRESS_YUGLIFY_CSS_ARGUMENTS
'--terminal'
COMPRESS_YUGLIFY_JS_ARGUMENTS
'--terminal'
COMPRESS_YUI_BINARY
'java -jar yuicompressor.jar'
COMPRESS_YUI_CSS_ARGUMENTS
''
COMPRESS_YUI_JS_ARGUMENTS
''
CONSTANCE_ADDITIONAL_FIELDS
{'image_field': [<class 'django.forms.fields.ImageField'>, {}]}
CONSTANCE_BACKEND
'constance.backends.database.DatabaseBackend'
CONSTANCE_CONFIG
{'BILL_VOTES': ('Votos do Projeto',
                'Descrição dos votos no texto',
                <class 'str'>),
 'CLOSED_TEXT': ('Este projeto está fechado para participação.',
                 'Texto para exibir quando o texto estiver encerrado.',
                 <class 'str'>),
 'COAT_OF_ARMS_IMAGE': ('brasao.png', 'Brasão do texto', 'image_field'),
 'DESCRIPTION_P1': ('Analise os projetos de lei e contribua com sugestões de '
                    'nova redação a artigos ou parágrafos. Os deputados '
                    'relatores das proposições acompanham as participações e '
                    'podem adotar a sua ideia!',
                    'Primeiro parágrafo da descrição na página inicial',
                    <class 'str'>),
 'DESCRIPTION_P2': ('Nessa interação, ganha a sociedade, que participa mais '
                    'ativamente do processo legislativo, e ganha o Parlamento, '
                    'que aprova leis mais aprimoradas e conectadas às '
                    'necessidades dos cidadãos.',
                    'Segundo parágrafo da descrição na página inicial',
                    <class 'str'>),
 'NEWSLETTER_TEXT': ('Assinar este projeto de lei',
                     'Texto para assinar a newsletter',
                     <class 'str'>),
 'SEGMENT_VOTES': ('Votos em Dispositivos',
                   'Descrição dos votos em segmentos de texto',
                   <class 'str'>),
 'SUBTITLE': ('Sua ferramenta de edição legislativa',
              'Subtítulo da página inicial',
              <class 'str'>),
 'SUGGESTION_TEXT': ('Sugestões de emendas',
                     'Texto para a quantidade de sugestões',
                     <class 'str'>),
 'VOTE_TEXT': ('Você apoia esse projeto de lei?',
               'Descrição dos botões para apoiar o texto',
               <class 'str'>)}
CONSTANCE_CONFIG_FIELDSETS
{'Página do texto': ('VOTE_TEXT',
                     'NEWSLETTER_TEXT',
                     'SUGGESTION_TEXT',
                     'CLOSED_TEXT',
                     'COAT_OF_ARMS_IMAGE'),
 'Página inicial': ('SUBTITLE', 'DESCRIPTION_P1', 'DESCRIPTION_P2'),
 'Relatório': ('BILL_VOTES', 'SEGMENT_VOTES')}
CONTEXT_PROCESSORS
['django.template.context_processors.debug',
 'django.template.context_processors.request',
 'django.template.context_processors.media',
 'django.contrib.auth.context_processors.auth',
 'django.contrib.messages.context_processors.messages',
 'constance.context_processors.config',
 'social_django.context_processors.backends',
 'social_django.context_processors.login_redirect']
CORS_ALLOW_METHODS
('GET', 'OPTIONS')
CORS_ORIGIN_ALLOW_ALL
True
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
'csrftoken'
CSRF_COOKIE_PATH
'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
CSRF_USE_SESSIONS
False
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.postgresql_psycopg2',
             'HOST': 'joaopessoa-pb-postgresql',
             'NAME': 'wikilegis',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '5432',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': 'postgres'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
'N j, Y, P'
DATETIME_INPUT_FORMATS
['%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M:%S.%f',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M:%S.%f',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M:%S.%f',
 '%m/%d/%y %H:%M',
 '%m/%d/%y']
DATE_FORMAT
'N j, Y'
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']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DECIMAL_SEPARATOR
'.'
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'"Portal e-Democracia[Wikilegis]" <edemocracia@joaopessoa.pb.leg.br>'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
DJANGO_APPS
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'django.contrib.sites']
DJANGO_CONTEXT_PROCESSORS
['django.template.context_processors.debug',
 'django.template.context_processors.request',
 'django.template.context_processors.media',
 'django.contrib.auth.context_processors.auth',
 'django.contrib.messages.context_processors.messages']
DJANGO_MIDDLEWARES
['django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'core.middleware.force_default_language_middleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'smtp.interlegis.leg.br'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
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
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
'/wikilegis'
FORMAT_MODULE_PATH
None
FORM_RENDERER
'django.forms.renderers.DjangoTemplates'
HAYSTACK_CONNECTIONS
{'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine',
             'PATH': '/var/labhacker/wikilegis/wikilegis/whoosh_index'}}
IGNORABLE_404_URLS
[]
INCLUDE_REGISTER_URL
False
INSTALLED_APPS
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'django.contrib.sites',
 'constance',
 'constance.backends.database',
 'compressor',
 'compressor_toolkit',
 'debug_toolbar',
 'tastypie',
 'corsheaders',
 'djangobower',
 'crispy_forms',
 'embed_video',
 'plugins.camara_deputados',
 'accounts',
 'core',
 'api',
 'notification']
INTERNAL_IPS
[]
LANGUAGES
(('en', 'English'), ('pt-br', 'Brazilian Portuguese'), ('es', 'Spanish'))
LANGUAGES_BIDI
['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE
'pt-br'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LOCALE_PATHS
['/var/labhacker/wikilegis/wikilegis/locale']
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/'
LOGIN_URL
'/'
LOGOUT_REDIRECT_URL
None
MANAGERS
[]
MEDIA_ROOT
'/var/labhacker/wikilegis/wikilegis/public/media'
MEDIA_URL
'/wikilegis/media/'
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
['debug_toolbar.middleware.DebugToolbarMiddleware',
 'corsheaders.middleware.CorsMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'core.middleware.force_default_language_middleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'accounts.middlewares.WikilegisRemoteUser']
MIDDLEWARE_CLASSES
['django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware']
MIGRATION_MODULES
{}
MONTH_DAY_FORMAT
'F j'
NODE_MODULES
'/var/labhacker/wikilegis/node_modules'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFILE_EXTRA_PARAMS
{'fields': 'id,name,first_name,last_name,email'}
REGISTRATION_AUTO_LOGIN
True
REGISTRATION_EMAIL_SUBJECT_PREFIX
''
REGISTRATION_FORM
'wikilegis.auth2.forms.RegistrationForm'
ROOT_URLCONF
'wikilegis.urls'
SECRET_KEY
'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
'root@localhost'
SESSION_CACHE_ALIAS
'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
'wikilegis_session'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'wikilegis.settings.wikilegis'
SHORT_DATETIME_FORMAT
'm/d/Y P'
SHORT_DATE_FORMAT
'm/d/Y'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
SITE_ID
1
SOCIAL_AUTH_FACEBOOK_KEY
'********************'
SOCIAL_AUTH_FACEBOOK_SCOPE
['email']
SOCIAL_AUTH_FACEBOOK_SECRET
'********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY
'********************'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET
'********************'
SOCIAL_AUTH_PIPELINE
('social_core.pipeline.social_auth.social_details',
 'social_core.pipeline.social_auth.social_uid',
 'social_core.pipeline.social_auth.auth_allowed',
 'social_core.pipeline.social_auth.social_user',
 'social_core.pipeline.social_auth.associate_by_email',
 'social_core.pipeline.user.create_user',
 'social_core.pipeline.social_auth.associate_user',
 'social_core.pipeline.social_auth.load_extra_data',
 'social_core.pipeline.user.user_details')
SOCIAL_AUTH_URL_NAMESPACE
'social'
SOCIAL_BACKEND_INFO
{'facebook': {'icon': 'img/sa-facebook-icon.png', 'title': 'Facebook'},
 'google-oauth2': {'icon': 'img/sa-google-icon.png', 'title': 'Google'}}
STATICFILES_DIRS
['/var/labhacker/wikilegis/node_modules',
 '/var/labhacker/wikilegis/wikilegis/static']
STATICFILES_FINDERS
['djangobower.finders.BowerFinder',
 'compressor.finders.CompressorFinder',
 'django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_IPS
('127.0.0.1', '::1')
STATIC_ROOT
'/var/labhacker/wikilegis/wikilegis/public'
STATIC_URL
'/wikilegis/static/'
TASTYPIE_DEFAULT_FORMATS
['json']
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['/var/labhacker/wikilegis/wikilegis/templates'],
  'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
                                     'django.template.context_processors.request',
                                     'django.template.context_processors.media',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages',
                                     'constance.context_processors.config',
                                     'social_django.context_processors.backends',
                                     'social_django.context_processors.login_redirect']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
'django.test.runner.DiscoverRunner'
THIRD_PARTY
['debug_toolbar.middleware.DebugToolbarMiddleware',
 'corsheaders.middleware.CorsMiddleware']
THIRD_PARTY_CONTEXT_PROCESSORS
['constance.context_processors.config',
 'social_django.context_processors.backends',
 'social_django.context_processors.login_redirect']
THOUSAND_SEPARATOR
','
TIME_FORMAT
'P'
TIME_INPUT_FORMATS
['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE
'America/Sao_Paulo'
USER_FIELDS
('email',)
USE_ETAGS
False
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WIKILEGIS_APPS
['plugins.camara_deputados', 'accounts', 'core', 'api', 'notification']
WIKILEGIS_CONTEXT_PROCESSORS
[]
WIKILEGIS_MIDDLEWARES
['accounts.middlewares.WikilegisRemoteUser']
WSGI_APPLICATION
'wikilegis.wsgi.application'
X_FRAME_OPTIONS
'SAMEORIGIN'
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 page generated by the handler for this status code.