Ordinal not in range exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scour |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When launching scour to clean my svg (I have many gradients I am not using anymore, and I want to shrink the list), I have that output :
me@home:$ python scour.py -i myFile.svg -o output.svg
scour 0.24
Copyright Jeff Schiller, 2010
Traceback (most recent call last):
File "scour.py", line 2432, in <module>
out_string = scourString(
File "scour.py", line 2274, in scourString
embedRaster
File "scour.py", line 1919, in embedRasters
href = os.path.
File "/usr/lib/
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
I can give the input file if needed, but I prefer not to publish it publicly.
Thanks for developping this kind of software, it can (should ?) definitely be integrated into Inkscape in the future...
Looks like there's something wrong with an image path. Do you use special characters (letters with accents...) in an xlink:href attributes?
> , it can (should ?) definitely be integrated into Inkscape in the future...
It is already in Inkscape 0.47, in File>Save As>Optimized SVG.