[Solved] Okular cannot open file

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Chaosphere
Posts: 39
Joined: 14. Jul 2012, 13:21

[Solved] Okular cannot open file

Post by Chaosphere »

Hi to all.
I have a problem with okular, it can't open any pdf file. This is what I found in terminal when I run it from there and tried to open a pdf file:

Code: Select all

okular(5163) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Error loading services.
" 
okular(5163) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf! 
okular(5163)/okular (app) Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"!
Any idea?
Last edited by Chaosphere on 29. Jan 2013, 14:05, edited 1 time in total.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Okular cannot open file

Post by mimosa »

Is the file on the same machine or are you trying to access it over a local network? If yes, what happens when you try to open a pdf on the same machine?
User avatar
Chaosphere
Posts: 39
Joined: 14. Jul 2012, 13:21

Re: Okular cannot open file

Post by Chaosphere »

The file is located in home folder. When I tried to open a file i get an error message saying that it is impossible to open the file:

Code: Select all

Impossibile aprire file:///home/sigur/allegatoordinamento-2013_1.pdf
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Okular cannot open file

Post by laprjns »

Sorry, no time to run down anything more than this. google Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"!
http://www.google.com/search?q=okular%2 ... 65&bih=789

First few hits may give you some hints
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Okular cannot open file

Post by djemos »

Okular works fine here on salix-kde-4.8.5 and on slackel-kde-4.9.2.
On kde-4.8.5 okular version is 0.14.3.

Do you run salix-kde or another salix version where you have installed kde.
Maybe it is a policy problem. Or a missing or old library. poppler ? here are the dep files for okular (acl,attica,attr,bzip2,chmlib,cups,djvulibre,ebook-tools,expat,fontconfig,freetype,gamin,gcc,cxxlibs|gcc-g++, ghostscript, giflib, glib2, herqq, kdelibs, lcms, libICE, libSM, libX11, libXau, libXcursor, libXdmcp, libXext, libXfixes, libXft, libXi,libXpm,libXrender,libXtst,libdbusmenu-qt,libidn,libjpeg,libpng,libspectre,libtiff,libxcb,libxml2,libzip,openssl-solibs|openssl, pcre, phonon, poppler, qca, qimageblitz, qt,soprano,strigi,udev,utempter,util-linux,xz,zlib)

Give more details about your system.

Also what version of lcms and lcms2, you have installed in your system? (lcms-1.19-x86_64-2.txz, lcms2-2.3-x86_64-1.txz for slackware 14.0)
(lcms-1.19-x86_64-2.txz, lcms2-2.4-x86_64-1.txz for slackware current)
User avatar
Chaosphere
Posts: 39
Joined: 14. Jul 2012, 13:21

Re: Okular cannot open file

Post by Chaosphere »

djemos wrote:Okular works fine here on salix-kde-4.8.5 and on slackel-kde-4.9.2.
On kde-4.8.5 okular version is 0.14.3.

Do you run salix-kde or another salix version where you have installed kde.
Maybe it is a policy problem. Or a missing or old library. poppler ? here are the dep files for okular (acl,attica,attr,bzip2,chmlib,cups,djvulibre,ebook-tools,expat,fontconfig,freetype,gamin,gcc,cxxlibs|gcc-g++, ghostscript, giflib, glib2, herqq, kdelibs, lcms, libICE, libSM, libX11, libXau, libXcursor, libXdmcp, libXext, libXfixes, libXft, libXi,libXpm,libXrender,libXtst,libdbusmenu-qt,libidn,libjpeg,libpng,libspectre,libtiff,libxcb,libxml2,libzip,openssl-solibs|openssl, pcre, phonon, poppler, qca, qimageblitz, qt,soprano,strigi,udev,utempter,util-linux,xz,zlib)

Give more details about your system.

Also what version of lcms and lcms2, you have installed in your system? (lcms-1.19-x86_64-2.txz, lcms2-2.3-x86_64-1.txz for slackware 14.0)
(lcms-1.19-x86_64-2.txz, lcms2-2.4-x86_64-1.txz for slackware current)
I' m running Salix-KDE with KDE 4.8.5 on 64 bit.

lcms is 1.19 and lcms2 is 2.3 installed. Which more details do you need?

All deps are installed.
Image
Image
djemos
Salix Warrior
Posts: 1465
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Okular cannot open file

Post by djemos »

Then i don't know what is wrong. Here on salix64-kde-4.8.5 okular runs fine.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Okular cannot open file

Post by laprjns »

I installed it on my Salix 14.0 Xfce and it seems to work. It did pull in 17 dependencies

Code: Select all

1/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ attica 0.4.0-i486-1 [212.0kB]...Done
2/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ chmlib 0.40-i486-2 [36.0kB]...Done
3/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ ebook-tools 0.2.1-i486-1 [24.0kB]...Done
4/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ herqq 1.0.0-i486-1 [408.0kB]...Done
5/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ libdbusmenu-qt 0.9.2-i486-2 [140.0kB]...Done
6/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ polkit-qt-1 0.103.0-i486-1 [72.0kB]...Done
7/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ qca 2.0.2-i486-1 [540.0kB]...Done
8/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ clucene 2.3.3.4-i486-1 [644.0kB]...Done
9/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ raptor2 2.0.8-i486-1 [320.0kB]...Done
10/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ rasqal 0.9.29-i486-1 [280.0kB]...Done
11/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ libaio 0.3.109-i486-1 [16.0kB]...Done
12/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ mysql 5.5.29-i486-1_slack14.0 [8.3MB]...Done
13/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ redland 1.0.15-i486-4 [284.0kB]...Done
14/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ soprano 2.7.6-i486-1 [608.0kB]...Done
15/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ strigi 0.7.7-i486-2 [652.0kB]...Done
16/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ kdelibs 4.8.5-i486-1 [12.2MB]...Done
17/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ qimageblitz 0.0.6-i486-1 [68.0kB]...Done
18/18 Get http://ftp.gwdg.de/pub/linux/slackware/slackware-14.0/ okular 4.8.5-i486-1 [1.3MB]...Done
The google search that I provide a link to has several hits that had the same error message. (Okular::DocumentPrivate::loadGeneratorLibrary: Invalid plugin factory for "okularGenerator_poppler"!). They all seem to point to a cofiguration issue with poppler. Maybe try reinstalling it.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
Chaosphere
Posts: 39
Joined: 14. Jul 2012, 13:21

Re: Okular cannot open file

Post by Chaosphere »

I tried to reinstall poppler but nothing happened. So I thought that reinstalling okular it might work, in that way I found that okular was not even installed, I don' t know how. So I installed okular trough slapt-get and now everything works. :) Thank you. :)
However, my doubt is, why was okular not installed? The program started as it were installed. :?:
Image
Image
Post Reply