Hello,
I've been using the PAF Scribus with Ghostscript without issue for some time. Today I hit a wall in Inkscape trying to import an EPS file. Inkscape was not able to find the paths to the GS files.
With some trial and error, I hit upon this as a way to fix it:
I edited the \InkscapePortable\App\AppInfo\Launcher\InkscapePortable.ini by adding the following line at the end of the [Environment] section:
PATH=%PAL:PortableAppsDir%\CommonFiles\Ghostscript\bin;%PAL:PortableAppsDir%\CommonFiles\Ghostscript\lib;%PATH%
This appeared to work; no more error in the extension-errors log about EPS and ps2pdf and the file will open (though the ones I did try seemed to be memory monsters and popped a C++ runtime error after sucking up all available ram).
My main concern is I'm curious if this change will stick should an update to Inkscape become available via the normal update process, or will I have to reinstate this path code? Is this even the proper way to fix it, or have I done something wrong to begin with (sequence of install GS after Inkscape or vice-versa)?
Thanks for any pointers!
I am also curious about this and would like a more permanent solution; perhaps GhostScript support could be built into future versions of Inkscape?
I've made a note about this for the next release. We should probably let Chris Morgan know as well.
Sometimes, the impossible can become possible, if you're awesome!
The appropriate solution to this is actually having Ghostscript support in the PortableApps.com Launcher. The development version does have this and does it more completely (setting the GS_PROG environment variable as well). Including the
lib
directory in the PATH should not be necessary or desirable—was it for some strange reason necessary? Anyway, with the development version of PAL, it’s just a case of setting[Activate]:Ghostscript=find
.I shall soon be forging onwards with PAL 3.0 and announcing what’s coming next.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Great to hear, I am looking forward to that
This is fixed in Inkscape Portable 0.48.5-1
Sometimes, the impossible can become possible, if you're awesome!
On a Windows 7 64 Bit system I have installed the latest versions of Ghostscript 9.15 and Inkscape 0.48.5-1. Like suggested i added following lines to the InkscapePortable.ini.
#InkscapePortable.ini
[Launch]
...
[Activate]
Ghostscript=find
[Environment]
...
Also i can't use the solution updating the path because the PATH variable in the Environment section is overwritten every time i start Inkscape Portable.
Can someone help here?
Thanks in advance for any efforts made!
It will only work with Ghostscript Portable obtained from here.
Sometimes, the impossible can become possible, if you're awesome!
Sorry if i didn't mention it, but i use Ghostscript Portable. It seems not to be listed under
Help > About > Apps
, but if i try to load new applications viaApps > Get More Apps...
it gets not listed any more. I see this as an indication that it has been installed properly and besides there exists the pathCommonFiles > Ghostscript
I would also like to see this issue truly resolved. The ability to change the environment may have been undesirable, but it was effective and was equivalent to Inkscape's own documentation.
I too am trying to open/edit an eps graphic file. I thought I was going crazy when the edit to InkscapePortable\App\AppInfo\Launcher\InkscapePortable.ini reverted back when I started Inkscape. Can this behavior be suppressed?
Fwiw, I can open the eps file in ScribusPortable (with GhostscriptPortable installed) and it appears to display correctly, but Scribus is not my graphic editor of choice (first time I've run Scribus, I'm not even sure it includes graphic editing capability).
I also tried GIMPPortable, but get an error notice that the "GNU Image Manipulation Program Plug-In has stopped working" (appears to be related to generating a Preview image after selecting the file in file list, but quickly clicking Open as soon as the file dialog appears produces the same error).
Any suggestions?
Are you sure that Ghostscript Portable is installed and exists at %PORTABLEAPPS%\CommonFiles\Ghostscript\ ? The launcher will check for existence of %PORTABLEAPPS%\CommonFiles\Ghostscript\bin\*.* and if it exists, set the path to: %PORTABLEAPPS%\CommonFiles\Ghostscript\bin;%PORTABLEAPPS%\CommonFiles\Ghostscript\lib;%PATH%
If it doesn't exist, it will clear anything you add to the PATH variable. That is the only supported location. Anywhere else and it will fail.
Note that %PORTABLEAPPS% is normally the X:\PortableApps directory when you install to root. It's relative to the installed path of Inkscape Portable.
Sometimes, the impossible can become possible, if you're awesome!