Modify ↓
#1713 closed defect (fixed)
email notification failure
Reported by: | Matthew Good | Owned by: | Matthew Good |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | general | Version: | 0.8.4 |
Severity: | critical | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Email notification is producing an exception:
Traceback (most recent call last): File "e:\trac-0.9\Lib\site-packages\trac\ticket\web_ui.py", line 113, in _do_create tn.notify(ticket, newticket=True) File "e:\trac-0.9\Lib\site-packages\trac\Notify.py", line 218, in notify NotifyEmail.notify(self, ticket.id, subject) File "e:\trac-0.9\Lib\site-packages\trac\Notify.py", line 118, in notify Notify.notify(self, resid) File "e:\trac-0.9\Lib\site-packages\trac\Notify.py", line 57, in notify self.send(to) File "e:\trac-0.9\Lib\site-packages\trac\Notify.py", line 336, in send NotifyEmail.send(self, rcpt, hdrs) File "e:\trac-0.9\Lib\site-packages\trac\Notify.py", line 151, in send self.server.sendmail(self.from_email, rcpt, msg.as_string()) File "E:\Python23\Lib\email\Message.py", line 130, in as_string g.flatten(self, unixfrom=unixfrom) File "E:\Python23\Lib\email\Generator.py", line 102, in flatten self._write(msg) File "E:\Python23\Lib\email\Generator.py", line 137, in _write self._write_headers(msg) File "E:\Python23\Lib\email\Generator.py", line 183, in _write_headers header_name=h, continuation_ws='\t').encode() File "E:\Python23\Lib\email\Header.py", line 412, in encode newchunks += self._split(s, charset, targetlen, splitchars) File "E:\Python23\Lib\email\Header.py", line 297, in _split elen = charset.encoded_header_len(encoded) File "E:\Python23\Lib\email\Charset.py", line 341, in encoded_header_len return len(s) TypeError: len() of unsized object
Attachments (0)
Note:
See TracTickets
for help on using tickets.
Fixed in [1855]