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.

Squirrel error about betaId on installation

See original GitHub issue

I keep getting this error on setup:

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\Eli\AppData\Local\atom\packages\.betaId'.

why?


my os is Windows 10 (x32)

the full log: 2017-12-18 23:12:59> Program: Starting Squirrel Updater: --install . 2017-12-18 23:13:00> Program: Starting install, writing to C:\Users\Eli\AppData\Local\SquirrelTemp 2017-12-18 23:13:01> Program: About to install to: C:\Users\Eli\AppData\Local\atom 2017-12-18 23:13:02> 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\Eli\AppData\Local\atom\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-12-18 23:13:02> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\Eli\AppData\Local\atom\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-12-18 23:13:03> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Eli\AppData\Local\SquirrelTemp 2017-12-18 23:13:03> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch 2017-12-18 23:13:08> ApplyReleasesImpl: Writing files to app directory: C:\Users\Eli\AppData\Local\atom\app-1.22.1 2017-12-18 23:13:16> LogHost: Rigging execution stub for atom_ExecutionStub.exe to C:\Users\Eli\AppData\Local\atom\atom.exe 2017-12-18 23:15:14> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Eli\AppData\Local\atom\app-1.22.1\atom.exe] 2017-12-18 23:15:31> ApplyReleasesImpl: Couldn’t run Squirrel hook, continuing: C:\Users\Eli\AppData\Local\atom\app-1.22.1\atom.exe: System.OperationCanceledException: The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() at Squirrel.Utility.<>c__DisplayClass11_0.<InvokeProcessAsync>b__0() 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.<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-12-18 23:15:32> ApplyReleasesImpl: Starting fixPinnedExecutables 2017-12-18 23:15:32> ApplyReleasesImpl: Examining Pin: Command Prompt.lnk 2017-12-18 23:15:32> ApplyReleasesImpl: Examining Pin: File Explorer.lnk 2017-12-18 23:15:32> ApplyReleasesImpl: Examining Pin: Scratch 2.lnk 2017-12-18 23:15:32> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk 2017-12-18 23:15:32> ApplyReleasesImpl: Examining Pin: Windows Media Player.lnk 2017-12-18 23:15:32> ApplyReleasesImpl: Fixing up tray icons 2017-12-18 23:15:32> 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__13_0(RegistryView view) 2017-12-18 23:15:32> 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__13_0(RegistryView view) 2017-12-18 23:15:32> ApplyReleasesImpl: cleanDeadVersions: for version 1.22.1 2017-12-18 23:15:32> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.22.1 2017-12-18 23:19:09> Program: Starting Squirrel Updater: --install . 2017-12-18 23:19:09> Program: Starting install, writing to C:\Users\Eli\AppData\Local\SquirrelTemp 2017-12-18 23:19:09> Program: About to install to: C:\Users\Eli\AppData\Local\GitHubDesktop 2017-12-18 23:19:09> 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\Eli\AppData\Local\GitHubDesktop\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-12-18 23:19:09> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\Eli\AppData\Local\GitHubDesktop\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-12-18 23:19:09> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Eli\AppData\Local\SquirrelTemp 2017-12-18 23:19:09> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch 2017-12-18 23:19:09> ApplyReleasesImpl: Writing files to app directory: C:\Users\Eli\AppData\Local\GitHubDesktop\app-1.0.11 2017-12-18 23:19:29> LogHost: Rigging execution stub for lib/net45/GitHubDesktop_ExecutionStub.exe to C:\Users\Eli\AppData\Local\GitHubDesktop\GitHubDesktop.exe 2017-12-18 23:19:44> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Eli\AppData\Local\GitHubDesktop\app-1.0.11\GitHubDesktop.exe] 2017-12-18 23:19:44> ApplyReleasesImpl: Couldn’t run Squirrel hook, continuing: C:\Users\Eli\AppData\Local\GitHubDesktop\app-1.0.11\GitHubDesktop.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-12-18 23:19:45> 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](IEnumerable1 source, Action1 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__37.MoveNext() 2017-12-18 23:19:45> 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](IEnumerable1 source, Action1 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__37.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](IEnumerable1 source, Action1 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__37.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()<—

explains: it says atom, but it is not.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
shiftkeycommented, Dec 19, 2017
System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform.

@w00kie this is what happens when you try and run the installer on 32-bit Windows. This isn’t currently supported, see #1214 for more context.

0reactions
StinkerB06commented, Apr 7, 2018

You just need to get a 64-bit system.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install teams? - Microsoft Q&A
I am unable to install teams, whenever I try to run the installer a popup ... Program: Starting Squirrel Updater: --install . ......
Read more >
SquirrelSetup error after installing the Windows 10 update
I am running into SquirrelSetup error after installing the Windows 10 update. Here is the start of the error message I get when...
Read more >
Error on installation / Issues / RuneApps forums
Im getting this error when i try to install the app,i was using the ... 2017-10-08 15:17:01> Program: Starting Squirrel Updater: --install ....
Read more >
Installation failed while installing Free Community edition - Help
Error stated: There was an error while installing the application. ... 2019-05-29 15:40:06> ApplyReleasesImpl: Squirrel Enabled Apps: ...
Read more >
Can't Install Compass - Squirrel Update Fails - MongoDB
betaId '. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, ...
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