Ticket #4087 (closed defect: fixed)
Unable to attach binaries when the SpamFilter is active
| Reported by: | Markus Gritsch | Owned by: | cboos |
|---|---|---|---|
| Priority: | highest | Milestone: | not applicable |
| Component: | plugin/spamfilter | Version: | 0.10 |
| Severity: | critical | Keywords: | postgresql binary unicode |
| Cc: | cramm0@… |
Description
I wanted to attach a precompiled version of SilverCity to TracSyntaxColoring because SilverCity 0.9.5 is not available for Python 2.4 from SourceForge. The file I tried to upload has the name SilverCity-0.9.5.win32-py2.4.exe
I got the following traceback:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 381, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 231, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 474, in _do_save
for field, message in manipulator.validate_attachment(req, attachment):
File "build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py", line 130, in validate_attachment
File "build/bdist.linux-x86_64/egg/tracspamfilter/api.py", line 131, in test
File "build/bdist.linux-x86_64/egg/tracspamfilter/model.py", line 119, in insert
File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 47, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 47, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


