Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#551 closed defect (fixed)

internal error on changing ticket (python 2.1)

Reported by: vittorio Owned by: Jonas Borgström
Priority: high Milestone: 0.8
Component: ticket system Version: devel
Severity: blocker Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


i get following when trying to change a ticket:

Traceback (most recent call last):
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 493, in cgi_start
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 488, in real_cgi_start
    dispatch_request(path_info, args, req, env)
  File "/usr/lib/python2.1/site-packages/trac/core.py", line 403, in dispatch_request
  File "/usr/lib/python2.1/site-packages/trac/Module.py", line 45, in run
  File "/usr/lib/python2.1/site-packages/trac/Ticket.py", line 397, in render
    self.save_changes (id)
  File "/usr/lib/python2.1/site-packages/trac/Ticket.py", line 332, in save_changes
    tn.notify(ticket, newticket=0, modtime=now)
  File "/usr/lib/python2.1/site-packages/trac/Notify.py", line 183, in notify
    self.hdf.setValue('email.ticket_props', self.format_props())
  File "/usr/lib/python2.1/site-packages/trac/Notify.py", line 234, in format_props
    if not f in tkt: continue
  File "/usr/lib/python2.1/UserDict.py", line 14, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 0

using python2.1, trunk r773

Attachments (1)

Notify.patch (735 bytes ) - added by vittorio 18 years ago.
patch that did solve the problem

Download all attachments as: .zip

Change History (4)

by vittorio, 18 years ago

Attachment: Notify.patch added

patch that did solve the problem

comment:1 by vittorio, 18 years ago

attached Notify.patch that did solve the problem here.

comment:2 by Jonas Borgström, 18 years ago

Status: newassigned

comment:3 by Jonas Borgström, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [770].

Modify Ticket

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