Bugzilla – Bug 9037
scanning message isn't removed from web UI when scan has finished
Last modified: 2009-07-31 10:26:31 UTC
change 22376
Created attachment 3742 [details] screenshot of issue http://forums.slimdevices.com/showthread.php?p=326162#post326162 i have added an attachment to show how the scan just stops updating. essentially, it gets a few seconds in, and thats it. the process itself does complete, in my case usually in 30 seconds, and a manual refresh shows this. but if you don't refresh it gives the appearance of being halted forever, (in my case usually at 7 seconds in, altho this SS shows it halted at 3 seconds). why it stops updating in real time right at the end i don't know. but it does, (or did since you seem to have a fix in already).
This has caught me a few times, it is only after I did a "reload current page" in Firefox that I realized the scan had finished. Not a showstopper, but it should be fixed.
I think we're seeing two issues here - one of which I've hopefully fixed today: there's the main screen's status bar, and there's the detailed progress page in Settings/Status. Which one do you see broken in what way?
i haven't checked to see if its in the "main screen." next time i do a clear and rescan i'll check.
Sorry, it was all very clear in my mind. The detail screen (as shown in the attachment) is what has caught me out. Same behavior as described in comment #2.
Hmm... that's the one I haven't fixed, as I had never seen it fail. Will do some testing today.
just FYI, i have never seen it not fail... or at least, thats been the case for several months. i can say that its always in the database optimize step it stops. also, perhaps the bug should be reopened?
change 22455 - applied a few changes to the progress update handler. If you still see this issue (after clearing the cache, full reload etc.), can you tell me whether it's a Default skin only issue, or whether the other skins show the same behaviour?
Verified fix in 7.2-22530
I just downloaded 7.2-22532, installed it over 7.1 and ran a Only Rescan Playlists, only to have the display freeze at Database Cleanup #2 Running 00:00:57 until I did a refresh. Win XP SP3, Firefox 3 .
Hmm... I've never seen that display fail myself. Please make sure you have cleared your browser's cache and fully reloaded the page. And you don't see any JS errors, do you?
OK This time it stopped refreshing at : Database Optimize (0 of ) Running 00:00:06 Same conditions, Only rescan playlists. "And you don't see any JS errors, do you?" I apologize for my ignorance, but what is a JS error and where will I find it ? (I started in computers in the 1960's and a JS error to me is a Job Stream error on an IBM 360!)
JS = JavaScript in this case :-) IE will display a yellow flag bottom left when there's a JS error. Firefox has an error console in its Extras menu (or similar)
OK, this time it froze at : Database Cleanup #2 (0 of ) Running 00:00:54 JS error report : No errors, but lots of warnings. Most about : Warning: Unknown property 'zoom'. Declaration dropped. Source File: http://127.0.0.1:9000/html/ext/resources/css/ext-all.css Line: 171 They keep appearing as I cut and paste into this application, so I don't think they are SC problems. Hope this helps, I will be away for two days.
I'd bet what you're seeing is not the message failing, but your scanner crashing. You should take a look at your log files to see whether it does successfully finish or not.
yes, but also check to see if it shows that it finished after a refresh of the browser. what i see seems to be just a bug in the display not updating, the actual process does finish np, or so i think.
FYI: this bug is NOT fixed yet and should be re-opened. i am using: SqueezeCenter Version: 7.2 - 22618 and it just hung at 9 seconds into DB optimize. after waiting several minutes, i refreshed, and it showed that DB optimize completed at 31 seconds in.
I downloaded SC 7.2 - 22618, fired up a "Only rescan playlists" , clicked Scanning - View Progress, the SC Status Tab screen comes up, Playlist Scan, Merge Various Artists, Database Cleanup #1 and #2 all complete. Database Optimize Running 00:00:07 stays on screen until I either hit refresh or click another tab e.g. Basic Settings, then click Status and then I get the message "SqueezeCenter has finished scanning your music collection.00:06:36" There is nothing in the Scanner Log File, and only hickinbottoms creative English messages in the SC Log File - [08-08-16 08:29:35.0032] Plugins::LazySearch2::Plugin::scanDoneCallback (2034) Lazifying database items not already done [08-08-16 08:30:04.7781] Plugins::LazySearch2::Plugin::lazifyDatabase (2071) No database items require lazification Now, this isn't a showstopper, but unless you are aware of it you can get caught waiting for the scan to finish if you rely on the Status screen.
Need to further investigate :-/
change 22725 - expect this to be fixed in 7.2 release The page stopped updating when it thought the scan had finished. I now changed behaviour to just keep on updating. This also fixes an issue where the page wouldn't have displayed any progress when a new scan had been launched in the background.
FYI: this bug is NOT fixed yet and should be re-opened. i am using: SqueezeCenter Version: 7.2 - 22774 and it just hung at 10 seconds into DB optimize. after waiting several minutes, i refreshed, and it showed that DB optimize completed at 33 seconds in.
It's fixed in an internal branch. Please re-open if it's not working for you in the official 7.2 release (to be expected next week).
Just loaded SC 7.2.0 and tested this with a "Rescan playlists only" and it completed and reported that it completed. Resolved as far as I am concerned.
i am now using a beta of 7.3, and so far it seems fixed. thx!
Verified fixed SqueezeCenter Version: 7.3 - 23300
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC