linked image not found

Asked by Lee Brummond

I have a group of PDF files I need to covert to SVG but there is a group that I open up the PDF file in Inkscape and save file to SVG but when I try to open them again in Inkscape I receive the following error. Failed to load the requested file.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Lee Brummond
Solved:
Last query:
Last reply:
Revision history for this message
mahfiaz (mahfiaz) said :
#1

Could you try Development version?
If development version does not work, file a bug report, please.

Revision history for this message
mahfiaz (mahfiaz) said :
#2

I encountered this one also. Run inkscape from command line or terminal, to get error messages. When opening, it gave me an error:
/home/mattias/Töölaud/Kodutöö 2/joonis 2.3.svg:337: parser error : PCDATA invalid Char value 18
-family:Arial;-inkscape-font-specification:Arial">¥¥¥¥¥¥¥¥¥¥

From this we see that there are inappropriate characters. Remove these and you should get it opened.

Revision history for this message
Lee Brummond (lee-brummond) said :
#3

How do I run inkscape from the command line so it will display invalid characters in the file?

Revision history for this message
Guillermo Espertino (Gez) (gespertino-gmail) said :
#4

Lee: just type inkscape from a terminal (linux) or run the cmd command in windows (Win+R) and type inkscape.
I don't have windows here, but I guess that if it doesn't run just typing inkscape you'll have to enter the whole path to the applications, for instance c:\program files\inkscape\inkscape.exe
It will open Inkscape, and it will print in the terminal window any error message.

Revision history for this message
pbhj (pbhj) said :
#5

This sounds like a bug? Surely if the characters can be displayed when the PDF is initially imported then they should be OK when the SVG file is closed and re-opened? Or did I mis-understand??

Revision history for this message
mahfiaz (mahfiaz) said :
#6

See the "Related bugs" section on right.

Revision history for this message
dr21702 (vandal-racinginc) said :
#7

I'm encountering another variation of this bug between 2 computers. If I open a PDF file and save it as SVG, I can re-open the SVG successfully on that machine. However if I try to open the SVG file on the other machine I get the the "failed to load the requested file" error. This error occurs both ways. Both machines are running version 0.46.

Revision history for this message
mahfiaz (mahfiaz) said :
#8

dr21702, could you file a bugreport and include your file.
Also posting your console output of opening would be of help.

Revision history for this message
dr21702 (vandal-racinginc) said :
#9

I cannot recreate the variation anymore, I might be because of changes made. The .SVG file from the PDF simply won't load at all on either box anymore. I also tried the latest development version with no luck. I'll add a bug report and attach the PDF and SVG.

Revision history for this message
dr21702 (vandal-racinginc) said :
#10

I figured it what I was seeing...the bug only occurs if the "Embed Images" option is checked when opening the PDF. I'll note that in the bug report.

Revision history for this message
Lee Brummond (lee-brummond) said :
#11

Your response about invalid characters was the answer. Our company did not support the fonts that resided on the files that were being converted to SVG's so when Inkscape tried to open them it could not. Thanks for your help and I am sorry I did not respond earlier but I had to complete converting over 400 pages of PDF's to SVG's and I was under time contraints.

Revision history for this message
dr21702 (vandal-racinginc) said :
#12

I've posted a bug 297702 about problems with opening PDF files and saving them as SVG. The workaround I'm using for the time being is to use the latest development version 0.46-Devel 20198, do not use the "Embed Images" option when opening the PDF, and save the file as SVG using this version. SVG files saved under this scenario can be opened and modifed without problems in the version 0.46 Devel 20198 build and the April 2008 release version.

Revision history for this message
Jerzy Jalocha N (jjalocha) said :
#13

Other workaround (Inkscape 0.46). When you know that Inkscape will not be able to open your file, instead of saving it directly, save a new copy:
 * Open a new (empty) document (from the active Inscape instance).
 * Copy all elements on the original document.
 * Paste them into the new document.
 * Save the NEW document.