Skip to content

Instantly share code, notes, and snippets.

@saimn
Created February 17, 2015 14:50
Show Gist options
  • Save saimn/7471a06f96be0d6a285b to your computer and use it in GitHub Desktop.
Save saimn/7471a06f96be0d6a285b to your computer and use it in GitHub Desktop.
Sqlite-browser traceback
Traceback (most recent call last):
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/sqlite_browser.py", line 136, in inner
return fn(table, *args, **kwargs)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/sqlite_browser.py", line 357, in table_content
total_rows=total_rows)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template
context, ctx.app)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/flask/templating.py", line 110, in _render
rv = template.render(context)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/templates/table_content.html", line 1, in top-level template code
{% extends "base_table.html" %}
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/templates/base_table.html", line 1, in top-level template code
{% extends "base_tables.html" %}
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/templates/base_tables.html", line 1, in top-level template code
{% extends "base.html" %}
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/templates/base.html", line 57, in top-level template code
{% block content %}{% endblock %}
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/templates/base_table.html", line 26, in block "content"
{% block inner_content %}
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/sqlite_browser/templates/table_content.html", line 38, in block "inner_content"
{% for row in query %}
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/peewee.py", line 1797, in next
obj = self.iterate()
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/peewee.py", line 1785, in iterate
return self.process_row(row)
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/peewee.py", line 1866, in process_row
res[column] = func(row[i])
File "/home/simon/lib/virtualenvs/db/lib/python2.7/site-packages/peewee.py", line 750, in python_value
return value if value is None else self.coerce(value)
ValueError: could not convert string to float:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment