sqlalchemy.exc.IntegrityError

IntegrityError: (IntegrityError) column name is not unique u'UPDATE item_table SET current=?, name=?, contenttype=?, acl=?, tags=? WHERE item_table.id = ?' (37, u'Sinha/IIIT/Prithvi', u'text/x.moin.wiki;charset=utf-8', '', u'||', 28)

Traceback (most recent call last)

IntegrityError: (IntegrityError) column name is not unique u'UPDATE item_table SET current=?, name=?, contenttype=?, acl=?, tags=? WHERE item_table.id = ?' (37, u'Sinha/IIIT/Prithvi', u'text/x.moin.wiki;charset=utf-8', '', u'||', 28)
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