Mnyb;660073 Wrote: 
> Runned in to a snag with 7.7 rc3
> 
> I was playing music and scanning in a new album simultaneously .
> 
> Scan also crashed
> 
> > 
Code:
--------------------
  >   > 
  > [11-09-27 20:01:06.8534] Slim::Schema::Storage::throw_exception (122) 
Error: DBI Exception: DBD::SQLite::st execute failed: database is locked [for 
Statement "UPDATE track_statistics set playCount=1, lastPlayed=1317145805 where 
url = ?"]
  > [11-09-27 20:01:06.8802] Slim::Schema::Storage::throw_exception (122) 
Backtrace:
  > 
  > frame 0: Slim::Utils::Log::logBacktrace 
(/usr/local/bin/myperl/lib/site_perl/Slim/Schema/Storage.pm line 122)
  > frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
  > frame 2: DBIx::Class::Storage::DBI::__ANON__ 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Storage.pm 
line 757)
  > frame 3: (eval) 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Storage.pm 
line 755)
  > frame 4: Plugins::TrackStat::Storage::savePlayCountAndLastPlayed 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Plugin.pm 
line 4212)
  > frame 5: Plugins::TrackStat::Plugin::markedAsPlayed 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Plugin.pm 
line 4095)
  > frame 6: Plugins::TrackStat::Plugin::stopTimingSong 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Plugin.pm 
line 3788)
  > frame 7: Plugins::TrackStat::Plugin::openCommand 
(/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/Plugin.pm 
line 3915)
  > frame 8: Plugins::TrackStat::Plugin::commandCallback65 
(/usr/local/bin/myperl/lib/site_perl/Slim/Control/Request.pm line 2082)
  > frame 9: (eval) 
(/usr/local/bin/myperl/lib/site_perl/Slim/Control/Request.pm line 2082)
  > frame 10: Slim::Control::Request::notify 
(/usr/local/bin/myperl/lib/site_perl/Slim/Control/Request.pm line 860)
  > frame 11: Slim::Control::Request::checkNotifications 
(/usr/libexec/squeezeboxserver line 676)
  > frame 12: main::idle (/usr/libexec/squeezeboxserver line 645)
  > frame 13: main::main (/usr/libexec/squeezeboxserver line 1158)
  > 
  > [11-09-27 20:01:06.8819] 
Plugins::TrackStat::Storage::savePlayCountAndLastPlayed (761) Database error: 
database is locked
  > while executing:
  > UPDATE track_statistics set playCount=1, lastPlayed=1317145805 where url = ?
  > 
  > 
--------------------
> > 

I've added a bug for this, it's somehow related to how SBS handles the
database locking with SQLite:
http://bugs.slimdevices.com/show_bug.cgi?id=17609


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets'
(http://wiki.slimdevices.com/index.php/User:Erland). If my answer
helped you and you like to encourage future presence on this forum
and/or third party plugin/applet development, 'donations are always
appreciated' (http://erland.isaksson.info/donate))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to