Edgewall Software

Ticket #5577 (closed defect: duplicate)

Opened 19 months ago

Last modified 14 months ago

Editing TracTermsEs raises Trac internal error

Reported by: Johans Marvin Taboada Villca <jmt4b04d4v@…> Owned by: mgood
Priority: normal Milestone:
Component: plugin/spamfilter Version:
Severity: normal Keywords:
Cc: jmt4b04d4v@…

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

TracTermsEs.zip (2.9 KB) - added by Johans Marvin Taboada Villca <jmt4b04d4v@…> 19 months ago.
Zipped wiki page content (original txt attachment also failed)

Change History

Changed 19 months ago by Johans Marvin Taboada Villca <jmt4b04d4v@…>

Zipped wiki page content (original txt attachment also failed)

Changed 19 months ago by Johans Marvin Taboada Villca <jmt4b04d4v@…>

  • cc jmt4b04d4v@… added

Changed 19 months ago by Johans Marvin Taboada Villca <jmt4b04d4v@…>

Tried once more today, same problem.

Changed 19 months ago by cboos

  • owner changed from jonas to mgood
  • component changed from general to spamfilter
  • milestone set to not applicable

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).

Changed 14 months ago by cboos

  • status changed from new to closed
  • resolution set to duplicate
  • milestone not applicable deleted

See #5591.

Add/Change #5577 (Editing TracTermsEs raises Trac internal error)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from mgood. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.