---
** [tickets:#8351] json dump errors after starting to use io.open**
**Status:** in-progress
**Milestone:** unreleased
**Created:** Thu Feb 20, 2020 06:15 PM UTC by Dave Brondsema
**Last Updated:** Thu Feb 20, 2020 06:15 PM UTC
**Owner:** Dave Brondsema
```
Traceback (most recent call last):
File "/var/local/allura/Allura/allura/tasks/export_tasks.py", line 106, in
export
app.bulk_export(f, export_path, with_attachments)
File "/var/local/allura/ForgeTracker/forgetracker/tracker_main.py", line 496,
in bulk_export
json.dump(ticket, f, cls=GenericClass, indent=2)
File "/usr/lib64/python2.7/json/__init__.py", line 190, in dump
fp.write(chunk)
TypeError: must be unicode, not str
```
---
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.