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_app
response = self.make_response(self.handle_exception(e))
wsgi_app
rv = self.dispatch_request()
dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
copy_item
item.copy(target, comment)
copy
self._save(current_rev, current_rev, name=name, action=u'COPY', comment=comment)
_save
storage_item.commit()
commit
self.__unindexed_revision.update_index()
update_index
self._index.add_rev(uuid, revno, metas)
add_rev
self.cache_in_item(item_id, rev_id, metas)
cache_in_item
tags=u'|' + u'|'.join(rev_metas.get(TAGS, [])) + u'|',
execute
return e._execute_clauseelement(self, multiparams, params)
_execute_clauseelement
return connection._execute_clauseelement(elem, multiparams, params)
_execute_clauseelement
compiled_sql, distilled_params
_execute_context
context)
_execute_context
context)
do_execute
cursor.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