---
** [tickets:#6900] Trac ticket import failure**
**Status:** open
**Created:** Wed Nov 20, 2013 02:55 PM UTC by Tim Van Steenburgh
**Last Updated:** Wed Nov 20, 2013 02:55 PM UTC
**Owner:** nobody
Importing https://sourceforge.net/apps/trac/sivic:
Importing the Tickets data from the sivic Trac project to the sivic SourceForge
project failed with the error: 'ascii' codec can't decode byte 0xe2 in position
57: ordinal not in range(128)
Traceback (most recent call last):
File
"/home/tvansteenburgh/tvansteenburgh-1024/forge/ForgeImporters/forgeimporters/base.py",
line 122, in import_tool
mount_point=mount_point, mount_label=mount_label, **kw)
File
"/home/tvansteenburgh/tvansteenburgh-1024/forge/ForgeImporters/forgeimporters/trac/tickets.py",
line 124, in import_tool
json.dumps(export(trac_url), cls=DateJSONEncoder),
File
"/home/tvansteenburgh/tvansteenburgh-1024/forge/Allura/allura/scripts/trac_export.py",
line 290, in export
doc = [t for t in islice(ex, limit)]
File
"/home/tvansteenburgh/tvansteenburgh-1024/forge/Allura/allura/scripts/trac_export.py",
line 271, in next
return self.get_ticket(id, extra)
File
"/home/tvansteenburgh/tvansteenburgh-1024/forge/Allura/allura/scripts/trac_export.py",
line 219, in get_ticket
t = self.parse_ticket(id)
File
"/home/tvansteenburgh/tvansteenburgh-1024/forge/Allura/allura/scripts/trac_export.py",
line 166, in parse_ticket
c['comment'] = html2text.html2text(changes + body)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 57:
ordinal not in range(128)
---
Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed
to https://sourceforge.net/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.