Custom Query (332 matches)
Results (274 - 276 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#267 | fixed | Deadlock with "UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position ##: ordinal not in range(128)" | bas | hju@… |
Description |
This error is back! It was reported and solved in Ticket #184 for attachments. Now its back for the summary... as I think. There are no attachments at the mail. (disregarding the html-content and a .gif) The summary of the mail is called: Spamfilter auf Kunden-Emails prüfen WG: Bewerbungen Ausbildungsplatz The error is from the trac core (a known Problem: 2011-08-17 16:04:06 msg 122/122 (27140 bytes) msgid 1220533924/INBOX/1903 from <####@jochenkuhl.de> 2011-08-17 16:06:06 Delivery error (command run_email2trac 26957 error (0, Traceback (most recent call last): File "/usr/lib/python2.5/logging/handlers.py", line 667, in emit self.socket.send(msg) UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 63: ordinal not in range(128))) The error interrupts email2trac. The mail is converted to a ticket and created but is never marked as processed. It`s a deadlock! You receive a Ticket every time the cron-job reads the inbox until you manually delete the Mail! I'm using the trunk-version 556 |
|||
#184 | fixed | Deadlock with "UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6'" | bas | hju@… |
Description |
The Ticket is created and the attachments are added as "none", "none-1". The screenshots are embedded in the ticket as image either. At the bottom of the description, the Attachments are listet with their former names Attachments: so far so good. But execution crashes! (and the ticket is created again and again calling run_email2trac) our getmail 2010-03-11 13:56:05 Delivery error (command run_email2trac 24820 error (1, Traceback (most recent call last): File "/usr/local/bin/email2trac", line 1772, in <module> tktparser.save_email_for_debug(m, True) File "/usr/local/bin/email2trac", line 578, in save_email_for_debug self.debug_attachments(message_parts) File "/usr/local/bin/email2trac", line 544, in debug_attachments print 'TD: writing part%d (%s)' % (n,part_file) UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 26: ordinal not in range(128))) syslog: Mar 11 13:56:05 stock email2trac: Traceback (most recent call last): Mar 11 13:56:05 stock email2trac: File "/usr/local/bin/email2trac", line 1754, in <module>#012 tktparser.parse(sys.stdin) Mar 11 13:56:05 stock email2trac: File "/usr/local/bin/email2trac", line 1109, in parse#012 self.new_ticket(m, subject, spam_msg) Mar 11 13:56:05 stock email2trac: File "/usr/local/bin/email2trac", line 938, in new_ticket#012 error_with_attachments = self.attachments(message_parts) Mar 11 13:56:05 stock email2trac: File "/usr/local/bin/email2trac", line 1534, in attachments#012 path, fd = util.create_unique_file(os.path.join(self.TMPDIR, filename)) Mar 11 13:56:05 stock email2trac: File "/usr/lib/python2.5/site-packages/trac/util/__init__.py", line 227, in create_unique_file#012 return path, os.fdopen(os.open(path, flags, 0666), 'w') Mar 11 13:56:05 stock email2trac: UnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 7: ordinal not in range(128) version is 1.2.0 |
|||
#312 | fixed | Data parsed | bas | demianpaz@… |
Description |
How can i manage from field from emails? Exist a way to parse a field in the header (for example, from) to a custom field on my trac project? |