-
-
Save anonymous/f531d279757afb75bdff to your computer and use it in GitHub Desktop.
Werkzeug Internal Server Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__ | |
return self.wsgi_app(environ, start_response) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app | |
response = self.make_response(self.handle_exception(e)) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app | |
response = self.full_dispatch_request() | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request | |
rv = self.handle_user_exception(e) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception | |
reraise(exc_type, exc_value, tb) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request | |
rv = self.dispatch_request() | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request | |
return self.view_functions[rule.endpoint](**req.view_args) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/sqlite_web.py", line 175, in inner | |
return fn(table, *args, **kwargs) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/sqlite_web.py", line 207, in table_structure | |
triggers=dataset.get_triggers(table)) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template | |
context, ctx.app) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/flask/templating.py", line 110, in _render | |
rv = template.render(context) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render | |
return self.environment.handle_exception(exc_info, True) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception | |
reraise(exc_type, exc_value, tb) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/templates/table_structure.html", line 1, in top-level template code | |
{% extends "base_table.html" %} | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/templates/base_table.html", line 1, in top-level template code | |
{% extends "base_tables.html" %} | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/templates/base_tables.html", line 1, in top-level template code | |
{% extends "base.html" %} | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/templates/base.html", line 58, in top-level template code | |
{% block content %}{% endblock %} | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/templates/base_table.html", line 26, in block "content" | |
{% block inner_content %} | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/templates/table_structure.html", line 122, in block "inner_content" | |
<div style="display:none;">{{ index.sql|highlight }}</div> | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/sqlite_web.py", line 567, in highlight_filter | |
return Markup(syntax_highlight(data)) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/sqlite_web/sqlite_web.py", line 40, in syntax_highlight | |
return highlight(data, lexer, formatter) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/pygments/__init__.py", line 87, in highlight | |
return format(lex(code, lexer), formatter, outfile) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/pygments/__init__.py", line 45, in lex | |
return lexer.get_tokens(code) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/pygments/lexer.py", line 151, in get_tokens | |
text, _ = guess_decode(text) | |
File "/home/jitendran/.virtualenvs/pydroid/lib/python2.7/site-packages/pygments/util.py", line 309, in guess_decode | |
text = text.decode('utf-8') | |
AttributeError: 'NoneType' object has no attribute 'decode' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment