Bugzilla – Bug 4056
System scan continually with Moodlogic Enabled
Last modified: 2008-09-15 14:39:24 UTC
System scan upon startup and will be scanning for days. Beging of the log show: I can assure you the library has not changed in at least a week. C:\6.5\server>perl slimserver.pl --d_moodlogic 2006-09-05 20:24:50.7881 MoodLogic: music library has changed! 2006-09-05 20:24:55.8121 MoodLogic: music library has changed! 2006-09-05 20:24:59.6037 About to look for files in D:\My Music 2006-09-05 20:24:59.6054 For files with extensions in: [(?i-xsm:\.(?:ape|wma|shn|wav|wave|mp3|mp2|flc|flac|m4a|mov|m4b|mp4|mp+|mpc|o gg|aif|aiff|lnk|cue)$)] commit ineffective with AutoCommit enabled at C:\6.5\server\CPAN/DBIx/Class/Storage/DBI.pm line 706. Commmit ineffective while AutoCommit is on at C:\6.5\server\CPAN/DBIx/Class/Storage/DBI.pm line 706. DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is on at C:\6.5\server\CPAN/DBIx/Class/Storage/DBI.pm line 706. 2006-09-05 20:25:06.9732 ERROR: DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is on at C:\6.5\server\CPAN/DBIx/ Class/Storage/DBI.pm line 706. 2006-09-05 20:25:06.9776 ERROR: Backtrace follows: 2006-09-05 20:25:06.9894 Backtrace: frame 0: Slim::Schema::throw_exception (C:\6.5\server\CPAN/DBIx/Class/Schema.pm line 606) frame 1: DBIx::Class::Schema::txn_do (C:/6.5/server/scanner.pl line 257) frame 2: (eval) (C:/6.5/server/scanner.pl line 249) frame 3: main::setIsScanning (C:/6.5/server/scanner.pl line 133) frame 4: main::main (C:/6.5/server/scanner.pl line 334) 2006-09-05 20:25:07.0077 About to look for files in D:\My Music 2006-09-05 20:25:07.0103 For files with extensions in: [(?i-xsm:\.(?:ape|wma|shn|wav|wave|mp3|mp2|flc|flac|m4a|mov|m4b|mp4|mp+|mpc|o gg|aif|aiff|lnk|cue)$)]
so, are you saying that with moodlogic disabled, there is no problem?
Correct, No problems with moodlogic disabled in the prefs.
try setting the moodlogic reload interval to 0 or something larger and see if the timing matches it?
With a reload interval=0 there is no problem and a forced scan generated no error or backtrace. With a reload interval=7200 and a library change, there is a backtrace in scanner.pl Currently waiting to see if it loops the scan.
adding Dan to the cc list
Wanted to follow-up. After running about 16 hours, the server is scanning and appears to have been looping all day. Going to try to set the pref back to zero to see if things sort themselves out.
Setting the prefs, to zero stopped the loop however the song, album, and artist counts appear to be wrong. Rescanning now, with pref set to zero. Perhaps the default pref should be zero.
*** Bug 4066 has been marked as a duplicate of this bug. ***
I was the submitter of bug 4066, which was just marked as a dupe of this bug. I wanted to make sure that it wasn't overlooked that it was MusicMagic, and not MoodLogic that was causing the issue in the bug I had submitted. I see that these are similar issues with similar behavior, but I thought it important to point out that it isn't just MoodLogic triggering infinite scans.
dan wrote the code, I'm sure he knows what he's doing.
Fixed in change 9560