question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CheckForUpdateImpl: Couldn't write out staging user ID

See original GitHub issue
  • Version: 11.15.1
  • Target: Windows 7

Here is the full log -

2017-01-21 00:16:32> Program: Starting Squirrel Updater: --install .
2017-01-21 00:16:34> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-21 00:16:35> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-21 00:16:37> 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\Akash\AppData\Local\zulip\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()
2017-01-21 00:16:37> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-21 00:16:37> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-21 00:16:37> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-21 00:16:38> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.4
2017-01-21 00:16:40> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-21 00:16:40> LogHost: Rigging execution stub for lib/net45/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\app-0.5.4\resources\app.asar.unpacked\node_modules\spawn-rx\vendor\Jobber.exe
2017-01-21 00:16:48> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.4\Zulip.exe]
2017-01-21 00:16:53> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-01-21 00:16:53> ApplyReleasesImpl: Examining Pin: Adobe Photoshop CS5.lnk
2017-01-21 00:16:53> ApplyReleasesImpl: Examining Pin: Mozilla Firefox.lnk
2017-01-21 00:16:53> ApplyReleasesImpl: Examining Pin: VLC media player.lnk
2017-01-21 00:16:53> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2017-01-21 00:16:53> ApplyReleasesImpl: Fixing up tray icons
2017-01-21 00:16:53> ApplyReleasesImpl: cleanDeadVersions: for version 0.5.4
2017-01-21 00:16:53> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.5.4
2017-01-21 00:25:27> Program: Starting Squirrel Updater: --install .
2017-01-21 00:25:27> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-21 00:25:27> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-21 00:25:27> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-21 00:25:29> 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\Akash\AppData\Local\zulip\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()
2017-01-21 00:25:29> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-21 00:25:29> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-21 00:25:29> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-21 00:25:29> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.3
2017-01-21 00:25:30> LogHost: Rigging execution stub for lib/net45/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\app-0.5.3\resources\app.asar.unpacked\node_modules\spawn-rx\vendor\Jobber.exe
2017-01-21 00:25:31> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-21 00:25:39> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.3\Zulip.exe]
2017-01-21 00:25:41> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-01-21 00:25:41> ApplyReleasesImpl: Examining Pin: Adobe Photoshop CS5.lnk
2017-01-21 00:25:41> ApplyReleasesImpl: Examining Pin: Mozilla Firefox.lnk
2017-01-21 00:25:41> ApplyReleasesImpl: Examining Pin: VLC media player.lnk
2017-01-21 00:25:41> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2017-01-21 00:25:41> ApplyReleasesImpl: Fixing up tray icons
2017-01-21 00:25:41> ApplyReleasesImpl: cleanDeadVersions: for version 0.5.3
2017-01-21 00:25:41> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.5.3
2017-01-25 00:16:09> Program: Starting Squirrel Updater: --install .
2017-01-25 00:16:09> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:16:10> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 00:16:10> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 00:16: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\Akash\AppData\Local\zulip\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()
2017-01-25 00:16:13> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 00:16:14> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:16:14> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 00:16:14> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.4
2017-01-25 00:16:16> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-25 00:16:18> LogHost: Rigging execution stub for lib/net45/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\app-0.5.4\resources\app.asar.unpacked\node_modules\spawn-rx\vendor\Jobber.exe
2017-01-25 00:16:28> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.4\Zulip.exe]
2017-01-25 00:16:34> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-01-25 00:16:34> ApplyReleasesImpl: Examining Pin: Adobe Photoshop CS5.lnk
2017-01-25 00:16:35> ApplyReleasesImpl: Examining Pin: Mozilla Firefox.lnk
2017-01-25 00:16:35> ApplyReleasesImpl: Examining Pin: Terminal.lnk
2017-01-25 00:16:35> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2017-01-25 00:16:35> ApplyReleasesImpl: Examining Pin: VLC media player.lnk
2017-01-25 00:16:35> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2017-01-25 00:16:35> ApplyReleasesImpl: Fixing up tray icons
2017-01-25 00:16:35> ApplyReleasesImpl: cleanDeadVersions: for version 0.5.4
2017-01-25 00:16:35> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.5.4
2017-01-25 00:41:08> Program: Starting Squirrel Updater: --install .
2017-01-25 00:41:08> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:41:08> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 00:41:08> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 00:41:10> 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\Akash\AppData\Local\zulip\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()
2017-01-25 00:41:10> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 00:41:10> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:41:10> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 00:41:10> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.5
2017-01-25 00:41:12> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-25 00:41:27> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe]
2017-01-25 00:41:32> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-01-25 00:41:32> ApplyReleasesImpl: Examining Pin: Adobe Photoshop CS5.lnk
2017-01-25 00:41:32> ApplyReleasesImpl: Examining Pin: Mozilla Firefox.lnk
2017-01-25 00:41:32> ApplyReleasesImpl: Examining Pin: Terminal.lnk
2017-01-25 00:41:33> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2017-01-25 00:41:33> ApplyReleasesImpl: Examining Pin: VLC media player.lnk
2017-01-25 00:41:33> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2017-01-25 00:41:33> ApplyReleasesImpl: Fixing up tray icons
2017-01-25 00:41:33> ApplyReleasesImpl: cleanDeadVersions: for version 0.5.5
2017-01-25 00:41:33> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.5.5
2017-01-25 00:51:32> Program: Starting Squirrel Updater: --install .
2017-01-25 00:51:32> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:51:32> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 00:51:32> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 00:51:33> 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\Akash\AppData\Local\zulip\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()
2017-01-25 00:51:33> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 00:51:33> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:51:33> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 00:51:33> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.5
2017-01-25 00:51:37> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-25 00:51:41> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe]
2017-01-25 00:51:45> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-01-25 00:51:45> ApplyReleasesImpl: Examining Pin: Adobe Photoshop CS5.lnk
2017-01-25 00:51:45> ApplyReleasesImpl: Examining Pin: Mozilla Firefox.lnk
2017-01-25 00:51:45> ApplyReleasesImpl: Examining Pin: Terminal.lnk
2017-01-25 00:51:45> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2017-01-25 00:51:45> ApplyReleasesImpl: Examining Pin: VLC media player.lnk
2017-01-25 00:51:45> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2017-01-25 00:51:45> ApplyReleasesImpl: Fixing up tray icons
2017-01-25 00:51:46> ApplyReleasesImpl: cleanDeadVersions: for version 0.5.5
2017-01-25 00:51:46> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.5.5
2017-01-25 00:52:01> InstallHelperImpl: Couldn't write uninstall icon, don't care: System.Net.WebException: The remote name could not be resolved: 'raw.githubusercontent.com'
   at System.Net.HttpWebRequest.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__5.MoveNext()
