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

Amarok hangs after start

Tags: None
(comma "," separated)
User avatar
grew
Registered Member
Posts
8
Karma
0

Amarok hangs after start

Wed Apr 20, 2016 9:50 am
I am running Amarok 2.8.0 on Gentoo, but for a long time it does not work for me. It hangs just after start. I see main panel and "Fetching Magnatune.com front page" could be seen in task area.

I have tried also starting Amarok from command line:
Code: Select all
amarok -d --nofork

but results are the same.

Only such errors could be seen:

[ERROR__] [APG::PresetModel] Can not open "/home/user/.kde4/share/apps/amarok/playlistgenerator.xml"
[ERROR__] "Could not load local playlist file /home/user/.kde4/share/apps/amarok/current.xspf!"
[ERROR__] [DynamicModel] Can not read "/home/user/.kde4/share/apps/amarok/dynamic.xml"

End line:
amarok: END__: void Collections::ScriptableServiceQueryMaker::fetchTracks()

I have tried on newly created account - the same problem. Please, help me! Thank you!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok hangs after start

Thu Apr 21, 2016 10:25 pm
if the program can not use the files in those folders, maybe the permissions are wrong? Please make sure all files in /home/user/.kde4/share/ have user permissions, especially write permissions, as Amarok needs to write files in these folders.
As a second check you should make sure you have all the KDE4 libraries Amarok depends on, I presume you are running Plasma 5.x already.
And last: please make sure you have your database installed correctly, you need an embedded mariadb by default in Gentoo last I can remember.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
grew
Registered Member
Posts
8
Karma
0

Re: Amarok hangs after start

Fri Apr 22, 2016 11:43 am
Mamarok wrote:if the program can not use the files in those folders, maybe the permissions are wrong? Please make sure all files in /home/user/.kde4/share/ have user permissions, especially write permissions, as Amarok needs to write files in these folders.
As a second check you should make sure you have all the KDE4 libraries Amarok depends on, I presume you are running Plasma 5.x already.
And last: please make sure you have your database installed correctly, you need an embedded mariadb by default in Gentoo last I can remember.


Thank you for answer.

1. User has correct rights to .kde4, and all files below, especially .kde4/share/apps/amarok is owned and rwx to the user.
2. I have checked it with:
Code: Select all
$ ldd `which amarok`

And all libraries are available and readable.
2a. Yes, I have Plasma 5.6.3.
3. I have all database files on place: .kde4/share/apps/amarok/mysqle and connected to it successfully starting mysqld as mentioned here: https://community.kde.org/Amarok/Community/MySQL#Migrating_from_MySQL_Embedded_to_MySQL_Server

4. I have tried Amarok on Opensuse. In Gentoo, last debug line (before hang) is:
Code: Select all
amarok: END__: void Collections::ScriptableServiceQueryMaker::fetchTracks() [Took: 0.009s]

and on Opensuse, after it I see:
Code: Select all
QModelIndex(-1,-1,0x0,QObject(0x0) )

Maybe Qt libraries are incompatible? I have versions: 4.8.7 and 5.5.1.


grew, proud to be a member of KDE forums since 2008-Oct.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok hangs after start

Fri Apr 22, 2016 12:22 pm
No, the Qt libraries from 4.8.7 should be perfectly fine. Since you are using Gentoo, could you try the 2.9 beta release (aka 2.8.90)? it is several hundred commits ahead of 2.8.0 and should work much better.

As for your database: Gentoo uses MariaDB since several years now, no need to install MySQL alongside it, if you did the migration back then, there shouldn't be a problem and Amarok works with MariaDB without problems.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]