id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
4817	Python exception when change is tied to an attached file	eblot	coderanger	Here the traceback that is dumped when a change related to an attached file is deleted:\r\n{{{\r\nTraceback (most recent call last):\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/api.py", line 367, in send_error\r\n    'text/html')\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/chrome.py", line 728, in render_template\r\n    if not req.session or not int(req.session.get('accesskeys', 0)):\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/api.py", line 194, in __getattr__\r\n    value = self.callbacks[name](self)\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/main.py", line 267, in _get_session\r\n    return Session(self.env, req)\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 157, in __init__\r\n    self.get_session(req.authname, authenticated=True)\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 173, in get_session\r\n    super(Session, self).get_session(sid, authenticated)\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 56, in get_session\r\n    (sid, int(authenticated)))\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/db/util.py", line 50, in execute\r\n    return self.cursor.execute(sql_escape_percent(sql), args)\r\n  File "/usr/local/virtualenv/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/db/util.py", line 50, in execute\r\n    return self.cursor.execute(sql_escape_percent(sql), args)\r\nInternalError: current transaction is aborted, commands ignored until end of transaction block\r\n}}}\r\n\r\nIt occurs whether the change is deleted, on the attachment field of the change is deleted	defect	closed	normal	TicketDeletePlugin	normal	wontfix			0.11
