This forum has been archived. All content is frozen. Please use KDE Discuss instead.

k3b 1.91.0: Plugins not found

Tags: None
(comma "," separated)
StevenPUlrick
Registered Member
Posts
12
Karma
0
OS

k3b 1.91.0: Plugins not found

Fri Mar 19, 2010 10:57 am
Hello Everyone
I have been compiling and installing, with ALMOST perfect sucess, k3b from extragear/multimedia. My problem is that none of the plugins are detected when I attempt to run k3b. So, I can burn data CD's and DVD's, but I can't burn audio CD's. Here is the cmake line that I use:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/spu/k3b/k3b-$(xdate) -DCMAKE_CXX_FLAGS="-fno-var-tracking-assignments" -DCMAKE_BUILD_TYPE=debug

When I compile k3b from extragear/multimedia, I always install to a new directory. On some of my k3b installs, the plugins used to get detected. Even back then, sometimes they would NOT be detected. For quite a while now, the plugins are NEVER detected.

On this same system, I have a separate user account that I use to compile KDE from Trunk. The extragear/multimedia/k3b that I compile and install in that path ALWAYS detects the plugins correctly.

I think that these are the files that actually constitute the ffmpeg plugin:
/usr/local/spu/k3b/k3b-20100319-0315/share/kde4/services/k3bffmpegdecoder.desktop
/usr/local/spu/k3b/k3b-20100319-0315/lib64/kde4/k3bffmpegdecoder.so

So, what can I do to get k3b to see that the plugins that it says are not there actually ARE where they are supposed to be?

I am running Fedora 12, with the KDE that is currently the latest from the official Fedora repository.

Steven P. Ulrick
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
In ~/.kde4/env/ Add a file with the following contents... Note that constantly changing the install directory makes this more complicated.

Code: Select all
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/k3b/k3b-$(xdate):$KDEDIR


Then logout and back in again, and it should now work.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
StevenPUlrick
Registered Member
Posts
12
Karma
0
OS
bcooksley wrote:In ~/.kde4/env/ Add a file with the following contents... Note that constantly changing the install directory makes this more complicated.

Code: Select all
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/k3b/k3b-$(xdate):$KDEDIR


Then logout and back in again, and it should now work.


I did need to rename the file to have a ".sh" suffix. But once I logged out again, and logged back in, everything now works as desired :)

The additional hassle is worth it to me. The reason that I install stuff like k3b from extragear/multimedia in a different path each time is that if a particular version is broken, then I can go back to one that works.

Thank you Very Much,
Steven P. Ulrick
StevenPUlrick
Registered Member
Posts
12
Karma
0
OS

Re: k3b 1.91.0: Plugins not found

Sun Mar 28, 2010 1:45 pm
For some reason, the formerly successful advice you gave me has stopped working.

I currently have the following in ~/.kde/env/customenv.sh:
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/spu-20100328/kde:$KDEDIR

"/usr/local/spu/spu-20100328/kde" is where I have Amarok, Bibletime, K3B and Krusader installed.

If I log out and log back in, I get the following when I check $KDEDIR and $KDEDIRS from the command line:
[steve@localhost ~]$ $KDEDIR
-bash: /usr: is a directory
[steve@localhost ~]$ $KDEDIRS
-bash: /usr/local/spu/spu-20100328/kde:/usr: No such file or directory
[steve@localhost ~]$

And, as expected based on the above, "which k3b" returns "/usr/bin/k3b"

I know it's almost certainly something that I am doing wrong, but nonetheless, I would like to learn how to make it work...

Steven P. Ulrick
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: k3b 1.91.0: Plugins not found

Mon Mar 29, 2010 3:52 am
You will need to alter the script to contain the following:

Code: Select all
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/k3b/k3b-$(xdate):$KDEDIR
export PATH=/usr/local/spu/spu-$(xdate)/kde/bin:/usr/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/spu/spu-$(xdate)/kde/lib:/usr/lib:$LD_LIBRARY_PATH


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
StevenPUlrick
Registered Member
Posts
12
Karma
0
OS

Re: k3b 1.91.0: Plugins not found

Mon Mar 29, 2010 8:30 am
Hello Ben
That did the trick! Thank you very much. I know that, with your earlier advice, I had this working for about a week. I am at a loss as to why it stopped working, but I suppose that I just need to not worry about it...
Thank you for your patience...

Steven P. Ulrick


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]