Bugzilla – Bug 8458
Error message when trying to update SC while scan is running.
Last modified: 2009-07-31 10:23:00 UTC
On Windows Vista, when attempting to install 7.1 (any build) over an existing 7.0.1 install, I get the following error message (see attached). This will happen if the server is running, or has been stopped before the install.
Created attachment 3446 [details] I see errors
What you're trying to do is replace a file which is currently in use. This case only happens if somebody is running a scan while trying to update SC. It's the first time this is reported, though this "bug" has been there forever. Will add some code to kill the scanner during installation if I find some time. Otherwise I'll punt to 7.2.
change 20960 - stop scanner before uninstalling/upgrading SC on Windows
Created attachment 3501 [details] error windows Verified still an error when installing 7.1-21263 over 7.1-21263 when the scanner is still running. I see the attached error dialog in Windows Vista
yet another "works for me" :-(. What exact version are SqueezeTray.exe, squeezecenter.exe and scanner.exe which are running before you install? You can see this information from the file's properties in Windows explorer.
Ah... now I was able to reproduce it too: started two VMs at the same time on the same machine, creating heavy load. The installer than gave up waiting a bit before SC was all shut down. "Retry" worked fine, as meanwhile the process was stopped. Is the machine you're running on lower end or otherwise heavily loaded when you run these tests? change 21273 - increasing the timeout from 60 to 120 seconds.
Michael: yes, I run 3 VM sessions on an Intel Pentium D 2.8GHz system, so yes, this would be the case of a "low" end system :)
While testing I remembered that timing issues in VMware are pretty common (I used to manage >50VMs in my previous job). http://www.vmware.com/pdf/vmware_timekeeping.pdf Timing the installation I indeed noticed that Vista counted down those 60 seconds in about 5 seconds. Thus I wonder whether this is solely due to our testing on VMware. Have you ever seen this on real hardware? Might need to find that 600MHz Pentium nobody wanted ;-). One more thing I'll have to analyze is a potential race condition under load: SC might be shut down before it has handled shutting down the scanner properly.
change 21286 - let's give the scanner a few seconds to be closed before shutting down SC
James - I'm taking this issue off the 7.1 radar as I consider this a minor issue. Doesn't block a 7.1 release. (and won't hold me off leaving for my vacation)
I'll retest it on a "real" Vista box as well. It may just be an issue of a slow system or VMWare lag.
I have not seen the error since change 21286 Marking bug as fixed
This bug has now been fixed in the 7.1 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com 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.
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