Modify ↓
#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: | |||
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 (1)
Change History (4)
by , 21 years ago
| Attachment: | Notify.patch added |
|---|
comment:2 by , 21 years ago
| Status: | new → assigned |
|---|
Note:
See TracTickets
for help on using tickets.



patch that did solve the problem