Some pdf are not recognized

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Post Reply
jSer
Posts: 6
Joined: Fri Nov 29, 2019 9:46 am

Some pdf are not recognized

Post by jSer » Fri Nov 29, 2019 10:08 am

Some pdf are not recognized. Message - "Format of the file ... could not be determined".
XnView 2.49.1 (and 2.49), Ghostscript 9.50 (and 9.26), win 10 1909.
Example attached.
Attachments
123.pdf
(908 Bytes) Downloaded 35 times

jSer
Posts: 6
Joined: Fri Nov 29, 2019 9:46 am

Re: Some pdf are not recognized

Post by jSer » Tue Dec 03, 2019 2:54 pm

Any confirmation?

cday
XnThusiast
Posts: 2319
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Some pdf are not recognized

Post by cday » Tue Dec 03, 2019 3:22 pm

jSer wrote:
Tue Dec 03, 2019 2:54 pm
Any confirmation?
Opens for me using XnView MP 0.93 and whichever non-recent version of Ghostscript is installed on my Linux Mint 19.1 computer...

Note that there is a known issue with the latest Ghostscript 9.50, said to be fixed in XnView MP 0.94.1 I believe, however earlier versions possibly including 9.26 which you say you have tried should work AFAIK, although you might test with a slightly earlier version.

There is also some history, not really fully investigated yet, of PDF files that open in other software not opening in XnView software, but that isn't the case here.

Note also that 32-bit versions of XnView software require Ghostscript 32-bit even on Windows x64.

Edit:

You might check that in the viewer File > Format settings... > Ignore read errors is enabled, otherwise perhaps a Windows 10 issue??

jSer
Posts: 6
Joined: Fri Nov 29, 2019 9:46 am

Re: Some pdf are not recognized

Post by jSer » Wed Jan 08, 2020 8:35 am

Xn 2.49.2 - works with some pdf (like attached above), but not with all pdfs.

cday
XnThusiast
Posts: 2319
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Some pdf are not recognized

Post by cday » Wed Jan 08, 2020 8:59 am

jSer wrote:
Wed Jan 08, 2020 8:35 am
Xn 2.49.2 - works with some pdf (like attached above), but not with all pdfs.
Please upload examples of PDF files that don't open here for Pierre to test...

jSer
Posts: 6
Joined: Fri Nov 29, 2019 9:46 am

Re: Some pdf are not recognized

Post by jSer » Tue Jan 28, 2020 7:09 am

If i turn off
1.png
1.png (12.15 KiB) Viewed 859 times
unicode utf-8 for worldwide... (current sys locale - different) - all pdf's opens well.

jSer
Posts: 6
Joined: Fri Nov 29, 2019 9:46 am

Re: Some pdf are not recognized

Post by jSer » Tue Jan 28, 2020 8:05 am

Something wrong with locale/filename/path managing... if "unicode utf-8 for worldwide" is on.

Pdf's with filename or filepath in non english locale - problem.
But if rename it to "1.pdf" or/and move to "d:\" all works perfect.

cday
XnThusiast
Posts: 2319
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Some pdf are not recognized

Post by cday » Tue Jan 28, 2020 8:23 am

jSer wrote:
Tue Jan 28, 2020 8:05 am
Something wrong with locale/filename/path managing... if "unicode utf-8 for worldwide" is on.

Pdf's with filename or filepath in non english locale - problem.
But if rename it to "1.pdf" or/and move to "d:\" all works perfect.
I think this is probably the same issue as reported in this earlier thread:

Warning: 'Error opening the file'

Could you confirm that the same filename issue is present for image files in general, such as a JPEG file?

jSer
Posts: 6
Joined: Fri Nov 29, 2019 9:46 am

Re: Some pdf are not recognized

Post by jSer » Tue Jan 28, 2020 2:56 pm

No. Only "Ghostscript" files.

Post Reply