Modify ↓
Opened 18 years ago
Closed 18 years ago
#5577 closed defect (duplicate)
Editing TracTermsEs raises Trac internal error
| Reported by: | Owned by: | Matthew Good | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | plugin/spamfilter | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | jmt4b04d4v@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
Editing content of TracTermsEs raised an error:
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 113, in process_request
self._do_save(req, db, page)
File "/usr/lib/python2.4/site-packages/trac/wiki/web_ui.py", line 231, in _do_save
for field, message in manipulator.validate_wiki_page(req, page):
File "build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py", line 97, in validate_wiki_page
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 135, in insert
File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
I attach wiki content used.
Attachments (1)
Change History (5)
by , 18 years ago
| Attachment: | TracTermsEs.zip added |
|---|
comment:1 by , 18 years ago
| Cc: | added |
|---|
comment:3 by , 18 years ago
| Component: | general → spamfilter |
|---|---|
| Milestone: | → not applicable |
| Owner: | changed from to |
Here's the traceback:
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237, 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 477, in _do_save
for field, message in manipulator.validate_attachment(req, attachment):
File "build/bdist.linux-x86_64/egg/tracspamfilter/adapters.py", line 135, in validate_attachment
File "build/bdist.linux-x86_64/egg/tracspamfilter/api.py", line 133, in test
File "build/bdist.linux-x86_64/egg/tracspamfilter/model.py", line 135, in insert
File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
Quite similar to #4087… so either the fix was not complete or the SpamFilter was not upgrade here (I think it was).
comment:4 by , 18 years ago
| Milestone: | not applicable |
|---|---|
| Resolution: | → duplicate |
| Status: | new → closed |
See #5591.
Note:
See TracTickets
for help on using tickets.



Zipped wiki page content (original txt attachment also failed)