Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#918 closed defect (fixed)

Adding hours to ticket causes an internal error

Reported by: sgonzalez@… Owned by: bobbysmith007
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords: NameError
Cc: Trac Release: 0.10


When I attempt to add hours to a ticket that was created before I installed this plugin, I get the following error:

Oops… Trac detected an internal error:

If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.

Go to and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.

TracGuide — The Trac User and Administration Guide Python Traceback

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/", line 387, in dispatch_request


File "/usr/lib/python2.4/site-packages/trac/web/", line 238, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.4/site-packages/trac/ticket/", line 279, in process_request

self._do_save(req, db, ticket)

File "/usr/lib/python2.4/site-packages/trac/ticket/", line 546, in _do_save


File "/usr/lib/python2.4/site-packages/trac/ticket/", line 265, in save_changes

listener.ticket_changed(self, comment, author, old_values)

File "build/bdist.linux-i686/egg/timingandestimationplugin/", line 86, in ticket_changed File "build/bdist.linux-i686/egg/timingandestimationplugin/", line 72, in watch_hours File "build/bdist.linux-i686/egg/timingandestimationplugin/", line 15, in save_custom_field_value

NameError: global name 'name' is not defined

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by anonymous

running trac-0.10.2, and the zip version of the plugin as of 2006-11-16

comment:2 Changed 10 years ago by bobbysmith007

  • Resolution set to fixed
  • Status changed from new to closed

Doh... I had tried to make this work seamlessly, but name should have been field.

Thanks for the error report. It should be fixed if you get the newest version (2.6)

Sorry for the inconvenience. Russ

comment:3 Changed 10 years ago by bobbysmith007

Add Comment

Modify Ticket

as closed The owner will remain bobbysmith007.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.