[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Failure of evince to open a PDF.



On Sat 30 Jan 2016 at 13:26:30 (-0800), peter@easthope.ca wrote:
> Updated a jessie system this morning.  Then tried evince.
> 
>   evince afile.pdf
> 
>   A window entitled "Document Viewer" with this notice popped open.
> "Unable to open document "file:///home/peter/afile.pdf".
> File type HTML document (text/html) is not supported
> 
> OK, but the command is not to open an HTML.  It is "evince afile.pdf".
> 
> Does anyone have an explanation or solution?

Frequently a web link labelled as being a PDF turns out to go to
another web page where you can/may be able to download the actual PDF.

I get caught out by this when I paste the link into a wget command+,
download the file afile.pdf, and then try to open it in mc. The
response is

  afile.pdf: HTML document, UTF-8 Unicode text, with very long lines

which, of course, it is.

+ wget gets the metadata, so the download obtains its correct timestamp.

Cheers,
David.


Reply to: