Comment 37 for bug 386069

Revision history for this message
EricG (eegaba) wrote :

0.47pre4; Vista SP2 32 bits

Seems that with this pre-release it isn't yet fixed as I have the same problem with raster images located in folders using special characters in their names (letter with accent – French) and I receive the following message:

No xlink:href or sodipodi:absref attributes found, or they do not point to an existing file! Unable to embed image.
Traceback (most recent call last):
  File "C:\Program Files\Inkscape\share\extensions\embedimage.py", line 105, in <module>
    e.affect()
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 207, in affect
    self.effect()
  File "C:\Program Files\Inkscape\share\extensions\embedimage.py", line 38, in effect
    self.embedAll(self.document)
  File "C:\Program Files\Inkscape\share\extensions\embedimage.py", line 52, in embedAll
    self.embedImage(node)
  File "C:\Program Files\Inkscape\share\extensions\embedimage.py", line 76, in embedImage
    inkex.errormsg(_("Sorry we could not locate %s") % path)
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 86, in errormsg
    sys.stderr.write((str(msg) + "\n").encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 38: ordinal not in range(128)

Moving the image to the root of the partition resolves the problem.