Squirrel.Windows: CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path
Got this isise, the fulllog is here, it is on windows 7:
2016-05-25 20:02:11> Program: Starting Squirrel Updater: --install .
2016-05-25 20:02:12> Program: Starting install, writing to C:\Users\liwenjing.xiaomi\AppData\Local\SquirrelTemp
2016-05-25 20:02:12> Program: About to install to: C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC
2016-05-25 20:02:13> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\packages\.betaId'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2016-05-25 20:02:13> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\packages\RELEASES'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__3f.MoveNext()
2016-05-25 20:02:14> CheckForUpdateImpl: Reading RELEASES file from C:\Users\liwenjing.xiaomi\AppData\Local\SquirrelTemp
2016-05-25 20:02:14> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-05-25 20:02:14> ApplyReleasesImpl: Writing files to app directory: C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136
2016-05-25 20:02:56> ApplyReleasesImpl: Moving file C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\lib\net45\natives_blob.bin to C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\natives_blob.bin
2016-05-25 20:02:56> ApplyReleasesImpl: Moving file C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\lib\net45\node.dll to C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\node.dll
2016-05-25 20:02:56> ApplyReleasesImpl: Moving file C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\lib\net45\snapshot_blob.bin to C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\snapshot_blob.bin
2016-05-25 20:02:56> ApplyReleasesImpl: Moving file C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\lib\net45\squirrel.exe to C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\squirrel.exe
2016-05-25 20:02:56> ApplyReleasesImpl: Moving file C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\lib\net45\ui_resources_200_percent.pak to C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\ui_resources_200_percent.pak
2016-05-25 20:02:56> ApplyReleasesImpl: Moving file C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\lib\net45\xinput1_3.dll to C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\app-0.0.136\xinput1_3.dll
2016-05-25 20:02:57> ApplyReleasesImpl: Squirrel Enabled Apps: []
2016-05-25 20:02:57> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
2016-05-25 20:02:57> ApplyReleasesImpl: Starting fixPinnedExecutables
2016-05-25 20:02:57> ApplyReleasesImpl: Examining Pin: Internet Explorer (2).lnk
2016-05-25 20:02:57> ApplyReleasesImpl: Examining Pin: Internet Explorer (3).lnk
2016-05-25 20:02:57> ApplyReleasesImpl: Examining Pin: Internet Explorer.lnk
2016-05-25 20:02:57> ApplyReleasesImpl: Examining Pin: 猎豹安全浏览器.lnk
2016-05-25 20:02:57> ApplyReleasesImpl: Fixing up tray icons
2016-05-25 20:02:57> ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.NullReferenceException: Object reference not set to an instance of an object.
at Squirrel.UpdateManager.ApplyReleasesImpl.<unshimOurselves>b__ee(RegistryView view)
2016-05-25 20:02:57> ApplyReleasesImpl: Couldn't rewrite shim RegKey, most likely no apps are shimmed: System.NullReferenceException: Object reference not set to an instance of an object.
at Squirrel.UpdateManager.ApplyReleasesImpl.<unshimOurselves>b__ee(RegistryView view)
2016-05-25 20:02:57> ApplyReleasesImpl: cleanDeadVersions: for version 0.0.136
2016-05-25 20:02:57> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.0.136
2016-05-25 20:03:03> InstallHelperImpl: Couldn't write uninstall icon, don't care: System.Net.WebException: Could not find a part of the path 'C:\Users\Dell\git\micloud-pc\app\logo.ico'. ---> System.Net.WebException: Could not find a part of the path 'C:\Users\Dell\git\micloud-pc\app\logo.ico'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Dell\git\micloud-pc\app\logo.ico'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
--- End of inner exception stack trace ---
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- End of inner exception stack trace ---
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.UpdateManager.InstallHelperImpl.<CreateUninstallerRegistryEntry>d__12b.MoveNext()
skAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.<Install>d__38.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.IO.IOException: The process cannot access the file 'C:\Users\liwenjing.xiaomi\AppData\Local\MiCloudPC\packages\MiCloudPC-0.0.136-full.nupkg' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at Squirrel.Utility.<DeleteDirectory>b__34(String file)
at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<<DeleteDirectory>b__35>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<DeleteDirectory>d__3b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Squirrel.Utility.<LogIfThrows>d__4d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Squirrel.Update.Program.<Install>d__38.MoveNext()<---
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 15 (4 by maintainers)
Yes,it appears to look at every electron app on the user’s system and try to find the RELEASES folder of that electron app for some reaosn. That’s why it always is showing things like Figma, Discord, postman etc.
@rollsch Read the bottom of the file to look for errors, not the top 😃