Modify ↓
Opened 16 years ago
Closed 16 years ago
#3843 closed defect (fixed)
TypeError: decoding Unicode is not supported
Reported by: | anonymous | Owned by: | Robert Corsaro |
---|---|---|---|
Priority: | normal | Component: | AnnouncerPlugin |
Severity: | normal | Keywords: | |
Cc: | Justin Rovang | Trac Release: | 0.11 |
Description
File "/usr/lib/python2.4/site-packages/AnnouncerPlugin-0.2-py2.4.egg/announcerplugin/distributors/email_distributor.py", line 250, in _do_send rootMessage['Subject] = Header(subject, charset) File "email/Header.py", line 161, in __init__ File "email/Charset.py", line 190, in __init__ TypeError: decoding Unicode is not supported
Attachments (0)
Change History (8)
comment:1 Changed 16 years ago by
Trac Release: | 0.10 → 0.11 |
---|
comment:2 Changed 16 years ago by
this seems to have alleviated my issue around line 259.
rootMessage['Subject'] = Header(subject, charset) #changed to: try: rootMessage['Subject'] = Header(subject,charset) except: rootMessage['Subject'] = Header(subject)
comment:5 Changed 16 years ago by
Cc: | Justin Rovang added; anonymous removed |
---|
comment:6 Changed 16 years ago by
comment:7 Changed 16 years ago by
Owner: | changed from Stephen Hansen to Robert Corsaro |
---|
Note: See
TracTickets for help on using
tickets.
If you force:
charset = 'iso8859-1' on line 227 of email_distributor.py The email appears to come in fine except the font looks larger the screenshot and the subject field is obfuscated:
"=?iso8859-1?q?Ticket_=233=3A_Auto_generate_vPaths_?="