Failed to load the requested file .svg

Asked by Hope

I am running Inkscape .48 on Mac running Lion 10.7.5.

I created a .svg file a few weeks ago, saved it, and then opened it again. I then saved a copy as a .png file and loaded it to my website.

Today when I went to open the .svg file, I got the dreaded "Failed to load the requested file" message followed by the pathname. I would be happy to send the file to you if that would help in troubleshooting this issue.

Thanks in advance for your assistance.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Hope
Solved:
Last query:
Last reply:
Revision history for this message
Hope (hope-f-deactivatedaccount) said :
#1

and the XQuartz version is 2.6.5.

Revision history for this message
Hope (hope-f-deactivatedaccount) said :
#2

I have uploaded the image here: http://imagebin.org/282878.

Thanks again in advance!

Revision history for this message
v1nce (vincent-pennec) said :
#3

looks like something went wrong (200 levels of tspan)

try this one
http://imagebin.org/282916

Don't have your font so I'm not sure it'll be ok

Or maybe it's because inkscape scans for "/Users/hopeeeaton/Desktop/hopeeaton.png" (when it shouldn't)
=> try to create this file
OR edit the svg with a file editor and remove inkscape:export-filename="/Users/hopeeeaton/Desktop/hopeeaton.png"

Revision history for this message
su_v (suv-lp) said :
#4

Inkscape 0.48.2 (latest official package for Mac OS X) and Inkscape 0.48.3.1 fail to load the file due to an excessive amount of nested <tspan> elements:

Console message:
logo.svg:662: parser error : Excessive depth in document: 256 use XML_PARSE_HUGE option
                                   id="tspan4688"><tspan
                                                  ^
logo.svg:662: parser error : Extra content at the end of the document
                                   id="tspan4688"><tspan
                                                  ^

A related parser error is tracked in
- Bug #297070 “depth of xmlParserMaxDepth insufficient”
 <https://bugs.launchpad.net/inkscape/+bug/297070>
and was fixed in trunk and for 0.48.4 (current stable release).

I have no idea what caused so many nested <tspan> elements, but based on the document structure the origin seems to be a PDF (or AI) file (i.e. the text, or the whole logo, was not originally created with Inkscape).

Edited version of the SVG file which allows to open it again in Inkscape 0.48.2:
<https://dl.dropboxusercontent.com/u/65084033/answers/240946-failed-to-load/logo-cleanup2.svg>
(Note: I don't have the font used for the text ('Houschka Rounded') installed on my system - you likely will have to adjust size (and possibly kerning) to your needs (I didn't spend time to keep or transfer the kerning info which positions each glyph of text in imported PDF/AI files individually).

Revision history for this message
Hope (hope-f-deactivatedaccount) said :
#5

Thank you for your help. I will edit the version you have provided.

Kind regards,
Hope