Custom Query (332 matches)
Results (79 - 81 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#82 | fixed | need to contact authors | bas | david@… |
Description |
Would like to contact the authors to arrange for a paid consulting job to setup email2trac for our environment. |
|||
#103 | fixed | get_param of Format/DelSp returns None | bas | debacle@… |
Description |
The following two lines in email2trac fail: format = email.Utils.collapse_rfc2231_value(part.get_param('Format')).lower() delsp = email.Utils.collapse_rfc2231_value(part.get_param('DelSp')).lower() This workaround helps, but I'm not sure, whether it is correct: format = email.Utils.collapse_rfc2231_value(part.get_param('Format') or "").lower() delsp = email.Utils.collapse_rfc2231_value(part.get_param('DelSp') or "").lower() |
|||
#138 | fixed | Encoding problem with attachment filename | bas | debacle@… |
Description |
I got an error message from email2trac (urllib.quote): Traceback (most recent call last): File "/usr/bin/email2trac", line 1574, in <module>#012 tktparser.parse(sys.stdin) File "/usr/bin/email2trac", line 991, in parse#012 self.new_ticket(m, subject, spam_msg) File "/usr/bin/email2trac", line 805, in new_ticket#012 message_parts = self.unique_attachment_names(message_parts) File "/usr/bin/email2trac", line 1231, in unique_attachment_names#012 filename = urllib.quote(filename) File "/usr/lib/python2.5/urllib.py", line 1205, in quote#012 res = map(safe_map.__getitem__, s) KeyError: u'\xf3' Result was, that the ticket could not be created. I patched email2trac. Now it works, but I'm not sure, whether the patch is the best solution: --- /usr/bin/email2trac.orig 2009-06-04 13:34:33.000000000 +0200 +++ /usr/bin/email2trac 2009-06-04 15:36:29.000000000 +0200 @@ -1228,7 +1228,7 @@ pass if self.QUOTE_ATTACHMENT_FILENAMES: - filename = urllib.quote(filename) + filename = urllib.quote(filename.encode('utf-8')) # Make the filename unique for this ticket num = 0 |
Note: See TracQuery
for help on using queries.