2017-01-25 00:53:13> Program: Starting Squirrel Updater: --install .
2017-01-25 00:53:13> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:53:13> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 00:53:13> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 00:53:14> 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\Akash\AppData\Local\zulip\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()
2017-01-25 00:53:14> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 00:53:14> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 00:53:14> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 00:53:14> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.5
2017-01-25 00:53:16> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-25 00:53:20> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe]
2017-01-25 00:53:24> ApplyReleasesImpl: Starting fixPinnedExecutables
2017-01-25 00:53:24> ApplyReleasesImpl: Examining Pin: Adobe Photoshop CS5.lnk
2017-01-25 00:53:24> ApplyReleasesImpl: Examining Pin: Mozilla Firefox.lnk
2017-01-25 00:53:24> ApplyReleasesImpl: Examining Pin: Terminal.lnk
2017-01-25 00:53:24> ApplyReleasesImpl: Examining Pin: Visual Studio Code.lnk
2017-01-25 00:53:24> ApplyReleasesImpl: Examining Pin: VLC media player.lnk
2017-01-25 00:53:24> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2017-01-25 00:53:24> ApplyReleasesImpl: Fixing up tray icons
2017-01-25 00:53:24> ApplyReleasesImpl: cleanDeadVersions: for version 0.5.5
2017-01-25 00:53:24> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.5.5
2017-01-25 00:53:38> InstallHelperImpl: Couldn't write uninstall icon, don't care: System.Net.WebException: The remote name could not be resolved: 'raw.githubusercontent.com'
   at System.Net.HttpWebRequest.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__5.MoveNext()
2017-01-25 02:42:11> Program: Starting Squirrel Updater: --install .
2017-01-25 02:42:15> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 02:42:15> Program: RELEASES doesn't exist, creating it at C:\Users\Akash\AppData\Local\SquirrelTemp\RELEASES
2017-01-25 02:42:27> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 02:42:27> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 02:42:38> 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\Akash\AppData\Local\zulip\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()
2017-01-25 02:42:38> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 02:42:39> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 02:42:39> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 02:42:40> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Squirrel.UpdateManager.DownloadReleasesImpl.<>c__DisplayClass2_0.<DownloadReleases>b__3(ReleaseEntry x)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   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__DisplayClass13_0`1.<<ForEachAsync>b__1>d.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.UpdateManager.DownloadReleasesImpl.<DownloadReleases>d__2.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.UpdateManager.<DownloadReleases>d__8.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.UpdateManager.<FullInstall>d__10.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__4.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: There is not enough space on the disk.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)
   at Squirrel.UpdateManager.DownloadReleasesImpl.<>c__DisplayClass2_0.<DownloadReleases>b__3(ReleaseEntry x)
   at Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
   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__DisplayClass13_0`1.<<ForEachAsync>b__1>d.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.UpdateManager.DownloadReleasesImpl.<DownloadReleases>d__2.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.UpdateManager.<DownloadReleases>d__8.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.UpdateManager.<FullInstall>d__10.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__4.MoveNext()<---

