SHARE
TWEET

OperationalError flaskr

a guest Apr 29th, 2012 76 Never
  1. Traceback (most recent call last):
  2.   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1518, in __call__
  3.     return self.wsgi_app(environ, start_response)
  4.   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1506, in wsgi_app
  5.     response = self.make_response(self.handle_exception(e))
  6.   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1504, in wsgi_app
  7.     response = self.full_dispatch_request()
  8.   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1264, in full_dispatch_request
  9.     rv = self.handle_user_exception(e)
  10.   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1262, in full_dispatch_request
  11.     rv = self.dispatch_request()
  12.   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1248, in dispatch_request
  13.     return self.view_functions[rule.endpoint](**req.view_args)
  14.   File "/home/robrecht/Desktop/sc/flask/flaskr2/flaskr.py", line 59, in show_entries
  15.     cur = g.db.execute('select title, text from entries order by id desc')
  16. OperationalError: no such table: entries
RAW Paste Data
Top