![]() KDE Developer ![]()
|
I upgraded KDE4 on my openSuSE 12.2 system and since then I have a problem viewing PDF documents. Everytime I try to open a PDF document, I get the following message in a terminal and in an okular dialog:
Which course does okular take to determine the backend? I don't see the PDF backend in the settings section either. I do have/see ebup, ps, txt, odt etc. Poppler is installed (pdfinfo gives correct information). Any help/pointer is very much appreciated, because okular is my choice of PDF viewing. In case more information is needed, please let me know. I can certainly provide it. Here the version info:
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Manager ![]()
|
try the following command: /usr/bin/update-desktop-database
|
![]() Administrator ![]()
|
Do the files /usr/share/kde4/services/okularPoppler.desktop and /usr/share/kde4/services/libokularGenerator_poppler.desktop exist?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() KDE Developer ![]()
|
Yes, they both exist as part of package okular-4.11.2-5.1.x86_64
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() KDE Developer ![]()
|
Running it (as root) does not make any difference.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Manager ![]()
|
does Okular work for a new user?
|
![]() KDE Developer ![]()
|
Nope ![]()
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Manager ![]()
|
I'd uninstall all the Poppler (I have 5 installed) and Okular packages and then reinstall
|
![]() KDE Developer ![]()
|
Looks like okular searches for a mimetype of "application/x-pdf" which it cannot find. I am not a xdg/desktop/mime-type expert at all, so please be patient with me. Using a simple
solved the problem for me so far, though I know it's just a hack which I actually want to get rid of again. Strange enough, kmimetypefinder shows this:
As the non-expert I have no idea what to look into next. I already got a copy of okular from git but the relecant desktop files of the poppler backend are identical to the ones I have on my box.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Manager ![]()
|
wouldn't removing then re-installing all the related rpm's reset/reinitialize the mime types?
|
![]() KDE Developer ![]()
|
Maybe, but there are just too many (116) dependencies on the poppler lib and I don't want to screw around with this system too much.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Manager ![]()
|
you could try just reinstalling the Poppler libs
|
![]() Registered Member ![]()
|
I think this problem is caused by the fix for https://bugs.kde.org/show_bug.cgi?id=321706 .
Should be fixed in 4.11.3 then: https://projects.kde.org/projects/kde/k ... d89ec6bfcb |
![]() KDE Developer ![]()
|
Seems to be related (from what I can tell). So it's a matter of waiting and trying again. Until then, my workaround seems to do the trick.Thanks all for helping out.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
![]() openSuSE Leap 15.4 64bit, KF5 |
![]() Registered Member ![]()
|
I just noticed that this patch is included in openSUSE's packages since 2 days ago. So maybe this actually caused your problem? There's a followup patch already though: https://projects.kde.org/projects/kde/k ... 050c90ea99 There's a similar thread in the openSUSE forums as well, btw: https://forums.opensuse.org/english/get ... ost2592560 |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]