Ticket #2486 (closed defect: fixed)
Error while sending ticket notification
| Reported by: | pjenvey@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | high | Milestone: | 0.9.2 |
| Component: | ticket system | Version: | 0.9.1 |
| Severity: | normal | Keywords: | notification email |
| Cc: |
Description
22:57:14 Trac[web_ui] ERROR: Failure sending notification on change to ticket #69: 'link'
Traceback (most recent call last):
File "/usr/local/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 354, in _do_save
tn.notify(ticket, newticket=False, modtime=now)
File "/usr/local/lib/python2.3/site-packages/trac/Notify.py", line 212, in notify
NotifyEmail.notify(self, ticket.id, subject)
File "/usr/local/lib/python2.3/site-packages/trac/Notify.py", line 109, in notify
Notify.notify(self, resid)
File "/usr/local/lib/python2.3/site-packages/trac/Notify.py", line 47, in notify
self.send(to)
File "/usr/local/lib/python2.3/site-packages/trac/Notify.py", line 329, in send
hdrs['X-Trac-Ticket-URL'] = self.ticket['link']
File "/usr/local/lib/python2.3/site-packages/trac/ticket/model.py", line 94, in __getitem__
return self.values[name]
KeyError: 'link'
I have the following notification section in trac.ini:
[notification] smtp_replyto = donotreply@hellanzb.com smtp_always_cc = pjenvey@groovie.org smtp_server = localhost smtp_enabled = true smtp_from = donotreply@hellanzb.com always_notify_reporter = true always_notify_owner = true
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


