PDA

View Full Version : Cannot clear database on rescan - Linux



skyedog
2007-12-07, 14:06
I've got a similar problem to other threads in that when I try to rescan the music folder with the "clear library and rescan everything" option set, nothing happens - the list remains the same. However, I've not seen any solutions which help.

Scan on the other option ("Look for new or changed music") works OK.

I'm running under Debian, and running Slimserver 6.5.

A debug trace is attached below. I don't run Itunes.

2007-12-07 21:00:10.8649 Backtrace:

frame 0: Slim::Schema::Storage::throw_exception (/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 647)
frame 1: DBIx::Class::Storage::DBI::txn_do (/usr/share/perl5/DBIx/Class/Schema.pm line 729)
frame 2: DBIx::Class::Schema::txn_do (/usr/share/perl5/Slim/Schema/Playlist.pm line 46)
frame 3: (eval) (/usr/share/perl5/Slim/Schema/Playlist.pm line 39)
frame 4: Slim::Schema::Playlist::setTracks (/usr/share/perl5/Slim/Player/Playlist.pm line 757)
frame 5: Slim::Player::Playlist::modifyPlaylistCallback (/usr/share/perl5/Slim/Control/Request.pm line 1645)
frame 6: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1645)
frame 7: Slim::Control::Request::notify (/usr/share/perl5/Slim/Control/Request.pm line 751)
frame 8: Slim::Control::Request::checkNotifications (/usr/sbin/slimserver line 476)
frame 9: main::idle (/usr/sbin/slimserver line 452)
frame 10: main::main (/usr/sbin/slimserver line 1076)

2007-12-07 21:00:10.8651 ERROR: setTracks: Failed to add tracks to playlist: [Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/Slim/Schema/Storage.pm line 74
]

Any ideas?

jeibie
2007-12-08, 09:09
Me too;
I ran into the same problem storing music to playlist folder.
OS is Debian (SID).

Regards
Jeibie