Bug 230916 - Problem scaning collection after upgrade
Summary: Problem scaning collection after upgrade
Status: RESOLVED DOWNSTREAM
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.3.0
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 230971 231239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-16 04:12 UTC by ayllu
Modified: 2010-03-20 19:35 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
output after running amarok --debug and updating the collection (10.87 KB, text/plain)
2010-03-16 17:53 UTC, Joe Zeimen
Details
Full output from running amarok --debug (105.04 KB, text/plain)
2010-03-16 21:16 UTC, Joe Zeimen
Details
Output of amarok --debug (598.99 KB, text/plain)
2010-03-16 21:46 UTC, faiyaza
Details
strace output (75.50 KB, application/octet-stream)
2010-03-16 21:47 UTC, faiyaza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ayllu 2010-03-16 04:12:51 UTC
Version:           2.3.0 (using 4.4.1 (KDE 4.4.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-20-generic

When I upgrade from 2.2 to 2.3 my collection disappear, in the place of local collection says 0 files, so i tried to rescan, and doesn't work, and I quit and load again and dosnt work, so... What can i do, I post the ouput file:

amarok:   BEGIN: virtual bool UmsConnectionAssistant::identify(const QString&) 
amarok:      Device udi:  "/org/freedesktop/Hal/devices/storage_model_DVDRAM_GSA_H42N" 
amarok:      Device name:  "HL-DT-ST - DVDRAM GSA-H42N" 
amarok:     BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const 
amarok:       [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty 
amarok:     END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00013s 
amarok:      Mount point:  "" 
amarok:      vendor:  "HL-DT-ST" , product:  "DVDRAM GSA-H42N" 
amarok:     BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const 
amarok:       [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty 
amarok:     END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00011s 
amarok:   END__: virtual bool UmsConnectionAssistant::identify(const QString&) - Took 0.0016s 
amarok:   BEGIN: virtual bool UmsConnectionAssistant::identify(const QString&) 
amarok:      Device udi:  "/org/freedesktop/Hal/devices/storage_serial_Hitachi_HDS721616PLA380_PVB300Z202KM3F" 
amarok:      Device name:  "ATA - Hitachi HDS72161" 
amarok:     BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const 
amarok:       [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty 
amarok:     END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00012s 
amarok:      Mount point:  "" 
amarok:      vendor:  "ATA" , product:  "Hitachi HDS72161" 
amarok:     BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const 
amarok:       [MediaDeviceCache] Not able to convert to StorageAccess or not accessible, returning empty 
amarok:     END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 0.00011s 
amarok:   END__: virtual bool UmsConnectionAssistant::identify(const QString&) - Took 0.0014s 
amarok:   BEGIN: virtual bool UmsConnectionAssistant::identify(const QString&) 
amarok:      Device udi:  "/org/freedesktop/Hal/devices/volume_uuid_a4b3a91a_d3d6_4e58_9255_3b1276870037" 
amarok:      Device name:  "/" 
amarok:     BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const 
amarok:     END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 8.1e-05s 
amarok:      Mount point:  "/" 
amarok:      vendor:  "" , product:  "Volume (ext3)" 
amarok:     BEGIN: const QString MediaDeviceCache::volumeMountPoint(const QString&) const 
amarok:     END__: const QString MediaDeviceCache::volumeMountPoint(const QString&) const - Took 7.5e-05s 
amarok:   END__: virtual bool UmsConnectionAssistant::identify(const QString&) - Took 0.00051s 
amarok: END__: void MediaDeviceMonitor::checkDevicesFor(ConnectionAssistant*) - Took 0.0078s 
amarok: BEGIN: void DaapCollectionFactory::connectToManualServers() 
amarok:   [DaapCollection] Adding server  "192.168.1.100:3689" 
amarok:   BEGIN: void StatusBar::longMessage(const QString&, StatusBar::MessageType) 
amarok:   END__: void StatusBar::longMessage(const QString&, StatusBar::MessageType) - Took 7.8e-05s 
amarok: END__: void DaapCollectionFactory::connectToManualServers() - Took 0.00088s 
amarok(31366)/libplasma Plasma::ViewPrivate::updateSceneRect: !!!!!!!!!!!!!!!!! setting the scene rect to QRectF(0,0 200x0) associated screen is -1
amarok:  setting applets geom to QRectF(0,0 433x818) 
amarok: BEGIN: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) 
amarok: END__: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00016s 
amarok: BEGIN: virtual void CollectionTreeItemModel::requestCollectionsExpansion() 
amarok: END__: virtual void CollectionTreeItemModel::requestCollectionsExpansion() - Took 0.00011s 
amarok:  [ERROR!] Tried to perform query on uninitialized MySQL 
amarok:  Initialized thread, count== 4 
amarok:  [ERROR!] Tried to perform query on uninitialized MySQL 
amarok: BEGIN: void CurrentEngine::stoppedState() 
amarok:    [ERROR!] Tried to perform escape() on uninitialized MySQL 
amarok: END__: void CurrentEngine::stoppedState() - Took 0.00048s 
amarok:  [ERROR!] Tried to perform query on uninitialized MySQL 
amarok(31366)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///")
amarok(31366)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/felipe/.kde/socket-felipe-desktop/amaroky31366.slave-socket"
amarok: BEGIN: void Playlist::PrettyListView::fixInvisible() 
amarok: END__: void Playlist::PrettyListView::fixInvisible() - Took 0.00017s 
amarok: BEGIN: void ScriptManager::updateAllScripts() 
amarok:   [ScriptManager] ScriptUpdater: Skipping update check 
amarok:   BEGIN: bool ScriptManager::loadScript(const QString&) 
amarok:     [ScriptManager] script info: "Danish Radio Streams"   "0.1"   "Scriptable Service"   "Amarok2.0" 
amarok:   END__: bool ScriptManager::loadScript(const QString&) - Took 0.00061s 
amarok:   BEGIN: bool ScriptManager::loadScript(const QString&) 
amarok:     [ScriptManager] script info: "Free Music Charts"   "1.1.1"   "Scriptable Service"   "Amarok2.0" 
amarok:   END__: bool ScriptManager::loadScript(const QString&) - Took 0.00055s 
amarok:   BEGIN: bool ScriptManager::loadScript(const QString&) 
amarok:     [ScriptManager] script info: "Cool Streams"   "1.0"   "Scriptable Service"   "Amarok2.0" 
amarok:   END__: bool ScriptManager::loadScript(const QString&) - Took 0.00057s 
amarok:   BEGIN: bool ScriptManager::loadScript(const QString&) 
amarok:     [ScriptManager] script info: "Librivox.org"   "1.0"   "Scriptable Service"   "Amarok2.0" 
amarok:   END__: bool ScriptManager::loadScript(const QString&) - Took 0.00054s 
amarok:   BEGIN: bool ScriptManager::loadScript(const QString&) 
amarok:     [ScriptManager] script info: "Amarok Script Console"   "1.0"   "Generic"   "Amarok2.0" 
amarok:   END__: bool ScriptManager::loadScript(const QString&) - Took 0.00058s 
amarok:   BEGIN: bool ScriptManager::loadScript(const QString&) 
amarok:     [ScriptManager] script info: "Lyricwiki"   ".2"   "Lyrics"   "Amarok2.0" 
amarok:   END__: bool ScriptManager::loadScript(const QString&) - Took 0.0006s 
amarok:   BEGIN: void ScriptManager::findScripts() 
amarok:     BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) 
amarok(31366)/kutils (KPluginSelector) KPluginSelector::addPlugins: cfgGroup =  0xbf8e76f0
amarok(31366)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Amarok Script Console"
amarok:     END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.016s 
amarok:     BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) 
amarok(31366)/kutils (KPluginSelector) KPluginSelector::addPlugins: cfgGroup =  0xbf8e76f0
amarok(31366)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "LyricWiki"
amarok:     END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.0053s 
amarok:     BEGIN: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) 
amarok(31366)/kutils (KPluginSelector) KPluginSelector::addPlugins: cfgGroup =  0xbf8e76f0
amarok(31366)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Cool Streams"
amarok(31366)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Danish Radio Streams"
amarok(31366)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Free Music Charts"
amarok(31366)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  0  offers for  "Librivox.org"
amarok:     END__: void ScriptSelector::addScripts(const QList<KPluginInfo>&, KPluginSelector::PluginLoadMethod, const QString&, const QString&, const KSharedPtr<KSharedConfig>&) - Took 0.037s 
amarok:     BEGIN: void ScriptManager::slotConfigChanged(bool) 
amarok:       BEGIN: void ScriptManager::slotConfigChanged(bool) 
amarok:       END__: void ScriptManager::slotConfigChanged(bool) - Took 0.00011s 
amarok:       BEGIN: bool ScriptManager::slotRunScript(QString, bool) 
amarok:         BEGIN: void ScriptManager::startScriptEngine(QString) 
amarok:           BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) 
amarok:           END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00012s 
amarok:           BEGIN: Downloader::Downloader(QScriptEngine*) 
amarok:           END__: Downloader::Downloader(QScriptEngine*) - Took 0.00024s 
amarok:         END__: void ScriptManager::startScriptEngine(QString) - Took 0.0022s 
amarok:         BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) 
amarok:           BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) 
amarok:              initializing scripted service:  "Cool Streams" 
amarok:             BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) 
amarok:             END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0043s 
amarok:             BEGIN: ScriptableService::ScriptableService(const QString&) 
amarok:                creating ScriptableService  "Cool Streams" 
amarok:             END__: ScriptableService::ScriptableService(const QString&) - Took 0.00013s 
amarok:             BEGIN: void ScriptableService::init(int, const QString&, bool) 
amarok:               BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) 
amarok:               END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 6.8e-05s 
amarok:             END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00026s 
amarok:              emitting scripted service  "Cool Streams" 
amarok:             BEGIN: void ServiceBrowser::addService(ServiceBase*) 
amarok:             END__: void ServiceBrowser::addService(ServiceBase*) - Took 0.00014s 
amarok:           END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0053s 
amarok:         END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0057s 
amarok:         BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) 
amarok:         END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 7.2e-05s 
amarok:       END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.013s 
amarok:       BEGIN: bool ScriptManager::slotRunScript(QString, bool) 
amarok:         BEGIN: void ScriptManager::startScriptEngine(QString) 
amarok:           BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) 
amarok:           END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00011s 
amarok:           BEGIN: Downloader::Downloader(QScriptEngine*) 
amarok:           END__: Downloader::Downloader(QScriptEngine*) - Took 9.6e-05s 
amarok:         END__: void ScriptManager::startScriptEngine(QString) - Took 0.0015s 
amarok:          SCRIPT "Danish Radio Streams" :  "creating Danish Radio Streams service..." 
amarok:         BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) 
amarok:           BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) 
amarok:              initializing scripted service:  "Danish Radio Streams" 
amarok:             BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) 
amarok:             END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0043s 
amarok:             BEGIN: ScriptableService::ScriptableService(const QString&) 
amarok:                creating ScriptableService  "Danish Radio Streams" 
amarok:             END__: ScriptableService::ScriptableService(const QString&) - Took 0.00011s 
amarok:             BEGIN: void ScriptableService::init(int, const QString&, bool) 
amarok:               BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) 
amarok:               END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 0.0003s 
amarok:             END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00047s 
amarok:              emitting scripted service  "Danish Radio Streams" 
amarok:             BEGIN: void ServiceBrowser::addService(ServiceBase*) 
amarok:             END__: void ServiceBrowser::addService(ServiceBase*) - Took 0.00013s 
amarok:           END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0054s 
amarok:         END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0056s 
amarok:          SCRIPT "Danish Radio Streams" :  "done." 
amarok:         BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) 
amarok:         END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 6.9e-05s 
amarok:       END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.011s 
amarok:       BEGIN: bool ScriptManager::slotRunScript(QString, bool) 
amarok:         BEGIN: void ScriptManager::startScriptEngine(QString) 
amarok:           BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) 
amarok:           END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 8.8e-05s 
amarok:           BEGIN: Downloader::Downloader(QScriptEngine*) 
amarok:           END__: Downloader::Downloader(QScriptEngine*) - Took 0.0001s 
amarok:         END__: void ScriptManager::startScriptEngine(QString) - Took 0.0012s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.core" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.072s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.xml" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.21s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.network" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.011s 
amarok:          SCRIPT "Free Music Charts" :  "creating fmc service..." 
amarok:         BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) 
amarok:           BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) 
amarok:              initializing scripted service:  "Free Music Charts" 
amarok:             BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) 
amarok:             END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.0042s 
amarok:             BEGIN: ScriptableService::ScriptableService(const QString&) 
amarok:                creating ScriptableService  "Free Music Charts" 
amarok:             END__: ScriptableService::ScriptableService(const QString&) - Took 0.00011s 
amarok:             BEGIN: void ScriptableService::init(int, const QString&, bool) 
amarok:               BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) 
amarok:               END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 6.5e-05s 
amarok:             END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00023s 
amarok:              emitting scripted service  "Free Music Charts" 
amarok:             BEGIN: void ServiceBrowser::addService(ServiceBase*) 
amarok:             END__: void ServiceBrowser::addService(ServiceBase*) - Took 0.00012s 
amarok:           END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.0051s 
amarok:         END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0053s 
amarok:          SCRIPT "Free Music Charts" :  "done creating fmc service!" 
amarok:         BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) 
amarok:         END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 7.1e-05s 
amarok:       END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.3s 
amarok:       BEGIN: bool ScriptManager::slotRunScript(QString, bool) 
amarok:         BEGIN: void ScriptManager::startScriptEngine(QString) 
amarok:           BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) 
amarok:           END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00019s 
amarok:           BEGIN: Downloader::Downloader(QScriptEngine*) 
amarok:           END__: Downloader::Downloader(QScriptEngine*) - Took 9.6e-05s 
amarok:         END__: void ScriptManager::startScriptEngine(QString) - Took 0.0014s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.core" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.033s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.xml" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.0091s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.network" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.01s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.gui" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.066s 
amarok:          SCRIPT "Librivox.org" :  "creating service..." 
amarok:         BEGIN: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) 
amarok:           BEGIN: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) 
amarok:              initializing scripted service:  "Librivox.org" 
amarok:             BEGIN: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) 
amarok:             END__: ServiceBase::ServiceBase(const QString&, ServiceFactory*, bool, const QString&) - Took 0.004s 
amarok:             BEGIN: ScriptableService::ScriptableService(const QString&) 
amarok:                creating ScriptableService  "Librivox.org" 
amarok:             END__: ScriptableService::ScriptableService(const QString&) - Took 0.00011s 
amarok:             BEGIN: void ScriptableService::init(int, const QString&, bool) 
amarok:               BEGIN: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) 
amarok:               END__: ScriptableServiceCollection::ScriptableServiceCollection(const QString&) - Took 6.6e-05s 
amarok:             END__: void ScriptableService::init(int, const QString&, bool) - Took 0.00022s 
amarok:              emitting scripted service  "Librivox.org" 
amarok:             BEGIN: void ServiceBrowser::addService(ServiceBase*) 
amarok:             END__: void ServiceBrowser::addService(ServiceBase*) - Took 0.00012s 
amarok:           END__: bool ScriptableServiceManager::initService(const QString&, int, const QString&, const QString&, bool) - Took 0.005s 
amarok:         END__: static QScriptValue ScriptableServiceScript::ScriptableServiceScript_prototype_ctor(QScriptContext*, QScriptEngine*) - Took 0.0051s 
amarok:          SCRIPT "Librivox.org" :  "done creating service!" 
amarok:         BEGIN: void ScriptableServiceScript::slotCustomize(const QString&) 
amarok:            SCRIPT "Librivox.org" :  "customizing Librivox service" 
amarok:            SCRIPT "Librivox.org" :  "loading icon: /usr/share/kde4/apps/amarok/scripts/librivox_service/LibrivoxIcon.png" 
amarok:           BEGIN: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) 
amarok:              service:  "Librivox.org" 
amarok:           END__: void ScriptableServiceManager::setIcon(const QString&, const QPixmap&) - Took 0.00016s 
amarok:         END__: void ScriptableServiceScript::slotCustomize(const QString&) - Took 0.0023s 
amarok:       END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.14s 
amarok:       BEGIN: bool ScriptManager::slotRunScript(QString, bool) 
amarok:         BEGIN: void ScriptManager::startScriptEngine(QString) 
amarok:           BEGIN: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) 
amarok:           END__: ScriptableServiceScript::ScriptableServiceScript(QScriptEngine*) - Took 0.00011s 
amarok:           BEGIN: Downloader::Downloader(QScriptEngine*) 
amarok:           END__: Downloader::Downloader(QScriptEngine*) - Took 9.5e-05s 
amarok:         END__: void ScriptManager::startScriptEngine(QString) - Took 0.0014s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.core" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.024s 
amarok:         BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) 
amarok:            importing qt bindings  "qt.xml" 
amarok:         END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.009s 
amarok:       END__: bool ScriptManager::slotRunScript(QString, bool) - Took 0.036s 
amarok:     END__: void ScriptManager::slotConfigChanged(bool) - Took 0.5s 
amarok:   END__: void ScriptManager::findScripts() - Took 0.56s 
amarok: END__: void ScriptManager::updateAllScripts() - Took 0.56s 
amarok: BEGIN: void App::checkCollectionScannerVersion() 
amarok: END__: void App::checkCollectionScannerVersion() - Took 0.018s 
amarok: BEGIN: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) 
amarok: END__: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 0.00013s 
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::setClipRegion: Painter not active
QPainter::save: Painter not active
QPainter::translate: Painter not active
QPainter::save: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::end: Painter not active, aborted
amarok: BEGIN: void MainWindow::restoreLayout() 
amarok:   BEGIN: void MainWindow::layoutChanged() 
amarok:     [MainWindow] ignored:  true 
amarok:   END__: void MainWindow::layoutChanged() - Took 0.00011s 
QWidget::setMinimumSize: (Media Sources dock/AmarokDockWidget) Negative sizes (100,-1) are not possible
amarok:   BEGIN: void MainWindow::layoutChanged() 
amarok:     [MainWindow] ignored:  true 
amarok:   END__: void MainWindow::layoutChanged() - Took 0.00015s 
amarok:   BEGIN: void MainWindow::layoutChanged() 
amarok:     [MainWindow] ignored:  true 
amarok:   END__: void MainWindow::layoutChanged() - Took 0.00011s 
amarok:   BEGIN: void MainWindow::layoutChanged() 
amarok:     [MainWindow] ignored:  true 
amarok:   END__: void MainWindow::layoutChanged() - Took 0.00012s 
amarok:   BEGIN: void MainWindow::layoutChanged() 
amarok:     [MainWindow] ignored:  true 
amarok:   END__: void MainWindow::layoutChanged() - Took 0.00011s 
QWidget::setMinimumSize: (Playlist dock/AmarokDockWidget) Negative sizes (264,-1) are not possible
amarok:   BEGIN: void MainWindow::layoutChanged() 
amarok:     [MainWindow] ignored:  true 
amarok:   END__: void MainWindow::layoutChanged() - Took 0.00012s 
amarok: END__: void MainWindow::restoreLayout() - Took 0.0055s 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x8800024
QWidget::setMinimumSize: (Media Sources dock/AmarokDockWidget) Negative sizes (100,-1) are not possible
amarok: BEGIN: void StatusBar::slotLongMessage(const QString&, StatusBar::MessageType) 
amarok:   BEGIN: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, StatusBar::MessageType) 
amarok:   END__: LongMessageWidget::LongMessageWidget(QWidget*, const QString&, StatusBar::MessageType) - Took 0.0059s 
amarok: END__: void StatusBar::slotLongMessage(const QString&, StatusBar::MessageType) - Took 0.0063s 
amarok: BEGIN: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&) 
amarok: END__: void CurrentEngine::resultReady(const QString&, const Meta::AlbumList&) - Took 8.5e-05s 
QWidget::setMinimumSize: (Media Sources dock/AmarokDockWidget) Negative sizes (100,-1) are not possible
amarok: BEGIN: virtual int App::newInstance() 
amarok:   BEGIN: static void App::handleCliArgs() 
amarok:   END__: static void App::handleCliArgs() - Took 0.00017s 
amarok: END__: virtual int App::newInstance() - Took 0.00033s 
amarok: BEGIN: void Playlist::PrettyListView::fixInvisible() 
amarok: END__: void Playlist::PrettyListView::fixInvisible() - Took 0.00018s 
amarok: BEGIN: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) 
amarok: END__: void Albums::dataUpdated(const QString&, const QHash<QString, QVariant>&) - Took 8e-05s 
felipe@felipe-desktop:~$ amarok(31366)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
amarok(31366)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/local/share/mime/magic"
amarok(31366)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/home/felipe/.local/share/mime/magic"
amarok(31366)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///")
Comment 1 Joe Zeimen 2010-03-16 04:52:17 UTC
I am having the same problem. I tell Amarok to rescan my entire collection after seeing nothing in my collection after the upgrade. It takes a while to scan then under local collection where it says how many tracks there are it says "counting." After a few seconds it says 0 tracks and displays nothing under local collection. I'm using Ubuntu 9.10 with a recently upgraded 2.2.2 to 2.3.0 version of Amarok. Having Amarok recreate the ~/.kde/share/amarok/ folder by removing it then running Amarok again give the same results.
Comment 2 Myriam Schweingruber 2010-03-16 12:44:27 UTC
Confirmed by comment #1
Comment 3 Myriam Schweingruber 2010-03-16 15:16:51 UTC
*** Bug 230971 has been marked as a duplicate of this bug. ***
Comment 4 Damien Cassou 2010-03-16 15:50:02 UTC
This bug should probably be classified with a 'Major' severity. It makes Amarok mostly useless for most users who have the bug.
Comment 5 Myriam Schweingruber 2010-03-16 16:04:30 UTC
This is not necessarily a bug in Amaork but a problem with the Kubuntu package, so far no other distribution has reported problems.
Comment 6 Jeff Mitchell 2010-03-16 16:45:17 UTC
What versions of mysql, and are you using the embedded or external database plugins?
Comment 7 Damien Cassou 2010-03-16 17:01:57 UTC
I've haven't touched the configuration of Amarok at all. I guess I'm using an embedded database.

