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)
__call__return self.wsgi_app(environ, start_response)
wsgi_appresponse = self.make_response(self.handle_exception(e))
wsgi_apprv = self.dispatch_request()
dispatch_requestreturn self.view_functions[rule.endpoint](**req.view_args)
copy_itemitem.copy(target, comment)
copyself._save(current_rev, current_rev, name=name, action=u'COPY', comment=comment)
_savestorage_item.commit()
commitself.__unindexed_revision.update_index()
update_indexself._index.add_rev(uuid, revno, metas)
add_revself.cache_in_item(item_id, rev_id, metas)
cache_in_itemtags=u'|' + u'|'.join(rev_metas.get(TAGS, [])) + u'|',
executereturn e._execute_clauseelement(self, multiparams, params)
_execute_clauseelementreturn connection._execute_clauseelement(elem, multiparams, params)
_execute_clauseelementcompiled_sql, distilled_params
_execute_contextcontext)
_execute_contextcontext)
do_executecursor.execute(statement, parameters)
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)
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 framedump(obj) dumps all that's known about the object