Amarok Error

I upgraded Amarok (on openSUSE 13.1, KDE) and now I get this error:

Amarok could not find any collection plugins. It is possible that Amarok is installed under the wrong prefix, please fix your installation using:$ cd /path/to/amarok/source-code/
$ su -c "make uninstall"
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` && su -c "make install"
$ kbuildsycoca4 --noincremental
$ amarok


No idea where the source-code is…no idea how to find that.

Where did you update amarok from? I updated using the packman rpm and haven’t had any problems:

PackMan :: Package details for amarok

I installed it using PackMan :: Package details for amarok and got the same error. What is wrong?

It works here, can you check the version and vendor of your package to
see what you have exactly?


martinh@ganymed:~> rpm -qi amarok | egrep
'Version|Release|Vendor|Architecture'
Version     : 2.8.0
Release     : 19.10
Architecture: x86_64
Vendor      : http://packman.links2linux.de
martinh@ganymed:~> 


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

I get


Usage: egrep [OPTION]... PATTERN [FILE]...
Try 'egrep --help' for more information.

There is an unintended line break in the code line which happened by
sending it. Just post the output from


rpm -qi amarok

Alright then

rpm -qi amarokName        : amarok
Version     : 2.8.0
Release     : 19.10
Architecture: x86_64
Install Date: Thu 12 Dec 2013 12:07:18 PM EET
Group       : Productivity/Multimedia/Sound/Players
Size        : 19081994
License     : GPL-2.0+
Signature   : RSA/SHA1, Tue 10 Dec 2013 02:25:28 PM EET, Key ID 45a1d0671abd1afb
Source RPM  : amarok-2.8.0-19.10.src.rpm
Build Date  : Tue 10 Dec 2013 11:00:26 AM EET
Build Host  : swkj06.site
Relocations : (not relocatable)
Packager    : packman@links2linux.de
Vendor      : http://packman.links2linux.de
URL         : http://amarok.kde.org/
Summary     : Media Player for KDE
Description :
Amarok is a media player for all kinds of media. This includes MP3, Ogg
Vorbis, audio CDs, podcasts and streams. Play lists can be stored in
.m3u or .pls files.
Distribution: Essentials / openSUSE_13.1



That looks ok. What comes to my mind is if the executable from that file
is really what is invoked when you start amarok.

Have you ever built amarok yourself or installed some rpm which is not
for openSUSE?

Sometimes people have some version in /usr/local/bin which shadows the
executable in /usr/bin.

If you run


amarok --version

from a terminal does that show the version 2.8.0?
You can also check


which amarok

if that points to /usr/bin/amarok.


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

Have you tried to run


kbuildsycoca4 --noincremental

to see if that solves the issue?

Both version and path are fine.
I ran kbuildsycoca4 and nothing happened :frowning:

I ran amarok debug to see what is wrong:

amarok --debugamarok: BEGIN: App::App() 
amarok:   BEGIN: void App::continueInit() 
amarok:     BEGIN: EngineController::EngineController() 
amarok:     END__: EngineController::EngineController() [Took: 0.005s] 
amarok:     BEGIN: void EngineController::initializePhonon() 
amarok:       [EngineController] Established Phonon equalizer effect with 10 parameters. 
amarok:       [EngineController] Tick Interval (actual):  100 
amarok:     END__: void EngineController::initializePhonon() [Took: 0.6s] 
amarok:     BEGIN: CollectionManager::CollectionManager() 
amarok:     END__: CollectionManager::CollectionManager() [Took: 0.009s] 
amarok:     BEGIN: MainWindow::MainWindow() 
amarok:       BEGIN: Plugins::PluginManager::PluginManager(QObject*) 
amarok:         BEGIN: void Plugins::PluginManager::findAllPlugins() 
amarok:           [PluginManager] found plugin: "amarok_collection-audiocdcollection" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_collection-daapcollection" enabled: false 
amarok:           [PluginManager] found plugin: "amarok_collection-mtpcollection" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_collection-mysqlservercollection" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_collection-mysqlecollection" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_collection-nepomukcollection" enabled: false 
amarok:           [PluginManager] found plugin: "amarok_collection-upnpcollection" enabled: false 
amarok:           [PluginManager] found plugin: "amarok_collection-umscollection" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_collection-ipodcollection" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_service_ampache" enabled: false 
amarok:           [PluginManager] found plugin: "amarok_service_jamendo" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_service_lastfm" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_service_amazonstore" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_service_mp3tunes" enabled: false 
amarok:           [PluginManager] found plugin: "amarok_service_magnatunestore" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_service_opmldirectory" enabled: true 
amarok:           [PluginManager] found plugin: "amarok_service_gpodder" enabled: false 
amarok:           [PluginManager] 17 plugins in total 
amarok:         END__: void Plugins::PluginManager::findAllPlugins() [Took: 0.002s] 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-audiocdcollection' from KPluginLoader: The plugin 'amarok_collection-audiocdcollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-mtpcollection' from KPluginLoader: The plugin 'amarok_collection-mtpcollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-mysqlecollection' from KPluginLoader: The plugin 'amarok_collection-mysqlecollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-umscollection' from KPluginLoader: The plugin 'amarok_collection-umscollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-ipodcollection' from KPluginLoader: The plugin 'amarok_collection-ipodcollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [PluginManager] No Amarok collection plugins found, running kbuildsycoca4. 
amarok:         [EngineController] slotTrackLengthChanged( -1 ) 
amarok:         [EngineController] slotStateChanged from  Phonon::LoadingState  to  Phonon::StoppedState  
amarok:         BEGIN: virtual int App::newInstance() 
amarok:           BEGIN: static void App::handleCliArgs() 
amarok:           END__: static void App::handleCliArgs() [Took: 0s] 
amarok:         END__: virtual int App::newInstance() [Took: 0s] 
camil@linuxnohost:~$ amarok:         [PluginManager] Second attempt at finding collection plugins 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-audiocdcollection' from KPluginLoader: The plugin 'amarok_collection-audiocdcollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-mtpcollection' from KPluginLoader: The plugin 'amarok_collection-mtpcollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-mysqlecollection' from KPluginLoader: The plugin 'amarok_collection-mysqlecollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-umscollection' from KPluginLoader: The plugin 'amarok_collection-umscollection' uses an incompatible KDE library (4.11.3)." 
amarok:         [WARNING] [PluginManager] "Failed to get factory 'amarok_collection-ipodcollection' from KPluginLoader: The plugin 'amarok_collection-ipodcollection' uses an incompatible KDE library (4.11.3)." 

Am 12.12.2013 13:06, schrieb riderplus:
> uses an incompatible KDE library (4.11.3)
What is your exact KDE version at the moment, did you all the updates in
the last few days, it switched KDE from 4.11.2 to 4.11.3.


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

The exact KDE version does not matter since KDE is upwards compatible and amarok doesn’t specifically require 4.11.3.

But the most likely reason for the OP’s problem is that he installed the KDE update and didn’t reboot/restart KDE yet. So there are still parts of KDE 4.11.2 in use.
A simple reboot should fix this though.

Or maybe a mixture of KDE 4.11.2 and 4.11.3 packages?

I did reboot the system. Same issue. When I fire up Amarok I get a progress bar saying “Updating …” then I get "Amarok cannot find any collection plugins. It is possible that Amarok is installed under the wrong prefix, please fix your installation using: " and then the whole error part.
Really annoying.

Am 13.12.2013 00:26, schrieb riderplus:
> I did reboot the system. Same issue. When I fire up Amarok I get a
> progress bar saying “Updating …” then I get "Amarok cannot find any
> collection plugins. It is possible that Amarok is installed under the
> wrong prefix, please fix your installation using: " and then the whole
> error part.
> Really annoying.
>
Just to be sure you have not something missing from an update, try a


su -
zypper ref
zypper up
zypper inr

and see if and what it wants to install.


PC: oS 13.1 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.11 | GTX 650 Ti
ThinkPad E320: oS 13.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.11 | HD 3000
HTPC: oS 13.1 x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.10 | HD 2500

And please post the output of:

rpm -qi libkdecore4

Here’s what I got:

Name : libkdecore4
Version : 4.11.2
Release : 3.1
Architecture: x86_64
Install Date: Sat 30 Nov 2013 03:23:09 PM EET
Group : System/GUI/KDE
Size : 3042617
License : LGPL-2.1+
Signature : RSA/SHA256, Tue 22 Oct 2013 02:35:50 PM EEST, Key ID b88b2fd43dbdc284
Source RPM : kdelibs4-4.11.2-3.1.src.rpm
Build Date : Tue 22 Oct 2013 02:12:30 PM EEST
Build Host : build40
Relocations : (not relocatable)
Packager : openSUSE:Submitting bug reports - openSUSE
Vendor : openSUSE
URL : KDE - Experience Freedom!
Summary : KDE Core Libraries
Description :
This package contains the core libraries of the K Desktop Environment.

This package is absolutely necessary for using KDE applications.
Distribution: openSUSE 13.1

Right, and that should be 4.11.3.

Have you tried to run those zypper commands suggested by martin_helm?

What do you get when you run:

sudo zypper in libkdecore4-4.11.3

Thank you, Martin, that did it! I don’t know why the updates were not installed, maybe I have to enable refresh for zypper to go automatically.

Updating fixed it.
The only thing that still bothers me is Clementine media player eating 120% of CPU :slight_smile: I opened a separate post on that, but I don’t know if anyone can help me with it.