Problems with Non-ASCII filenames

Bug #1193307 reported by Lars
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Appy
New
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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.