$ aptitude show mysql-common
Package: mysql-common
State: installed
Automatically installed: no
Version: 5.1.37-1ubuntu5.1

$ aptitude show libmysqlclient16
Package: libmysqlclient16
State: installed
Automatically installed: no
Version: 5.1.37-1ubuntu5.1
Comment 8 Jeff Mitchell 2010-03-16 17:08:53 UTC
Was there a mysql upgrade at the same time as the Amarok one? (Just trying to establish a baseline here)
Comment 9 ayllu 2010-03-16 17:10:36 UTC
Paquete: mysql-common
Estado: instalado (insatalled)
Instalado automáticamente: sí (yes)
Versión: 5.1.37-1ubuntu5.1
Prioridad: opcional
Sección: database
Desarrollador: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Tamaño sin comprimir: 164k
Tiene conflictos con: mysql-common-4.1
Reemplaza: mysql-common-4.1
Proporciona: mysql-common-4.1
Descripción: MySQL database common files (e.g. /etc/mysql/my.cnf)
Comment 10 ayllu 2010-03-16 17:11:51 UTC
nop, I just was amarok upgrade, and app installer upgrade
Comment 11 Damien Cassou 2010-03-16 17:14:35 UTC
(In reply to comment #8)
> Was there a mysql upgrade at the same time as the Amarok one? (Just trying to
> establish a baseline here)

No, last mysql update dates from February. (I'm on #amarok IRC channel with the DamienCassou nickname if you want to go faster).
Comment 12 ayllu 2010-03-16 17:18:05 UTC
I a ubuntu gnome user, maybe could be a conflict with gnome.
Comment 13 Damien Cassou 2010-03-16 17:20:43 UTC
(In reply to comment #12)
> I a ubuntu gnome user, maybe could be a conflict with gnome.

I'm also on Ubuntu and Gnome.
Comment 14 Joe Zeimen 2010-03-16 17:40:35 UTC
I have a laptop and netbook, laptop is running Amarok fine and the netbook is the one having issues with the collection. I keep both of the computers almost the same they currently have all the same repositories selected and are up to date they are both running Ubuntu 9.10. I have the same version of mysql-common and libmysqlclient16 (5.1.37-1ubuntu5.1). I just let Amarok handle the database stuff with out changing any of those settings so I believe I am using the same embedded database. What else can I help check between these two computers to see what the difference is on the netbook that is causing these problems?
Comment 15 Joe Zeimen 2010-03-16 17:53:03 UTC
Created attachment 41692 [details]
output after running amarok --debug and updating the collection
Comment 16 Jeff Mitchell 2010-03-16 19:47:37 UTC
Can you try opening up a terminal, running "kbuildsycoca4 --noincremental" and seeing if that helps?
Comment 17 Jeff Mitchell 2010-03-16 19:58:12 UTC
(In reply to comment #15)
> Created an attachment (id=41692) [details]
> output after running amarok --debug and updating the collection

It would be far more useful if you gave me the output from the beginning, not after updating the collection.
Comment 18 ayllu 2010-03-16 20:15:01 UTC
amarok: BEGIN: void SqlCollection::updateTrackUrlsUids(const ChangedTrackUrls&, const QHash<QString, QString>&) 
amarok: END__: void SqlCollection::updateTrackUrlsUids(const ChangedTrackUrls&, const QHash<QString, QString>&) - Took 7.5e-05s 
amarok: BEGIN: virtual XmlParseJob::~XmlParseJob() 
amarok:   BEGIN: void StatusBar::hideProgress() 
amarok:   END__: void StatusBar::hideProgress() - Took 0.00054s 
amarok: END__: virtual XmlParseJob::~XmlParseJob() - Took 0.00085s 
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 
felipe@felipe-desktop:~$ amarok: BEGIN: void ScanManager::startIncrementalScan(const QString&) 
amarok:   BEGIN: void ScanManager::checkTables(bool) 
amarok:   END__: void ScanManager::checkTables(bool) - Took 0.00011s 
amarok:   BEGIN: QStringList ScanManager::getDirsToScan() 
amarok:      [ERROR!] Tried to perform query on uninitialized MySQL 
amarok:   END__: QStringList ScanManager::getDirsToScan() - Took 0.00016s 
amarok:    GOING TO SCAN: 
amarok:   BEGIN: void ScanManager::writeBatchIncrementalInfoFile() 
amarok:   END__: void ScanManager::writeBatchIncrementalInfoFile() - Took 0.00026s 
amarok:    Scanning nothing, return. 
amarok: END__: void ScanManager::startIncrementalScan(const QString&) - Took 0.00094s
Comment 19 Jeff Mitchell 2010-03-16 20:20:38 UTC
Please stop pasting junk.
Comment 20 Joe Zeimen 2010-03-16 21:16:27 UTC
Created attachment 41695 [details]
Full output from running amarok --debug

Here is all of the debugging output since I don't know what exactly you need. line 1180 is where it starts output from when I pressed "Fully Rescan Entire Collection."
Thanks for helping us with this bug!
Comment 21 Joe Zeimen 2010-03-16 21:19:48 UTC
Oh and Jeff, That command in (In reply to comment #16)
> Can you try opening up a terminal, running "kbuildsycoca4 --noincremental" and
> seeing if that helps?

I tried this command and no luck. I'll be watching this bug if you think of anything else I could try. Thanks again for trying to help fix this!
Comment 22 Jeff Mitchell 2010-03-16 21:23:05 UTC
Sure -- but at the moment I have no ideas for you...
Comment 23 faiyaza 2010-03-16 21:46:48 UTC
Created attachment 41697 [details]
Output of amarok --debug

$ strace -o /tmp/amarok.strace.out amarok --debug &> /tmp/amarok.debug.out

Then went to Settings, Scan Entire Collection.
Comment 24 faiyaza 2010-03-16 21:47:38 UTC
Created attachment 41698 [details]
strace output

 strace -o /tmp/amarok.strace.out amarok --debug &> /tmp/amarok.debug.out

Then Settings, Scan Entire Collection.
Comment 25 faiyaza 2010-03-16 21:50:56 UTC
Hi,

It seems like I'm having the same issue as Joe.  I installed amarok 2.3.0 out of ppa on ubuntu 9.10.  The attachments above are the respective outputs from strace + amarok --debug.

I can't seem to find the collection database anywhere.  I created a dummy sqlite db (using directions found here http://amarok.kde.org/wiki/MySQL_HowTo#SQLite_-.3E_MySQL) and still no joy.  I was hoping the strace would yield the right path, but I couldnt find it by back searching for fd3.  

Is it possible the db file just isn't being created.  What would be the path?  I've been looking in ~/.kde/share/apps/amarok/* with no luck.

Thanks in advance and thank you for looking in to this.
Comment 26 Jeff Mitchell 2010-03-16 23:25:49 UTC
You do realize that Amarok 2 doesn't use sqlite, right? I don't know what you're doing with sqlite or what's on that wiki page, but it's certainly not going to result in a collection.

If you're using the embedded database it'll be at ~/.kde/share/apps/amarok/mysqle

What I'd really like at this point is to see if this is limited to Ubuntu users or not. I suspect a bad package. What PPA are you guys all getting this from?
Comment 27 Jeff Mitchell 2010-03-16 23:31:58 UTC
Is there anyone here that is running Kubuntu with KDE, as opposed to Ubuntu with GNOME?

Note that I am asking what distribution you're running, not where you got this specific Amarok package from (which is what I asked above, and which I'd also like to know...) IOW, I want to not only find out where everyone is getting their package but also if this is somehow limited strictly to Ubuntu/GNOME users.
Comment 28 faiyaza 2010-03-16 23:40:32 UTC
(In reply to comment #26)
> You do realize that Amarok 2 doesn't use sqlite, right? I don't know what
> you're doing with sqlite or what's on that wiki page, but it's certainly not
> going to result in a collection.

Clearly not or I wouldn't have asked.  Apologies. 

> > If you're using the embedded database it'll be at
> ~/.kde/share/apps/amarok/mysqle

Since mysqld isn't installed on my box, and the database settings does not have an external mysql server specified (or checked off as it were), yes, it's configured for the embedded database.

> What I'd really like at this point is to see if this is limited to Ubuntu users
> or not. I suspect a bad package. What PPA are you guys all getting this from?

$ dpkg -l | grep amarok
ii  amarok                                     2:2.3.0-0ubuntu1~karmic1~ppa1              easy to use media player based on the KDE 4 
ii  amarok-common                              2:2.3.0-0ubuntu1~karmic1~ppa1              architecture independent files for Amarok
ii  amarok-utils                               2:2.3.0-0ubuntu1~karmic1~ppa1              utilities for Amarok media player

$ dpkg  -s amarok
Package: amarok
Status: install ok installed
Priority: optional
Section: sound
Installed-Size: 21984
Maintainer: Kubuntu Developers <kubuntu-devel@ubuntu.com>
Architecture: i386
Version: 2:2.3.0-0ubuntu1~karmic1~ppa1
Replaces: amarok-kde4
Depends: amarok-common (= 2:2.3.0-0ubuntu1~karmic1~ppa1), amarok-utils (= 2:2.3.0-0ubuntu1~karmic1~ppa1), phonon-backend-xine | phonon-backend, kdebase-runtime (>= 4:4.3.95), kdelibs5 (>= 4:4.4.1), libc6 (>= 2.8), libcurl3-gnutls (>= 7.16.2-1), libgcc1 (>= 1:4.1.1), libgcrypt11 (>= 1.4.2), libglib2.0-0 (>= 2.14.0), libgpod4 (>= 0.7.0), libgtk2.0-0 (>= 2.8.0), liblastfm0, libloudmouth1-0 (>= 1.1.4-2), libmtp8 (>= 0.3.1), libmysqlclient16 (>= 5.1.21-1), libphonon4 (>= 4:4.3.0), libplasma3, libqca2, libqt4-dbus (>= 4:4.5.3), libqt4-network (>= 4:4.5.3), libqt4-script (>= 4:4.5.3), libqt4-sql (>= 4:4.5.3), libqt4-svg (>= 4:4.5.3), libqt4-webkit (>= 4:4.5.3), libqt4-xml (>= 4:4.5.3), libqtcore4 (>= 4:4.6.2-0ubuntu1~karmic1~ppa2), libqtgui4 (>= 4:4.6.2-0ubuntu1~karmic1~ppa2), libstdc++6 (>= 4.4.0), libstreamanalyzer0 (>= 0.7.0), libstreams0 (>= 0.7.0), libtag-extras1 (>= 1.0.1), libtag1c2a (>= 1.6-2~), libxml2 (>= 2.7.4), phonon (>= 4:4.5.2), zlib1g (>= 1:1.1.4), libqtscript4-core, libqtscript4-gui, libqtscript4-network, libqtscript4-xml, libqtscript4-sql, libqtscript4-uitools
Recommends: kdemultimedia-kio-plugins (>= 4:4.2.0), libqt4-sql-sqlite
Suggests: libxine1-ffmpeg, libqt4-sql-mysql, libqt4-sql-psql
Conflicts: amarok-engine-xine (<< 2), amarok-engine-yauap (<< 2), amarok-kde4
Description: easy to use media player based on the KDE 4 technology platform
 Amarok is a powerful music player with an intuitive interface. It makes
 playing the music you love and discovering new music easier than ever before
 and it looks good doing it! Amarok is based on the powerful Qt4 / KDE4
 technology platform and nicely integrates with KDE desktop.
 .
 Much work has been invested into integrating Amarok 2 with various Web
 services:
   - Ampache
   - Jamendo Service
   - Last.fm
   - Librivox
   - MP3tunes
   - Magnatune
   - OPML Podcast Directory
 .
 Amarok comes with a lot of features including but not limited to:
   - Scripts - enhance your Amarok experience with community developed scripts.
   - Dynamic Playlists - create playlists that automatically update.
   - Context View - customize interface with the Plasma powered Context View.
   - PopUp Dropper - simplify drag&drop actions with revolutionary menu system.
   - Multiple Language Translations
   - Collection Management - organizing your music collection has never been
     easier with Amarok's powerful tagging, renaming, and sorting abilities.
   - Database Importing - import collections from Amarok 1.4 or iTunes.
   - Scriptable Services - integrate other web services into Amarok.
Homepage: http://amarok.kde.org
Original-Maintainer: Modestas Vainius <modax@debian.org>

$grep ppa /etc/apt/sources*
deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu karmic main
deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu karmic main

Does that help?  Please let me know if you need anything else.

FYI-~/.kde/share/apps/amarok/mysqle is empty.  Is there a way to manually bootstrap the db?

Thanks a ton and thank you for your patience.
Comment 29 ayllu 2010-03-17 00:23:26 UTC
I look into /home/.../.kde/share/apps/amarok/mysqle, and are two folders, amarok and mysql, seem to be ok. Because there is a lot of files inside mysql/amarok; but maybe could be the mysql configuration file, y look insde my.cnf at /home/.../.kde/share/apps/amarok/ and the file is empty.
Comment 30 ayllu 2010-03-17 00:24:10 UTC
I look into /home/.../.kde/share/apps/amarok/mysqle, and are two folders, amarok and mysql, seem to be ok. Because there is a lot of files inside mysql/amarok; but maybe could be the mysql configuration file, y look insde my.cnf at /home/.../.kde/share/apps/amarok/ and the file is empty. 

I installed amaraok by the same PPA
Comment 31 Martín Fixman 2010-03-17 03:01:46 UTC
I can confirm that the collection works on Amarok 2.3 on Ubuntu 9.10 if you use an external database.
Comment 32 Jeff Mitchell 2010-03-17 04:57:46 UTC
(In reply to comment #31)
> I can confirm that the collection works on Amarok 2.3 on Ubuntu 9.10 if you use
> an external database.

Does it not work for you if you switch to the embedded database?
Comment 33 Jeff Mitchell 2010-03-17 05:00:16 UTC
(In reply to comment #28)
> FYI-~/.kde/share/apps/amarok/mysqle is empty.  Is there a way to manually
> bootstrap the db?

No, there isn't. Do make sure that the user running Amarok has permissions in all of those directories, though.

Martin's comment matches my suspicion that this is some issue with the Kubuntu package and embedded mysql -- I'd be interested in knowing both if he also has problems with embedded mysql, and if you all have problems with external mysql.
Comment 34 Damien Cassou 2010-03-17 09:54:23 UTC
(In reply to comment #33)
> No, there isn't. Do make sure that the user running Amarok has permissions in
> all of those directories, though.


permissions are ok

> I'd be interested in knowing [...] if you all have problems with external mysql.

external MySQL works *fine* for me. If I remove the mysql server and switch back to embedded mysql, the database becomes empty again.
Comment 35 Damien Cassou 2010-03-17 09:57:29 UTC
(In reply to comment #26)
> What I'd really like at this point is to see if this is limited to Ubuntu users
> or not. I suspect a bad package. What PPA are you guys all getting this from?

http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/
Comment 36 Jeff Mitchell 2010-03-17 14:15:47 UTC
I confirmed with Jonathan Riddell of Kubuntu that this is a known problem in the *buntu package. He's updated the news page with that information ( http://www.kubuntu.org/news/amarok-2.3.0 ). Marking as DOWNSTREAM for now.
Comment 37 faiyaza 2010-03-17 18:23:07 UTC
Jeff, thank you so much for taking the time to look in to this and for poking downstream to get to the bottom of it.  I know we all appreciate it.
Comment 38 Jeff Mitchell 2010-03-17 18:28:52 UTC
No problem. Feel free to comment back about progress downstream.

I'd encourage someone to see if there is already an open bug about this (probably) and perhaps link to it from here.
Comment 39 Myriam Schweingruber 2010-03-17 20:20:40 UTC
(In reply to comment #38)
 
> I'd encourage someone to see if there is already an open bug about this
> (probably) and perhaps link to it from here.

There is none I can see so far, I had an eye on that from the start.
Comment 40 Jeff Mitchell 2010-03-17 20:29:28 UTC
(In reply to comment #39)
> (In reply to comment #38)
> 
> > I'd encourage someone to see if there is already an open bug about this
> > (probably) and perhaps link to it from here.
> 
> There is none I can see so far, I had an eye on that from the start.

Hm. OK. I'd encourage someone to open such a bug on Launchpad and then link to it from here  :-)
Comment 41 Jeff Mitchell 2010-03-17 21:08:35 UTC
Can anyone see if installing the below packages fixes things?

libhtml-template-perl (2.9-1)
mysql-server (5.1.41-3ubuntu6)
mysql-server-5.1 (5.1.41-3ubuntu6)
mysql-server-core-5.1 (5.1.41-3ubuntu6)

(No, I don't know where/how to get them  :-)  I just know that they are newer versions than the 5.1.37 some of you have.) This solved things for some people with a different but somewhat related problem.
Comment 42 faiyaza 2010-03-17 21:15:54 UTC
The magic incantation to install the above is

$ sudo apt-get install mysql-server libhtml-template-perl mysql-server-5.1 mysql-server-core-5.1 

And it worked like a charm.  It seems installing mysql-server-5.1 starts up mysqld by default, but it doesn't look like it needs to be running for amarok to add a collection.  I'm removing it from my rc scripts.  Amarok seems pretty happy now.  

Thanks a bunch Jeff!


F
Comment 43 ayllu 2010-03-17 23:42:14 UTC
I fixed; i deleted the folder amarok in /home/.../.kde/share/apps/amarok and when I start again Amarok make a new folder and rescan my collection, and nows works.
Comment 44 Damien Cassou 2010-03-18 08:36:07 UTC
https://bugs.launchpad.net/bugs/540396
Comment 45 Damien Cassou 2010-03-18 08:44:16 UTC
(In reply to comment #42)
> The magic incantation to install the above is
> 
> $ sudo apt-get install mysql-server libhtml-template-perl mysql-server-5.1
> mysql-server-core-5.1 
> 
> And it worked like a charm.  It seems installing mysql-server-5.1 starts up
> mysqld by default, but it doesn't look like it needs to be running for amarok
> to add a collection.  I'm removing it from my rc scripts.  Amarok seems pretty
> happy now.  

I confirm things are working quite well now.
Comment 46 Sven Krohlas 2010-03-18 23:31:59 UTC
*** Bug 231239 has been marked as a duplicate of this bug. ***
Comment 47 Jonathan Riddell 2010-03-19 21:01:40 UTC
I've added the missing dependency on mysql, my appologies for the problem.  Version 2.3.0-0ubuntu1~karmic1~ppa2 should be appearing in the PPA soon
Comment 48 faiyaza 2010-03-19 21:04:24 UTC
(In reply to comment #47)
> I've added the missing dependency on mysql, my appologies for the problem. 
> Version 2.3.0-0ubuntu1~karmic1~ppa2 should be appearing in the PPA soon

Thanks for looking in to it Jonathan!  We all really appreciate your efforts!
Comment 49 Sven Krohlas 2010-03-20 19:35:45 UTC
*** Bug 231441 has been marked as a duplicate of this bug. ***