Edgewall Software
Modify

Ticket #5577 (closed defect: duplicate)

Opened 5 years ago

Last modified 4 years 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@…
Release Notes:
API 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

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

Download all attachments as: .zip

Change History

Changed 5 years ago by Johans Marvin Taboada Villca <jmt4b04d4v@…>

Zipped wiki page content (original txt attachment also failed)

comment:1 Changed 5 years ago by Johans Marvin Taboada Villca <jmt4b04d4v@…>

  • Cc jmt4b04d4v@… added

comment:2 Changed 5 years ago by Johans Marvin Taboada Villca <jmt4b04d4v@…>

Tried once more today, same problem.

comment:3 Changed 5 years ago by cboos

  • Component changed from general to spamfilter
  • Milestone set to not applicable
  • Owner changed from jonas to mgood

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 Changed 4 years ago by cboos

  • Milestone not applicable deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See #5591.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from mgood. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.