Hi,
Evince doesn’t open .pdf files, but .djvu does.
When I click to a file to open it shows this:
Failed to load backend for ‘application/pdf’: /usr/lib64/evince/4/backends/libpdfdocument.so: undefined symbol: poppler_page_remove_annot
Hi,
Evince doesn’t open .pdf files, but .djvu does.
When I click to a file to open it shows this:
Failed to load backend for ‘application/pdf’: /usr/lib64/evince/4/backends/libpdfdocument.so: undefined symbol: poppler_page_remove_annot
It seems to work here.
Can you post the output from
zypper lr -d
Use code tags for the output.
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------+--------
1 | Education | Education | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.1/ |
2 | Mozilla | Mozilla | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_42.1/ |
3 | Wine | Wine | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.1/ |
4 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
5 | linuxdownload.adobe.com-linux | Adobe Flash Plugin | Yes | ( p) Yes | Yes | 99 | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/ |
6 | openSUSE-42.1-0 | openSUSE-42.1-0 | No | ---- | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-PLDS_DVD-RW_DS8ABSH_DX0E66026L1CB4207PVB |
7 | opensuse-guide.org-repo | Libdvdcss Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/ |
8 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.1/ |
9 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |
10 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |
11 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
12 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
13 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
14 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
15 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
16 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |
17 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/
I’m not seeing anything there that could cause a possible conflict.
Right now, I am looking at a pdf file with “evince”. The library “libpdfdocuments.so” is loaded. And I am not getting any error messages related to the problem that you are seeing.
Here, “evince” is at version 3.14.2-2.8, and “libpdfdocuments.so” is part of that package. I am not seeing any other versions of evince in the 4.2 repos.
Maybe try forcing a reinstall of evince in Yast software manager. Search for “evince”, and right click to select “update unconditionally”.
to me it looks like a bad pdf, can mupdf render it?
if so use mutool (part of mupdf) to fix that file
mutool clean -ggg badfile.pdf
to be more precise from your error it seams that your pdf has a bad annotation and evince’s backend can’t handle it, mupdf is available in the standard repo’s it comes with a simple viewer but I use it for it’s cool command line tool mutool, to get mupdf just use zypper
zypper in mupdf
ps I’m not sure that mupdf has a desktop menu item try running mutool or mupdf from a console to get it.
Try opening a different pdf file to compare if the original pdf file you want to open is corrupted.
I use inkscape and gimp for pdf file you can try it also.
I tried to open other pdf files, but there is the same problem and the same error.
I tried to open that pdf file with GIMP, and GIMP opens it correct.
Okular opens every pdf file correct.
mupdf opens all pdf files correctly too.
I have reinstalled system from DVD (Upgrade mode) and evince now works correctly.
After standard regular update these packages have disappeared:
-evince-plugin-djvudocument
-evince-plugin-pdfdocument
-evince-plugin-psdocument
[FONT=arial]-evince-browser-plugin
Those plugins absent in any repositories:
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
1 | Education | Education | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.1/ |
2 | Mozilla | Mozilla | No | ---- | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_42.1/ |
3 | Virtualization | Virtualization | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Virtualization/openSUSE_Leap_42.1/ |
4 | Wine | Wine | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.1/ |
5 | ftp.gwdg.de-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Leap_42.1/ |
6 | http-download.opensuse.org-f551797a | home:mborodin:security | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/mborodin:/security/openSUSE_Leap_42.1/ |
7 | linuxdownload.adobe.com-linux | Adobe Flash Plugin | Yes | ( p) Yes | Yes | 99 | rpm-md | http://linuxdownload.adobe.com/linux/x86_64/ |
8 | openSUSE-42.1-0 | openSUSE-42.1-0 | Yes | (r ) Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-PLDS_DVD-RW_DS8ABSH_DX0E66026L1CB4207PVB |
9 | repo-debug | openSUSE-Leap-42.1-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/ |
10 | repo-debug-non-oss | openSUSE-Leap-42.1-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/ |
11 | repo-debug-update | openSUSE-Leap-42.1-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/oss |
12 | repo-debug-update-non-oss | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.1/non-oss/ |
13 | repo-non-oss | openSUSE-Leap-42.1-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ |
14 | repo-oss | openSUSE-Leap-42.1-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
15 | repo-source | openSUSE-Leap-42.1-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/ |
16 | repo-update | openSUSE-Leap-42.1-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/ |
17 | repo-update-non-oss | openSUSE-Leap-42.1-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/
Now I can’t open pdf files. It shows the same problem as this thread above.
[/FONT]
[QUOTE=andranique;2747660]After standard regular update these packages have disappeared:
-evince-plugin-djvudocument
-evince-plugin-pdfdocument
-evince-plugin-psdocument
[FONT=arial]-evince-browser-plugin[/FONT]/QUOTE]
I don’t have any of those, either. I don’t think they were ever part of 42.1. Yet evince works.
I’m testing this at the command line (within KDE). I’m haven’t tried opening pdf files from a Gnome desktop.
[quote="“nrickert,post:14,topic:113383”]
That problem appears after updating. But I can’t understand how to fix it.
Has anybody solved this problem?
The problem solved by updating poppler-tool from version 0.20.0-1.1 (switch from “Education” repository) to 0.24.4.-5.3. (to “Leap 42.1 Oss” repository)
Done!
Interesting.
One of my 42.1 installs was done from the opensuse-li-f-e installer (“linux for education”). It does have the education repo configured. But it is using poppler-tools from the main repo, rather than from the education repo.