2017-01-25 23:26:06> Program: Starting Squirrel Updater: --install .
2017-01-25 23:26:06> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 23:26:08> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 23:26:08> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 23:26: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\Akash\AppData\Local\zulip\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()
2017-01-25 23:26:14> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 23:26:14> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 23:26:16> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 23:26:18> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.5
2017-01-25 23:26:23> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-25 23:26:23> LogHost: Rigging execution stub for lib/net45/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\app-0.5.5\resources\app.asar.unpacked\node_modules\spawn-rx\vendor\Jobber.exe
2017-01-25 23:26:35> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe]
2017-01-25 23:26:36> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.Utility.<InvokeProcessAsync>d__11.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.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass10_0.<<invokePostInstall>b__0>d.MoveNext()
2017-01-25 23:26:36> IEnableLogger: Failed to invoke post-install: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c.<invokePostInstall>b__10_6(ProcessStartInfo info)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__10.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__35.MoveNext()
2017-01-25 23:26:36> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c.<invokePostInstall>b__10_6(ProcessStartInfo info)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__10.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__35.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.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__2.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.UpdateManager.<FullInstall>d__10.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__4.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.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c.<invokePostInstall>b__10_6(ProcessStartInfo info)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__10.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__35.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.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__2.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.UpdateManager.<FullInstall>d__10.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__4.MoveNext()<---

2017-01-25 23:33:56> Program: Starting Squirrel Updater: --install .
2017-01-25 23:33:56> Program: Starting install, writing to C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 23:33:56> Program: About to install to: C:\Users\Akash\AppData\Local\zulip
2017-01-25 23:33:56> Program: Install path C:\Users\Akash\AppData\Local\zulip already exists, burning it to the ground
2017-01-25 23:33:57> 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\Akash\AppData\Local\zulip\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()
2017-01-25 23:33:57> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Akash\AppData\Local\zulip\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__2.MoveNext()
2017-01-25 23:33:57> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Akash\AppData\Local\SquirrelTemp
2017-01-25 23:33:57> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2017-01-25 23:33:57> ApplyReleasesImpl: Writing files to app directory: C:\Users\Akash\AppData\Local\zulip\app-0.5.5
2017-01-25 23:33:59> LogHost: Rigging execution stub for lib/net45/Zulip_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\Zulip.exe
2017-01-25 23:34:00> LogHost: Rigging execution stub for lib/net45/resources/app.asar.unpacked/node_modules/spawn-rx/vendor/jobber/Jobber_ExecutionStub.exe to C:\Users\Akash\AppData\Local\zulip\app-0.5.5\resources\app.asar.unpacked\node_modules\spawn-rx\vendor\Jobber.exe
2017-01-25 23:34:06> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe]
2017-01-25 23:34:06> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\Akash\AppData\Local\zulip\app-0.5.5\Zulip.exe: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.Utility.<InvokeProcessAsync>d__11.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.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass10_0.<<invokePostInstall>b__0>d.MoveNext()
2017-01-25 23:34:06> IEnableLogger: Failed to invoke post-install: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c.<invokePostInstall>b__10_6(ProcessStartInfo info)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__10.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__35.MoveNext()
2017-01-25 23:34:06> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c.<invokePostInstall>b__10_6(ProcessStartInfo info)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__10.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__35.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.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__2.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.UpdateManager.<FullInstall>d__10.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__4.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.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c.<invokePostInstall>b__10_6(ProcessStartInfo info)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__10.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__35.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.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__2.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.UpdateManager.<FullInstall>d__10.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__4.MoveNext()<---

Here is my package.json I’m sure it’s caused by squirrel.windows and I have gone through similar issues (https://github.com/Squirrel/Squirrel.Windows/issues/710, https://github.com/Squirrel/Squirrel.Windows/issues/698 ) as well, still no luck.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
akashnimarecommented, Feb 2, 2017

Just a suggestion - we could change it to -

  • releaseDate The release date.
  • releaseName(Optional) The release name.
  • releaseNotes(Optional) The release notes.
0reactions
akashnimarecommented, Feb 2, 2017

aaaaahkk, I’m stupid. Thanks 😆

Read more comments on GitHub >

github_iconTop Results From Across the Web

Couldn't write out staging user ID · Issue #698 - GitHub
Hello. I've gone through the Getting Started guide and the setup and application works great on my own computer, but whenever I try...
Read more >
Microsoft teams can't start
2019-05-28 10:09:46> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.
Read more >
permissions - SourceTree Installation Fail on Windows 10 ...
SourceTree Installation Fail on Windows 10: "CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta ...
Read more >
Couldn't write out staging user ID - Help
facing issue in installation with below err log “CheckForUpdateImpl: Couldn't write out staging user ID” can anyone pls help me to sort out....
Read more >
Unable to install SourceTree - Atlassian
2017-04-07 15:22:13> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found