Bug 9037 - scanning message isn't removed from web UI when scan has finished
: scanning message isn't removed from web UI when scan has finished
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.1
: PC Other
: P2 normal with 1 vote (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-05 00:44 UTC by Michael Herger
Modified: 2009-07-31 10:26 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
screenshot of issue (69.17 KB, image/pjpeg)
2008-08-05 10:05 UTC, Mike Walsh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2008-08-05 00:44:15 UTC
 
Comment 1 Michael Herger 2008-08-05 01:44:52 UTC
change 22376
Comment 2 Mike Walsh 2008-08-05 10:05:36 UTC
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).
Comment 3 John Keeling 2008-08-05 14:33:12 UTC
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.
Comment 4 Michael Herger 2008-08-05 14:40:20 UTC
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?
Comment 5 Mike Walsh 2008-08-05 14:47:43 UTC
i haven't checked to see if its in the "main screen."  next time i do a clear and rescan i'll check.
Comment 6 John Keeling 2008-08-05 15:50:37 UTC
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. 
Comment 7 Michael Herger 2008-08-05 22:15:45 UTC
Hmm... that's the one I haven't fixed, as I had never seen it fail. Will do some testing today.
Comment 8 Mike Walsh 2008-08-06 10:55:17 UTC
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?
Comment 9 Michael Herger 2008-08-07 07:09:13 UTC
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?
Comment 10 James Richardson 2008-08-12 15:07:32 UTC
Verified fix in 7.2-22530
Comment 11 John Keeling 2008-08-12 23:03:14 UTC
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 .
Comment 12 Michael Herger 2008-08-12 23:26:51 UTC
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?
Comment 13 John Keeling 2008-08-13 02:44:03 UTC
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!)
Comment 14 Michael Herger 2008-08-13 02:50:29 UTC
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)
Comment 15 John Keeling 2008-08-13 06:04:41 UTC
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.
Comment 16 Michael Herger 2008-08-13 06:40:31 UTC
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.
Comment 17 Mike Walsh 2008-08-14 20:11:42 UTC
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.
Comment 18 Mike Walsh 2008-08-15 13:08:07 UTC
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.
Comment 19 John Keeling 2008-08-15 15:51:31 UTC
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.
Comment 20 Michael Herger 2008-08-16 01:44:09 UTC
Need to further investigate :-/
Comment 21 Michael Herger 2008-08-18 01:23:36 UTC
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.
Comment 22 Mike Walsh 2008-08-21 14:22:11 UTC
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.
Comment 23 Michael Herger 2008-08-21 22:37:51 UTC
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).
Comment 24 John Keeling 2008-08-28 21:32:19 UTC
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.
Comment 25 Mike Walsh 2008-09-10 15:48:04 UTC
i am now using a beta of 7.3, and so far it seems fixed.

thx!
Comment 26 James Richardson 2008-09-26 12:26:23 UTC
Verified fixed SqueezeCenter Version: 7.3 - 23300
Comment 27 James Richardson 2008-12-15 12:35:23 UTC
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.
Comment 28 Chris Owens 2009-07-31 10:26:31 UTC
Reduce number of active targets for SC