sqlalchemy.exc.DatabaseError DatabaseError: (DatabaseError) ORA-21561: OID generation failed None None Traceback (most recent call last) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__ return self.wsgi_app(environ, start_response) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app response = self.make_response(self.handle_exception(e)) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception reraise(exc_type, exc_value, tb) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/flask/views.py", line 84, in view return self.dispatch_request(*args, **kwargs) File "/Users/alex/Projects/art17-consultation/art17/common.py", line 272, in dispatch_request self.prepare_context() File "/Users/alex/Projects/art17-consultation/art17/species.py", line 64, in prepare_context super(SpeciesIndexView, self).prepare_context() File "/Users/alex/Projects/art17-consultation/art17/common.py", line 245, in prepare_context 'subject_list': self.get_subject_list(), File "/Users/alex/Projects/art17-consultation/art17/species.py", line 83, in get_subject_list for s in self.subject_list] File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2349, in __iter__ return self._execute_and_instances(context) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2362, in _execute_and_instances close_with_result=True) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2353, in _connection_from_session **kw) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 799, in connection close_with_result=close_with_result) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 803, in _connection_for_bind return self.transaction._connection_for_bind(engine) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 299, in _connection_for_bind conn = bind.contextual_connect() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1661, in contextual_connect self.pool.connect(), File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/pool.py", line 272, in connect return _ConnectionFairy(self).checkout() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/pool.py", line 425, in __init__ rec = self._connection_record = pool._do_get() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/pool.py", line 778, in _do_get con = self._create_connection() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/pool.py", line 225, in _create_connection return _ConnectionRecord(self) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/pool.py", line 318, in __init__ self.connection = self.__connect() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/pool.py", line 368, in __connect connection = self.__pool._creator() File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 80, in connect return dialect.connect(*cargs, **cparams) File "/Users/alex/Projects/art17-consultation/env/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 283, in connect return self.dbapi.connect(*cargs, **cparams) DatabaseError: (DatabaseError) ORA-21561: OID generation failed None None The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side. You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection: dump() shows all variables in the frame dump(obj) dumps all that's known about the object Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.