Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29299 - [okular] Cannot open PDF documents
Attached to Project:
Arch Linux
Opened by Andrej Podzimek (andrej) - Thursday, 05 April 2012, 20:03 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 26 June 2012, 17:10 GMT
Opened by Andrej Podzimek (andrej) - Thursday, 05 April 2012, 20:03 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 26 June 2012, 17:10 GMT
|
DetailsDescription:
Okular cannot open PDF files. Howere, it still opens DVI just fine. Opening a PDF leads to an error message (Cannot open <file name>) and produces one line of output (see below). Guessing by the output, this might be somehow related to poppler. Additional info: * package version(s) kdegraphics-okular 4.8.2-1 * config and/or log files etc. okular(1436)/okular (app) Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"! Steps to reproduce: Try to open a PDF file in Okular. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 26 June 2012, 17:10 GMT
Reason for closing: No response
Additional comments about closing: works for me
Tuesday, 26 June 2012, 17:10 GMT
Reason for closing: No response
Additional comments about closing: works for me
Grrr.
cd /usr/lib ; ln -s libpng15.so.15.10.0 libpng14.so.14
Of course this may be just a coincidence with other updates... But if libpng is in poppler's dependency tree, it is possible that this ugly hack made poppler work again (well, to an extent...), which in turns restored Okular's capability to open PDFs.
The output from Amarok complained about libpng directly. Okular did not report anything of that kind; the only error message it produced is mentioned in the bug report above.
Also if there is a problem with Amarok, you should report that too instead of using some hack.
Problems with outdated libraries occur so often in ArchLinux that reporting every single one might do more harm than good. Normally I would just recompile Amarok using srcpac instead of using ugly hacks, but that's a different story: https://bugs.archlinux.org/task/26573
$ grep libpng strace.out
open("/usr/lib/libpng15.so.15", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpng14.so.14", O_RDONLY|O_CLOEXEC) = 11
I have just removed most (if not all) the packages listed in pacman -Qm (so that there is nothing non-standard on my system) and the problem persists.
af9015-firmware 5.1.0.0-1
arch-artwork 0.2.1-6
archlinux-themes-kde 1.5-2
bin32-google-earth 6.0.3.2197-1
jitsi 1.0.3967-1
ld-lsb 3-2
libflashsupport-pulse 20120401-1
min12xxw 0.0.9-1
nusmv 2.5.4-1
nvidia-ap 295.33-99
srcpac-git 20111104-1
ttf-ms-fonts 2.0-3
xcalib 0.8-3
$ LD_DEBUG=files okular > log 2>&1
and upload the log file here.