Comment 0 for bug 169094

Revision history for this message
Tom Davidson (tjd-mit) wrote :

Hi,

Inkscape happily opens and displays the image in the attached file, but
when I try to embed the file, it says it can't find it. I suspect it's some
kind of href/namespace issue, but I don't know how to troubleshoot
further.

The full file paths are:

/home/tjd/tmpsvg/embedtest_simple.svg (attached)
/home/tjd/tmpsvg/embedtest001.png (I'll try to attach it later)

When I choose effects->images->embed all images, I get the following error
message:

"No xlink:href or sodipodi:absref attributes found, or they do not point to
an existing file! Unable to embed image.
Sorry we could not locate /tmp/embedtest001.png"

I have looked at the code in $INKSCAPE/extensions/embedimages.py, and I
can't see where it is getting the idea to look in /tmp. As far as I can
tell it should look for the image file in sodipodi:docbase, which according
to the xml browser is in fact /home/tjd/tmpsvg.

The original svg file that triggers this error is generated by a matlab
function plot2svg, written by someone else. If this turns out to be an
error in the writing of the file, I'll report it upstream.

I'm running 0.45.1, using the fc6 rpm provided by RedHat.

Thanks very much! -Tom