Sourcetree for Windows 10 does not start
Asked by Rahul Bansal:

Error log:

2021-02-11 02:35:38\> Program: Starting Squirrel Updater: --install .  
2021-02-11 02:35:38\> Program: Starting install, writing to C:\\Users\\HP\\AppData\\Local\\SquirrelTemp  
2021-02-11 02:35:38\> Program: About to install to: C:\\Users\\HP\\AppData\\Local\\SourceTree  
2021-02-11 02:35: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\\HP\\AppData\\Local\\SourceTree\\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()  
2021-02-11 02:35:38\> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\\Users\\HP\\AppData\\Local\\SourceTree\\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()  
2021-02-11 02:35:38\> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\HP\\AppData\\Local\\SquirrelTemp  
2021-02-11 02:35:38\> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch  
2021-02-11 02:35:38\> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\HP\\AppData\\Local\\SourceTree\\app-3.4.2  
2021-02-11 02:35:48\> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\\Users\\HP\\AppData\\Local\\SourceTree\\SourceTree.exe  
2021-02-11 02:35:51\> ApplyReleasesImpl: Squirrel Enabled Apps: \[C:\\Users\\HP\\AppData\\Local\\SourceTree\\app-3.4.2\\SourceTree.exe\]  
2021-02-11 02:35:55\> ApplyReleasesImpl: Starting fixPinnedExecutables  
2021-02-11 02:35:55\> ApplyReleasesImpl: Examining Pin: File Explorer.lnk  
2021-02-11 02:35:55\> ApplyReleasesImpl: Examining Pin: Google Chrome.lnk  
2021-02-11 02:35:55\> ApplyReleasesImpl: Examining Pin: Microsoft Edge.lnk  
2021-02-11 02:35:55\> ApplyReleasesImpl: Fixing up tray icons  
2021-02-11 02:35:55\> ApplyReleasesImpl: cleanDeadVersions: for version 3.4.2  
2021-02-11 02:35:55\> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.4.2


Answers:
author: David W Stringfellow
body: I"ve spent the past 6 hours on two different Win 10 machines trying to install a SINGLE working version of SourceTree. I can't get one of them to work. I might go with Gitlab.

comments: author: David W Stringfellow
body: ![2021-02-11_1-49-28.png](https://community.atlassian.com/t5/image/serverpage/image-id/129896i8228E0339F5C642F/image-size/large?v=v2&px=999 "2021-02-11_1-49-28.png")