#8160 UnicodeEncodeError processing inbound email

v1.8.0
closed
bitesize (76)
General
2018-02-05
2017-08-14
No
08:20:09,675 ERROR [taskd:allura.tasks.mail_tasks.route_email:598c173734309d28a5278156:allura.tasks.mail_tasks] Error routing mail to 1234@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)

Discussion

  • Kenton Taylor

    Kenton Taylor - 2017-09-28

    QA

    kt/8160

     
  • Kenton Taylor

    Kenton Taylor - 2017-09-28
    • status: open --> review
    • assigned_to: Kenton Taylor
     
  • Kenton Taylor

    Kenton Taylor - 2017-09-28

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

     
  • Dave Brondsema

    Dave Brondsema - 2017-09-28
    • status: review --> closed
    • Reviewer: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2018-02-05
    • Milestone: unreleased --> v1.8.0
     

Log in to post a comment.