- **status**: open --> in-progress - **assigned_to**: Dave Brondsema
--- ** [tickets:#8148] Error exporting with certain attachments** **Status:** in-progress **Milestone:** unreleased **Labels:** bitesize **Created:** Tue Mar 07, 2017 03:40 PM UTC by Dave Brondsema **Last Updated:** Sat Mar 25, 2017 12:46 PM UTC **Owner:** Dave Brondsema Ran into this error. Looks like attachment paths need some unicode handling ~~~ 04:10:28,132 ERROR [taskd:allura.tasks.export_tasks.bulk_export:58b8eca6bcf63a2f70b65a8e:allura.tasks.export_tasks] Error exporting: discussion on openemr Traceback (most recent call last): File "/var/local/allura/Allura/allura/tasks/export_tasks.py", line 107, in export app.bulk_export(f, export_path, with_attachments) File "/var/local/allura/ForgeDiscussion/forgediscussion/forum_main.py", line 244, in bulk_export self.export_attachments(forum.threads, export_path) File "/var/local/allura/ForgeDiscussion/forgediscussion/forum_main.py", line 262, in export_attachments self.save_attachments(post_path, post.attachments) File "/var/local/allura/Allura/allura/app.py", line 777, in save_attachments with open(attachment_path, 'w') as fl: UnicodeEncodeError: 'ascii' codec can't encode characters in position 132-133: 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.