Version: 2.4.0 (using KDE 4.6.2) OS: Linux This is the same issue I reported as bug 223216 some time ago and which has been closed as fixed. However, unfortunately the problem still appears, or there's a regression. Amarok 2.4.0 will not show any titles in the local music collection, as long as a .my.cnf file is present in my $HOME. Reproducible: Always Steps to Reproduce: Create a .my.cnf file in your $HOME directory and start Amarok. Actual Results: Amarok displays "0" titles in the local collection. Expected Results: Amarok displays all titles in my local collection which it knows about if the .my.cnf file is not present.
BTW, Amarok also seems to lose its collection settings when this happens (or maybe this is an unrelated bug and I'm accidentally mixing them up?) and sets the collection root to my $HOME - which really is no bright idea, given the size of my $HOME directory...
Could you please test with Amarok 2.4.1 beta? There has been a lot of change in the code since 2.4.0
I'd like to, but I'm currently not in a position to compile it from source. Apparently (according to http://www.kubuntu-de.org/nachrichten/software/kde/amarok/amarok-testversion/2065-amarok-2-4-1-beta-1-ringscape-mit-kubuntu-pa) Kubuntu packages for Amarok 2.4.1 should exist, yet I was not able to find them. Natty does only have 2.4.0 (which is the package I'm using right now) and the PPA mentioned in this article does not seem to carry Natty packages...
See here: http://www.kubuntu.org/news/amarok-2.4.1-beta-1 you need to add the kubuntu beta PPA to your repositories as indicated in that news page, I can find it here without problems. The packeges are called amarok* 2:2.4.0.90-0ubuntu2
Thanks for the PPA, I just updated Amarok. Amarok Version 2.4.0.90 Unter KDE 4.6.2 (4.6.2) It still fails, but now gives the following error message: The amarok database reported the following errors: GREPME MySQLe query failed! (0) Unknown database 'XXX' on na In most cases you will need to resolve these errors before Amarok will run properly. (Where XXX is the name of a local database on my system.) Unsurprisingly, if I dismiss the error dialog, I get the same behavior as before: The collection is emtpy.
Ralf, any ideas?
This is an automated message from the triager: Amarok 2.4.1 has been released on May 8 already. Could you please upgrade and test if you can still reproduce this bug? Without feedback within a month we will close this bug as resolved. Thank you for your understanding.
Yes, I can.
Thank you for the fast feedback.
*** Bug 276298 has been marked as a duplicate of this bug. ***
still present in 2.4.3. here's a snippet of the output given by ``amarok --debug`` when this happens: ---- amarok: BEGIN: void CollectionManager::init(const QList<Plugins::PluginFactory*>&) amarok: BEGIN: void CollectionManager::loadPlugins(const QList<Collections::CollectionFactory*>&) amarok: [CollectionManager] initializing "amarok_collection-mysqlecollection" amarok: [ERROR__] Could not connect to mysql! amarok: [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (0) Unknown database 'test' on na" amarok: [MySqlStorage] Initialized thread, count== 1 amarok: BEGIN: bool DatabaseUpdater::update() amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: Database version: 0 amarok: BEGIN: void DatabaseUpdater::createTables() const amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: END__: void DatabaseUpdater::createTables() const [Took: 0.001s] amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: END__: bool DatabaseUpdater::update() [Took: 0.001s] amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL amarok: [ERROR__] [MySqlStorage] Tried to perform query on uninitialized MySQL 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] ---- more ERRORs follow with messages like "Tried to perform {X} on uninitialized MySQL".
Confirmed by another user.
Amarok 2.5.0 is still affected, same message dialog as with 2.4.x.
I can't reproduce this with Amarok 2.6, please upgrade.