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

Re: Is okular unable to open gzipped PDFs?



On Thursday 19. April 2012, 15:54:44 Diederik de Haas wrote:
> On Thursday 19 April 2012 12:04:34 Stanley Schade wrote:
> > I'm running a Debian testing system with KDE 4.7.4. When I try to open a
> > file  with the extension .pdf.gz with okular the following error message
> > shows up:
> > 
> > "Could not open /path/to/file.pdf.gz"
> 
> What if you decompress ("gunzip /path/to/file.pdf") the file and then do
> "file /path/to/file.pdf"? Does it say it's a pdf file?

Yes, it says: "file.pdf: PDF document, version 1.5" and can be opened by 
okular. I've also tried compressing PDF documents and opening them with 
okular. This did not work as well.

> > Furthermore okular complains that it "can not find a plugin which is able
> > to  handle the document being processed". I wonder if I am the only one
> > to experience this behaviour since okular is linked to gzip-compressed
> > PDF documents by default
> 
> There's the okular-extra-backends package, but I doubt it'll solve your
> issue. I just gzipped a pdf file and okular opens it without problems on
> my system.

okular-extra-backends doesn't solve the problem. Thank you for your feedback 
anyway!

> > according to a bug report (see link below) that I've
> > found it should be able to cope with *.pdf.gz files.
> > 
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=255586
> 
> It would be better to link against the kde bug, since the debian bug only
> says "won't fix" for another package, namely kpdf

The KDE bug ( https://bugs.kde.org/show_bug.cgi?id=102704 ) is related to kpdf 
as well. I just referred to it because, in the discussion. someone stated that 
opening compressed PDF documents is implemented in okular.


Reply to: