Page 1 of 1

okular stops after updates

PostPosted: Mar 25th, '12, 13:59
by floppy
I recently updated my system ( Mageia 1 ) and okular ( pdf viewer ) stopped working
so I un-installed and tried to reinstall the old version but was unable
tried to reinstall new version still no joy

now using xpdf instead
but I thought it worth noting

Re: okular stops after updates

PostPosted: Mar 25th, '12, 14:14
by doktor5000
Okular works fine here, no issues at all. Your Mageia 1 system, was that a clean install or an upgrade from Mandriva 2010.2?
Please also show the output from okular in a terminal. Also did you mean you were unable to install the old version or it did run?

Re: okular stops after updates

PostPosted: Mar 26th, '12, 00:30
by floppy
Hi
just downloaded again Okular 4.6.5 and installed
this is the desktop error message when I try to open it
Code: Select all
Unable to find the Okular component.


my system is a clean install of Mageia 1

if I try to open it from the terminal I get the same error message
if I su into root and do the same I get
Code: Select all
[root@localhost dad]# okular
okular(7520): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)

KCrash: Application 'okular' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/root/.kde4/socket-localhost/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
drkonqi(7521): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)


thanks

Re: okular stops after updates

PostPosted: Mar 26th, '12, 00:33
by floppy
doktor5000 wrote:Also did you mean you were unable to install the old version or it did run?

unable to install the older version at all

Re: okular stops after updates

PostPosted: Mar 26th, '12, 20:21
by doktor5000
Why are you trying to run okular as root? This won't work as there's no dbus session (as the output aslo tells you) depending on how you get root.
Try again as normal user in a terminal. Also please show the output of
Code: Select all
rpm -qa | grep -e kdelibs -e kdegraph

Re: okular stops after updates

PostPosted: Mar 27th, '12, 03:30
by floppy
out from konsole
Code: Select all
[dad@localhost ~]$ rpm -qa | grep -e kdelibs -e kdegraph
kdegraphics4-core-4.6.5-0.mga1
kdegraphics4-4.6.3-1.mga1
kdelibs4-core-4.6.3-3.mga1

opening okular from terminal as normal user
Code: Select all
Unable to find the Okular component.

Re: okular stops after updates

PostPosted: Mar 27th, '12, 20:51
by doktor5000
You might want to report that as a bug: https://wiki.mageia.org/en/How_to_report_a_bug_properly

Re: okular stops after updates

PostPosted: Apr 17th, '12, 19:31
by lewisforlife
I know this thread is sort of old, but I thought this was worth mentioning. I had this problem and this fixed it:

Code: Select all
urpme okular
urpmi kdelibs4-core
urpmi okular