Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9823 closed defect (fixed)

tracopt.ticket.deleter: NameError: global name 'TracError' is not defined

Reported by: Christian Boos Owned by: Christian Boos
Priority: normal Milestone: 0.12.2
Component: general Version: 0.13dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /ticket/9567, Trac issued an internal error.

(clicking Delete on a comment already deleted by a fellow curator…)

Request parameters:

{'action': u'delete-comment', 'cnum': u'4', 'id': u'9567'}

User agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.28 Safari/534.10

System Information

Trac 0.13dev-r10235
Babel 0.9.5
Docutils 0.6
Genshi 0.7dev-r1134
Mercurial 1.7
psycopg2 2.0.8
Pygments 1.3.1dev-20100812
Python 2.5.2 (r252:60911, Oct 5 2008, 19:49:54)
[GCC 4.3.2]
setuptools 0.6c9
Subversion 1.5.1 (r32289)
jQuery 1.4.2

Enabled Plugins

StatusFixer r6326
TracMercurial 0.13.0.0dev-r9967
TracSpamFilter 0.3.3dev-r9994
TracVote 0.1

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/tracopt/ticket/deleter.py", line 156, in process_request
    raise TracError(_('Comment %(num)s not found', num=cnum))
NameError: global name 'TracError' is not defined

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 14 years ago

Resolution: fixed
Status: newclosed

Already fixed in [10297] :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos 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.