Bug 509815

Summary: Amarok2 no longer builds music collection
Product: [openSUSE] openSUSE 11.1 Reporter: Forgotten User HX13nq4QKy <forgotten_HX13nq4QKy>
Component: KDE4 ApplicationsAssignee: E-mail List <kde-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: alex239, dark.orion, forgotten_HX13nq4QKy, forgotten_zOWss6Gs9u, graham.anderson, johanp, klaas, lydia, martin.schlander, metast, monkey9, opensource, philippniehues, pilotgi, quentin.jackson, raghugs, spam.mich.nicht.zu
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 450318    
Bug Blocks:    

Description Forgotten User HX13nq4QKy 2009-06-04 07:08:13 UTC
Hi,

This issue is happening again with the latest version of amarok (amarok-2.1-13.1), which I installed from the following repository :
http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.1/

After a fresh install of openSUSE 11.1 I added 
'KDE Factory Development (KDE 4.3 Beta 1 + Patches)' repositories for openSUSE 11.1 and updated my system.

After the update finished I tried to run amarok and found out that it didn't
build my collection.
looking at amarok logs reveals the problem:

amarok: BEGIN: ScanManager::ScanManager(SqlCollection*)
amarok:                                          [ERROR!] MySQL library initialization failed.
amarok:                                          [ERROR!] GREPME MySQLe query failed! Can't find messagefile '/usr/share/mysql/english/errmsg.sys'  on  "init"

Installing mysql and mysql-client solved this problem.
I think that if mysql and mysql-client are dependencies for amarok they should
be listed in the 'Requires' field in amarok spec file, which they aren't
(at least not in 2.1-13.1).

Thanks,
  Sagi.

+++ This bug was initially created as a clone of Bug #450318 +++

I've been using amarok2 for the past few months and never ran into this issue until I did a clean install of opensuse 11.1 RC1 yesterday. I removed my ~/.kde4 directory, so all configuration was from scratch.

When I first opened up amarok, the configuration dialog popped up. I went to Collection and added the folder containing all my music. After hitting Apply, the Scanning Music message came up, along with a progress indicator. The indicator reached 100% and disappeared, but no songs appeared in my collection. Rescanning the collection has the same effect and Update Collection does nothing. I can play the songs fine if I open them individually.

When the scan is running, I can see '/usr/bin/amarokcollectionscanner --nocrashhandler -p -r /home/nkoli/Desktop/downloads' under the list of running processes. Also, a lot of messages like the one below appear in the command line, which leads me to believe amarok is really scanning through the songs in the directory.

TagLib: MPEG::Header::parse() -- Invalid sample rate.                                                                                           
TagLib: ID3v2.4 no longer supports the frame type TSIZ.  It will be discarded from the tag.
Comment 1 Stephan Binner 2009-06-04 08:20:19 UTC
Fixed like for Amarok 2.0
Comment 2 Forgotten User HX13nq4QKy 2009-06-04 08:56:20 UTC
(In reply to comment #1)
> Fixed like for Amarok 2.0

Can you please explain ?
I'm using Amarok 2.1-13.1 which I believe is newer than Amarok 2.0.
Comment 3 Forgotten User HX13nq4QKy 2009-06-04 13:48:15 UTC
Reopen due to my last add.
Comment 4 Stephan Binner 2009-06-04 14:19:40 UTC
What do you want to have explained? It's fixed not for the past but for a future newer package to which you have to upgrade once it becomes available (which may take until next week due to KDE 4.3 Beta 2 publishing freeze).
Comment 5 Forgotten User HX13nq4QKy 2009-08-28 09:43:17 UTC
This issue still happens with latest amarok version :

amarok:             BEGIN: MySqlEmbeddedCollection::MySqlEmbeddedCollection(const QString&, const QString&)
amarok:                [ERROR!] MySQL library initialization failed.
amarok:                [ERROR!] GREPME MySQL query failed! Can't find messagefile '/usr/share/mysql/english/errmsg.sys'  on  "init"
amarok:             END__: MySqlEmbeddedCollection::MySqlEmbeddedCollection(const QString&, const QString&) - Took 0.00073s


Amarok Version 2.2-GIT
Using KDE 4.3.00 (KDE 4.3.0) "release 158"
Build Date: Aug 23 2009

I have to install mysql rpms manually in order to be able to use amarok.


Sagi.
Comment 6 Stephan Binner 2009-08-28 09:49:54 UTC
Wait for a newer Amarok package, latest fix to KDE:KDE4:Playground was just applied today (also see bug 528312).