#680929 [okular] unable to open PDF file

Package:
okular
Source:
okular
Description:
universal document viewer
Submitter:
Marco Righi
Date:
2015-06-05 20:57:03 UTC
Severity:
important
#680929#5
Date:
2012-07-09 10:17:06 UTC
From:
To:
--- Please enter the report below this line. ---
Okular can not open the attached file. This is a provate file, please
use only in order to debug the application.
In ored to open the file I (sigh) switched to Windows, I used Acrobat
Reader and printed it using PDFCreator.

Thanks in advance
Marco Righi

Debian Release: wheezy/sid
  500 wheezy          linux.dropbox.com
  500 testing         www.debian-multimedia.org
  500 testing         security.debian.org
  500 testing         http.us.debian.org
  500 testing         ftp.fr.debian.org
  500 stable          repo.wuala.com
  500 stable          ftp2.de.debian.org
  500 stable          apt.spideroak.com
  500 squeeze         www.lamaresh.net
  500 oneiric         ppa.launchpad.net
--- Package information. ---
Depends                 (Version) | Installed
=================================-+-=============
kde-runtime                       | 4:4.8.4-1
libc6                    (>= 2.4) | 2.13-33
libfreetype6           (>= 2.2.1) | 2.4.9-1
libjpeg8                  (>= 8c) | 8d-1
libkdecore5            (>= 4:4.8) | 4:4.8.4-3
libkdeui5              (>= 4:4.8) | 4:4.8.4-3
libkio5                (>= 4:4.8) | 4:4.8.4-3
libkparts4             (>= 4:4.8) | 4:4.8.4-3
libkprintutils4        (>= 4:4.8) | 4:4.8.4-3
libkpty4               (>= 4:4.8) | 4:4.8.4-3
libokularcore1       (>= 4:4.8.4) | 4:4.8.4-2
libphonon4           (>= 4:4.2.0) | 4:4.6.0.0-2
libpoppler-qt4-3        (>= 0.18) | 0.18.4-3
libqca2                (>= 2.0.2) | 2.0.3-4
libqimageblitz4      (>= 1:0.0.4) | 1:0.0.6-4
libqt4-dbus          (>= 4:4.6.1) | 4:4.8.2-1
libqt4-svg           (>= 4:4.5.3) | 4:4.8.2-1
libqt4-xml           (>= 4:4.5.3) | 4:4.8.2-1
libqtcore4           (>= 4:4.8.0) | 4:4.8.2-1
libqtgui4            (>= 4:4.8.0) | 4:4.8.2-1
libsolid4              (>= 4:4.8) | 4:4.8.4-3
libspectre1            (>= 0.2.3) | 0.2.6-2
libstdc++6             (>= 4.1.1) | 4.7.1-2
phonon                            | 4:4.6.0.0-2
zlib1g               (>= 1:1.1.4) | 1:1.2.7.dfsg-13


Package's Recommends field is empty.

Suggests                      (Version) | Installed
=======================================-+-==============
okular-extra-backends     (= 4:4.8.4-2) | 4:4.8.4-2
texlive-binaries                        | 2012.20120530-2+b1
unrar                                   | 1:4.1.4-1
poppler-data                            | 0.4.5-8
ghostscript                             | 9.05~dfsg-6
jovie                                   | 4:4.8.4-2

#680929#12
Date:
2012-07-09 13:58:05 UTC
From:
To:
Hi,

Alle lunedì 9 luglio 2012, Marco Righi ha scritto:

It opens fine here (fully up-to-date testing), 3 mostly white pages with
some lines of text each.
What is the problem you see?
Do you get any error dialog?
Can you please paste all the output you get when lanching from a
terminal okular with your document (`okular thefile.pdf`)?

Then you should not have attached it to a public bug tracking system.

Thanks,

#680929#17
Date:
2012-07-09 14:04:13 UTC
From:
To:
Command 514 of 20 $okular cessrighi_12070616541842210.pdf
okular(16602)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16602)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16602)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16602)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(16602)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

okular open a windows with a big red square that has inside a big
white X next to the error message

"Impossibile aprire
/media/data/users/home/marco/Scrivania/tmp/marco_nav/cessrighi_12070616541842210.pdf"

#680929#22
Date:
2012-07-09 15:48:17 UTC
From:
To:
Hi,

(Note: please do not top-post, thanks.)

Alle lunedì 9 luglio 2012, Marco Righi ha scritto:

Please run kdebugdialog, enable the areas 4700, 4701 and the "okular"
one without a number (you can use the line edit to filter them), and
save. Then run again okular, it should give a bit more information.

#680929#27
Date:
2012-07-09 16:06:31 UTC
From:
To:
Command 518 of 20 $okular cessrighi_12070616541842210.pdf
okular(18989)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to
open ksycoca from "/var/tmp/kdecache-marco/ksycoca4"
okular(18989)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(18989)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(18989)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(18989)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(18989)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(18989)/kdecore (trader) KMimeTypeTrader::query: query for
mimeType  "application/pdf" ,  "okular/Generator"  : returning  1  offers
okular(18989) PDFGeneratorPopplerDebugFunction: [Poppler] "Error: PDF
file is damaged - attempting to reconstruct xref table..."
okular(18989) PDFGeneratorPopplerDebugFunction: [Poppler] "Error:
Couldn't find trailer dictionary"
okular(18989) PDFGeneratorPopplerDebugFunction: [Poppler] "Error:
Couldn't read xref table"
okular(18989)/kdeui (KNotification)
KNotificationManager::notificationClosed: 9068

#680929#32
Date:
2012-07-09 16:49:33 UTC
From:
To:
Hi,

Alle lunedì 9 luglio 2012, Marco Righi ha scritto:

Indeed those could mean that what you are loading is not a PDF file or
it is corrupted. But, I don't get those when loading the document you
attached in this bug report: are you sure you sent the very same
document you are opening here?

The one you attached is:
$ md5sum cessrighi_12070616541842210.pdf
7a8fa6ff39a0c708edda9bc09fa517dc  cessrighi_12070616541842210.pdf

Also, can you please paste the output of
$ dpkg -l '*poppler*' | grep ^ii
?

Thanks,

#680929#37
Date:
2012-07-10 14:26:02 UTC
From:
To:
tag 680929 + unreproducible
thanks

Alle martedì 10 luglio 2012, Marco Righi ha scritto:

Thanks, marking as unreproducible then.

#680929#44
Date:
2015-06-05 20:55:48 UTC
From:
To:
Qt: 4.8.6
KDE Development Platform: 4.14.2
Okular: 0.20.2

Reproduces 100% of the time. I am logged in over remote desktop.
Desktop snapshot provided in case you need to verify remote desktop.