Edgewall Software
Modify

Ticket #551 (closed defect: fixed)

Opened 8 years ago

Last modified 6 years ago

internal error on changing ticket (python 2.1)

Reported by: vittorio Owned by: jonas
Priority: high Milestone: 0.8
Component: ticket system Version: devel
Severity: blocker Keywords:
Cc:
Release Notes:
API Changes:

Description

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
    real_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
    module.run()
  File "/usr/lib/python2.1/site-packages/trac/Module.py", line 45, in run
    self.render()
  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

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

Download all attachments as: .zip

Change History

Changed 8 years ago by vittorio

patch that did solve the problem

comment:1 Changed 8 years ago by vittorio

attached Notify.patch that did solve the problem here.

comment:2 Changed 8 years ago by jonas

  • Status changed from new to assigned

comment:3 Changed 8 years ago by jonas

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

Fixed in [770].

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 jonas. 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.