Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

#5577 closed defect (duplicate)

Editing TracTermsEs raises Trac internal error

Reported by: Johans Marvin Taboada Villca <jmt4b04d4v@…> 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)

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

Download all attachments as: .zip

Change History (5)

by Johans Marvin Taboada Villca <jmt4b04d4v@…>, 18 years ago

Attachment: TracTermsEs.zip added

Zipped wiki page content (original txt attachment also failed)

comment:1 by Johans Marvin Taboada Villca <jmt4b04d4v@…>, 18 years ago

Cc: jmt4b04d4v@… added

comment:2 by Johans Marvin Taboada Villca <jmt4b04d4v@…>, 17 years ago

Tried once more today, same problem.

comment:3 by Christian Boos, 17 years ago

Component: generalspamfilter
Milestone: not applicable
Owner: changed from Jonas Borgström to Matthew Good

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 Christian Boos, 17 years ago

Milestone: not applicable
Resolution: duplicate
Status: newclosed

See #5591.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.