Ghostscript not found

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
frednexus
Posts: 15
Joined: Wed Apr 10, 2019 12:43 pm

Ghostscript not found

Post by frednexus »

Hello

I make an update of XnView MP and Ghostscript and now Ghostscript is no more found by Xnview MP :evil:

Update procedure

Uninstall Ghostscript 9.27
CCleaner to remove old Ghostscript entries
update of XnView MP Version 0.95 to Version 0.96.5 64bits (Aug 17 2020)
Install gs9530w64.exe and gs9530w32.exe just in case of...
Reboot
...
Ghostscript is not found by Xnview MP?

Is there a way to enter the Ghostscript path in the xnview.ini?

System:
Windows 7 X64 SP1
XnView MP Windows Version 0.96.5 64bits (Aug 17 2020)
Ghostscript 9.53.0 for Windows (64 bit)
Ghostscript 9.53.0 for Windows (32 bit)
Best Regards
Nexus 8)
cday
XnThusiast
Posts: 3973
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Ghostscript not found

Post by cday »

frednexus wrote: Mon Sep 14, 2020 1:02 pm
I make an update of XnView MP and Ghostscript and now Ghostscript is no more found by Xnview MP :evil:
If you wish to test earlier Ghostscript versions, they can be downloaded from the normal download page Ghostscript versions.

Note that a change in a quite recent Ghostscript version required, I believe, a change in the XnView code, details of the version concerned in one of my posts, so it would probably only be worth testing very recent versions, assuming the issue is with Ghostscript 95.3 rather than XnView MP, unless there has been a regression in 'MP.

Is there a way to enter the Ghostscript path in the xnview.ini?
Xnview software uses the environment variable created by the installer, I believe...
User avatar
frednexus
Posts: 15
Joined: Wed Apr 10, 2019 12:43 pm

Re: Ghostscript not found

Post by frednexus »

Hello @cday

I test "XnView MP Version 0.96.5 64bits" with

Ghostscript 9.53.0 Not found

Ghostscript 9.52 > "File can't be loaded!" until the all thumbnails are generated. :shock:
The issue it's that the first 30% are generated very quickly then the 70% take a long long time. :?
Direct click on a Illustrator file via "Total Commander" open the last folder used but not the file. :bug:

Ghostscript 9.51 Same issue than 9.52

In both case the Illustrator or PNG thumbnails files do not use the checkboard pattern, white design on transparent background = full white thumbnails...

Anyway, this problem is half resolved because the XnView MP + Ghostscript couple does not provide a pleasant environment to use with Illustrator or PNG files. :?

A small tips for people who may encounter the same issue.
Registry keys
[HKEY_CURRENT_USER\Software\GPL Ghostscript]
and
[HKEY_LOCAL_MACHINE\SOFTWARE\GPL Ghostscript]
must be manually deleted before any new Ghostscript install.
CCleaner do not do it.
Best Regards
Nexus 8)
Kapinat
Posts: 1
Joined: Tue Sep 22, 2020 8:49 am

Re: Ghostscript not found

Post by Kapinat »

Hello,

I also have the same issue, I can't figure it out. My system is Windows 10
XnView MP x64 and Ghostscript x64 are installed.
The screenshot with the message that I get from XnView is attached

I would appreciate any help
Attachments
Screenshot 2020-09-22 115317.png
Screenshot 2020-09-22 115317.png (7.81 KiB) Viewed 4735 times
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ghostscript not found

Post by xnview »

could you check the registry entry GPL Ghostscript?
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ghostscript not found

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Ghostscript not found

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.98.1. Please check and confirm the bug fix here.
Pierre.
lomotex
Posts: 1
Joined: Tue Apr 13, 2021 12:43 pm

Re: Ghostscript not found

Post by lomotex »

Hi Pierre,

I installed XnView MP (XnView MP Windows Version 0.98.2 64bits (Feb 19 2021)).

Some days later I installed Ghostscript 9.54.0 for Windows (64 bit). Even after a restart (Windows 10 Pro Version 20H2 (Build 19042.867)) no thumbnails of PDF files are displayed. When opening PDF files it shows the same error message as if gs is not installed at all.

So I guess XnView MP just doesn't find the path.

The path to gs is "C:\Program Files\gs\gs9.54.0", the settings path for the XnView MP ini file is "C:\Users\xxx\AppData\Roaming\XnViewMP".
cday
XnThusiast
Posts: 3973
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Ghostscript not found

Post by cday »

Due to another change in GS... :(

The next update 0.98.3 will include a fix.
Post Reply