Intermittent error opening PDF files

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
Cracker
Posts: 5
Joined: Thu Dec 13, 2018 3:49 am

Intermittent error opening PDF files

Post by Cracker »

Trying to migrate from XnView classic to XnView MP 0.92, I'm stumbling with a problem with PDF files. I have the latest Ghostscript installed (9.26) and thumbnails of the PDF's show fine. Double-clicking on a thumbnail for the first time I get "File can't be loaded!" error, but then double-clicking a second (or third, fourth etc) time the file shows normally. Right arrow to the next PDF file works fine. Going back to the file viewer and clicking on a new thumbnail causes the error again.

The PDF files are located on NAS, but the problem still occurs when the files are moved locally.
Problem persists after changing from 64bit XnView MP & Ghostscript to 32 bit versions.
The "ignore read error" option from settings/interface/formats/PDF menu doesn't make a difference.
Same problem experienced with software installed on a different computer.
Most of my PDF files are created by a ScanSnap 1300 scanner, but the problem is experienced with other PDF files as well.
The same PDF files can be opened by XnView classic, Edge & SumatraPDF

Is this a a bug or have I just missed something? I couldn't find it being reported previously.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Intermittent error opening PDF files

Post by xnview »

do you double click before the thumbnail appears?
Pierre.
Cracker
Posts: 5
Joined: Thu Dec 13, 2018 3:49 am

Re: Intermittent error opening PDF files

Post by Cracker »

I double clicked before the thumbnail appeared the first time, but the problem still happens once all the thumbnails in the folder appear.

Thinking the issue might be due to a corrupt catalogue, I tried unchecking the "enable catalogue" checkbox. Another thing I tried was to delete and recreate cached directories before double clicking on a thumbnail. The intermittent "File can't be loaded!" error persisted in both cases.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Intermittent error opening PDF files

Post by xnview »

is it possible to send me some PDF example files?
Pierre.
Cracker
Posts: 5
Joined: Thu Dec 13, 2018 3:49 am

Re: Intermittent error opening PDF files

Post by Cracker »

PM sent.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Intermittent error opening PDF files

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Cracker
Posts: 5
Joined: Thu Dec 13, 2018 3:49 am

Re: Intermittent error opening PDF files

Post by Cracker »

Thanks very much for looking into the problem Pierre.
User avatar
xnview
Author of XnView
Posts: 43444
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Intermittent error opening PDF files

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.93. Please check and confirm the bug fix here.
Pierre.
Cracker
Posts: 5
Joined: Thu Dec 13, 2018 3:49 am

Re: Intermittent error opening PDF files

Post by Cracker »

I confirm the problem I was having opening PDF files has been resolved in the new version. Thanks for the fix.
Post Reply