Problems with Non-ASCII filenames

Reported by Lars Bensmann on 2013-06-21
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Appy
Undecided
Unassigned

Bug Description

When using Non-ASCII characters in filenames the rendering fails with a UnicodeDecodeError:

Traceback (most recent call last):
File "scripts/odfgenerate.py", line 1761, in <module>
finalizeFunction=finalize)
File "/usr/local/lib/python/site-packages/appy/pod/renderer.py", line 185, in __init__
fullFileName = os.path.join(fullFolderName, fileName)
File "/usr/lib/python2.7/posixpath.py", line 80, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 54: ordinal not in range(128)

This is easily fixed with a one line patch (attached).

Lars

Lars Bensmann (lars-0) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers