Fixup pushed with add'l test coverage for parsing actual multipart msg 

---

** [tickets:#8160] UnicodeEncodeError processing inbound email**

**Status:** review
**Milestone:** unreleased
**Labels:** bitesize 
**Created:** Mon Aug 14, 2017 06:12 PM UTC by Dave Brondsema
**Last Updated:** Thu Sep 28, 2017 01:28 PM UTC
**Owner:** Kenton Taylor


```
08:20:09,675 ERROR 
[taskd:allura.tasks.mail_tasks.route_email:598c173734309d28a5278156:allura.tasks.mail_tasks]
 Error routing mail to 1...@tickets.proj.hostname.com
Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/tasks/mail_tasks.py", line 99, in 
route_email
    c.app.handle_message(userpart, msg)
  File "/var/local/allura/ForgeTracker/forgetracker/tracker_main.py", line 293, 
in handle_message
    self.handle_artifact_message(ticket, message)
  File "/var/local/allura/Allura/allura/app.py", line 712, in 
handle_artifact_message
    fp = StringIO(message['payload'])
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbb' in position 
596: ordinal not in range(128)
```


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to