Version: recent SVN (using Devel) Compiler: gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291] OS: Linux Installed from: Compiled sources After a complete and fresh compile from the current SVN sources and cleanup of .kde4/share/apps resp. config, amarok will not build any collection database. 1. Started amarok 2. Set up amarok to use which directory for collection, activated autoscan, recursive scan 3. Scan happened, no items in collection 4. After several retries, started amarok in debug mode, oops: amarok did not have any initialized mysql collection (see attached trace)
Created attachment 35157 [details] Console output of amarok --debug
Quoting from the konsole output: amarok: Checking for batch file in "/home/marcusschneider/.kde4/share/apps/amarok/amarokcollectionscanner_batchfullscan.xml" amarok: GOING TO SCAN: amarok: BEGIN: QStringList MountPointManager::collectionFolders() amarok: END__: QStringList MountPointManager::collectionFolders() - Took 0.00025s amarok: "/home/marcusschneider/downloadedMusic" amarok: BEGIN: QStringList MountPointManager::collectionFolders() amarok: END__: QStringList MountPointManager::collectionFolders() - Took 0.00021s amarok: END__: void ScanManager::startFullScan() - Took 0.013s amarok: END__: void CollectionSetup::writeConfig() - Took 0.016s amarok: BEGIN: void App::applySettings(bool) amarok: BEGIN: void Amarok::OSD::applySettings() amarok: END__: void Amarok::OSD::applySettings() - Took 0.00049s amarok: BEGIN: void MainWindow::hideContextView(bool) amarok: END__: void MainWindow::hideContextView(bool) - Took 0.00017s amarok: END__: void App::applySettings(bool) - Took 0.002s amarok: BEGIN: virtual OSDWidget::~OSDWidget() amarok: END__: virtual OSDWidget::~OSDWidget() - Took 0.0006s amarok: BEGIN: void DatabaseUpdater::createTemporaryTables() amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: END__: void DatabaseUpdater::createTemporaryTables() - Took 0.001s amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform query on uninitialized MySQL amarok: [ERROR!] Tried to perform escape() on uninitialized MySQL This very much looks like you have a problem with your MySQL database. How did you install it, what version of MySQL are you using? Please check this page on our wiki: http://amarok.kde.org/wiki/Development/MySQL_Embedded it will tell you how to start the MySQL server which seems not to have started for you.
(In reply to comment #2) [...] > This very much looks like you have a problem with your MySQL database. How did > you install it, what version of MySQL are you using? Please check this page on > our wiki: > > http://amarok.kde.org/wiki/Development/MySQL_Embedded > > it will tell you how to start the MySQL server which seems not to have started > for you. Yes - MySQL as distributed by openSUSE 11.1 does not work for compiling amarok. I had to remove the libmysqlclient16 and libmysqld-devel packages and build mysql myself according to amarok wiki.