"Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Post questions on how to use or achieve an effect in Inkscape.
avamk
Posts: 12
Joined: Fri Jul 27, 2012 12:42 am

"Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Postby avamk » Fri Jan 05, 2018 9:10 pm

Hello,

In the past I have been able to open EPS files in Linux Inkscape 0.92.2, but recently they fail with the "Failed to load requested file" error...

I've looked at this thread, and the Inkscape FAQ which suggests I need to have Ghostscript installed. I checked and version 9.07 is installed and I have access to ps2pdf in my path, so why can't I open EPS files? How do I fix this? Thank you!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: "Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Postby Moini » Sat Jan 06, 2018 4:19 am

Those instructions are for Windows, but good that you checked, so we can rule out a missing library.

Can you please do the following:
- copy the output of "which inkscape" into a comment here.
- try to open the eps file from the command line by entering "inkscape /path/to/file.eps", and then copy the output here.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

avamk
Posts: 12
Joined: Fri Jul 27, 2012 12:42 am

Re: "Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Postby avamk » Mon Jan 08, 2018 9:25 pm

Moini wrote:Those instructions are for Windows, but good that you checked, so we can rule out a missing library.

Can you please do the following:
- copy the output of "which inkscape" into a comment here.
- try to open the eps file from the command line by entering "inkscape /path/to/file.eps", and then copy the output here.


Hello,

Thank you for the suggestions. I discovered that inkscape is not in my path (which can't find it), and it is installed as a Flatpak started by this command:

Code: Select all

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=inkscape org.inkscape.Inkscape


Would this explain the problem? I also tried to start the same version of Inkscape on another machine where it is installed via the distribution package manager, and that Inkscape had no problem opening the same EPS files.

When I try it on this computer (with the Flatpak Inkscape), the error on the commandline was:

parser error : Start tag expected, '<' not found


At first I thought maybe the EPS was just corrupted, but like I said the same file opens fine on other computers with Inkscape... The reason I use Flatpak here is because I'm on Redhat Enterprise Linux (RHEL) 7.1 and its repositories don't have the latest Inkscape. Is there anything I can try or do I have to revert to the older version in the RHEL repositories? Thanks!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: "Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Postby Moini » Tue Jan 09, 2018 12:05 am

Yes, it might be that the flatpak you have doesn't include eps support, I don't know. Can you ask its author here:
https://inkscape.org/en/gallery/item/10685/ ?

Also please include your ghostscript version number and your libpoppler version(s) ("ghostscript --version" and for the other, ask your package manager - on Ubuntu it would be "dpkg --get-selections | grep libpoppler", don't know what it would be on RHEL...)
(libpoppler hint comes from https://bugs.launchpad.net/inkscape/+bug/362473)

or, if you don't get an answer, ask on the Inkscape devel mailing list?

Are there any other error messages when you start Inkscape via command line (with GUI)? When you try to open a pdf/ps/eps via GUI? Anything that smells like it could be related in extensions.log (in your user Inkscape configuration directory)?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

avamk
Posts: 12
Joined: Fri Jul 27, 2012 12:42 am

Re: "Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Postby avamk » Wed Jan 10, 2018 5:53 am

Moini wrote:Yes, it might be that the flatpak you have doesn't include eps support, I don't know. Can you ask its author here:
https://inkscape.org/en/gallery/item/10685/ ?

Also please include your ghostscript version number and your libpoppler version(s) ("ghostscript --version" and for the other, ask your package manager - on Ubuntu it would be "dpkg --get-selections | grep libpoppler", don't know what it would be on RHEL...)
(libpoppler hint comes from https://bugs.launchpad.net/inkscape/+bug/362473)

or, if you don't get an answer, ask on the Inkscape devel mailing list?

Are there any other error messages when you start Inkscape via command line (with GUI)? When you try to open a pdf/ps/eps via GUI? Anything that smells like it could be related in extensions.log (in your user Inkscape configuration directory)?


Thank you @Moini! I'll give your suggestions a try. There is an "extension-errors.log" in the configuration directory which listed several errors, but nothing specific to EPS. Just in case, I've pasted its contents here: https://framabin.org/?e5be7ec35671be17# ... xYKb70KM8=

In the meantime I'll revert back to the older Inkscape from official repositories (instead of Flatpak) if I really need to open EPS files... Thanks again!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: "Failed to load requested file" for EPS in Inkscape 0.92.2 Linux

Postby Moini » Wed Jan 10, 2018 5:59 am

You could also request that pstoedit be added to the flatpak - it's useful for makers and scientists :) Hope then the flatpak will be complete :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”