Code review comment for lp:~music-app-dev/music-app/use-mediascanner2.0

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Just tested this on my desktop, and when mediascanner-2.0 service isn't running it crashes..

alan@deep-thought:/tmp/use-mediascanner2.0$ qmlscene music-app.qml
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
Debug: Queue: Now has: 0 tracks
Debug: onCountChanged: 0
terminate called after throwing an instance of 'std::runtime_error'
  what(): org.freedesktop.DBus.Error.Spawn.ChildSignaled: Process /usr/lib/x86_64-linux-gnu/mediascanner-2.0/mediascanner-dbus-2.0 received signal 6
Aborted (core dumped)

When mediascanner-2.0 _is_ running, it also crashes but took a little longer and crashed slightly differently.

alan@deep-thought:/tmp/use-mediascanner2.0$ qmlscene music-app.qml
unity::action::ActionManager::ActionManager(QObject*):
 Could not determine application identifier. HUD will not work properly.
 Provide your application identifier in $APP_ID environment variable.
Debug: Queue: Now has: 0 tracks
Debug: onCountChanged: 0
terminate called after throwing an instance of 'std::runtime_error'
  what(): com.canonical.MediaScanner2.Error: database is locked
Aborted (core dumped)

« Back to merge proposal