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

Amarok 2.3.2 wont start

Tags: None
(comma "," separated)
tuntablejames
Registered Member
Posts
4
Karma
0
OS

Amarok 2.3.2 wont start

Mon Dec 06, 2010 1:58 am
Hi All
Sorry if this is a duplicate, but I did search.
I am running Mandriva 2010 x64, and until a couple of months ago Amarok worked perfectly. Then it started crashing, but I was unable at that time to get any eral debugging output.
So I re-installed it. Now up to n times.
Now, I get a oft-reported screen stating that the program could not find any collection plugins, with suggestion for runing a script (which IMHO is suitable for use when compiling). I am trying to run prepackaged softwaer.
When run from the command line, I get the following:

Code: Select all
amarok --debug
QPainter::end: Painter ended with 2 saved states
amarok:  ************************************************************************************************************
amarok:  ** DEBUGGING OUTPUT IS NOW ENABLED. PLEASE NOTE THAT YOU WILL ONLY SEE THE FULL OUTPUT ON THE NEXT START. **
amarok:  ************************************************************************************************************
amarok: END__: static void App::handleCliArgs() - Took 0.00022s
amarok: END__: virtual int App::newInstance() - Took 0.00031s
[james@localhost config]$ amarok: [PluginManager] Plugin trader constraint:  "[X-KDE-Amarok-framework-version] == 58 and [X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"
amarok: [CollectionManager] Second attempt: Received [ "0" ] collection plugin offers

[james@localhost config]$


I have tried the suggestions with cleaning out ./kde4/share amarok references, both apps and config, and have also removed same from ./kde branch, to no avail.

Obviously, help would be most welcome.

Regards
James
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Amarok 2.3.2 wont start

Mon Dec 06, 2010 2:57 am
Have you tried running "kbuildsycoca4 --noincremental"?


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

Re: Amarok 2.3.2 wont start

Tue Dec 07, 2010 1:58 am
bcooksley wrote:Have you tried running "kbuildsycoca4 --noincremental"?


Thank you for your response.
Yes, I did do that. Sorry that I did not mention it above. There were several complaints about lack of semicolons, but some other issues as well with with Application type. After sorting htese issues, the command ran without error.
Sadly, this did not fix the problem.
Can anybody tell me exactly what the collection libraries are (filewise) ? When Amarok was working, I had extensive libraries. Name that I can URPMI, possibly ?
Regards, James
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Amarok 2.3.2 wont start

Tue Dec 07, 2010 3:03 am
Try this command first:

Code: Select all
ktraderclient --servicetype Amarok/Plugin --constraint "[X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"


If it returns entries, then make sure your upgrade to Amarok packages worked fully, and contact your distribution if Amarok still won't start. If it returns nothing, read on.

The problem isn't missing libraries, but rather missing *.desktop files. They can be found at the following locations:

Code: Select all
/usr/share/kde4/services/amarok_collection-mysqlecollection.desktop
/usr/share/kde4/services/amarok_collection-mysqlcollection.desktop


The following command should return more than 1 collection for Amarok to function, once it does, you will be able to start it up without issues.

Code: Select all
ktraderclient --servicetype Amarok/Plugin --constraint "[X-KDE-Amarok-framework-version] == 58 and [X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"


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

Re: Amarok 2.3.2 wont start

Tue Dec 07, 2010 3:29 am
Hi All
Realised that I had performed the command 'kbuildsycoca4 --noincremental' as root. Performing it again as a user, the result gave more parsing errors, as for when I ran it as root. Again, commas were an issue, and some files declared to require a <comment> line. Fixed all the errors and ran the command again.
And, sadly, Amarok still will not start, with the error messages identical.
tuntablejames
Registered Member
Posts
4
Karma
0
OS

Re: Amarok 2.3.2 wont start

Tue Dec 07, 2010 3:36 am
bcooksley wrote:Try this command first:

Code: Select all
ktraderclient --servicetype Amarok/Plugin --constraint "[X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"


If it returns entries, then make sure your upgrade to Amarok packages worked fully, and contact your distribution if Amarok still won't start. If it returns nothing, read on.

The problem isn't missing libraries, but rather missing *.desktop files. They can be found at the following locations:

Code: Select all
/usr/share/kde4/services/amarok_collection-mysqlecollection.desktop
/usr/share/kde4/services/amarok_collection-mysqlcollection.desktop


The following command should return more than 1 collection for Amarok to function, once it does, you will be able to start it up without issues.

Code: Select all
ktraderclient --servicetype Amarok/Plugin --constraint "[X-KDE-Amarok-framework-version] == 58 and [X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"


Again, Thanks for your reply.
I performed the first command and got a extensive response, including about 4 offers. They all include lines indicating 'Invalid Properties', including Genericname, Icon, Exec, TerminalOptions and Path. This would IMHO most definitely be enough to stop something working, so I shall investigate same.
Regards, James
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Amarok 2.3.2 wont start

Wed Dec 08, 2010 7:38 am
Any warnings from kbuildsycoca4 or ktraderclient can be safely ignored. The important part is the results returned from ktraderclient.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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