Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

sourcetree installation has failed

image.png


2019-09-06 16:54:44> Program: Starting Squirrel Updater: --install .
2019-09-06 16:54:44> Program: Starting install, writing to C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 16:54:44> Program: About to install to: C:\Users\Administrator\AppData\Local\SourceTree
2019-09-06 16:54:44> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2019-09-06 16:54:44> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2019-09-06 16:54:44> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 16:54:44> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2019-09-06 16:54:45> ApplyReleasesImpl: Writing files to app directory: C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3
2019-09-06 16:54:45> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\Administrator\AppData\Local\SourceTree\SourceTree.exe
2019-09-06 16:54:46> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe]
2019-09-06 16:55:03> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe: System.OperationCanceledException: 已取消该操作。
在 System.Threading.CancellationToken.ThrowOperationCanceledException()
在 Squirrel.Utility.<>c__DisplayClass11_0.<InvokeProcessAsync>b__0()
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass10_0.<<invokePostInstall>b__0>d.MoveNext()
2019-09-06 16:55:03> ApplyReleasesImpl: Starting fixPinnedExecutables
2019-09-06 16:55:03> ApplyReleasesImpl: Examining Pin: eclipse.lnk
2019-09-06 16:55:03> ApplyReleasesImpl: Examining Pin: SQL Server Management Studio.lnk

2019-09-06 16:55:03> ApplyReleasesImpl: Fixing up tray icons
2019-09-06 16:55:03> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3
2019-09-06 16:55:03> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3
2019-09-06 16:55:22> Program: Starting Squirrel Updater: --install .
2019-09-06 16:55:22> Program: Starting install, writing to C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 16:55:22> Program: About to install to: C:\Users\Administrator\AppData\Local\SourceTree
2019-09-06 16:55:22> Program: Install path C:\Users\Administrator\AppData\Local\SourceTree already exists, burning it to the ground
2019-09-06 16:55:23> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2019-09-06 16:55:23> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2019-09-06 16:55:23> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 16:55:23> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2019-09-06 16:55:23> ApplyReleasesImpl: Writing files to app directory: C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3
2019-09-06 16:55:27> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\Administrator\AppData\Local\SourceTree\SourceTree.exe
2019-09-06 16:55:29> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe]
2019-09-06 16:55:45> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe: System.OperationCanceledException: 已取消该操作。
在 System.Threading.CancellationToken.ThrowOperationCanceledException()
在 Squirrel.Utility.<>c__DisplayClass11_0.<InvokeProcessAsync>b__0()
在 System.Threading.Tasks.Task.InnerInvoke()
在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClass10_0.<<invokePostInstall>b__0>d.MoveNext()
2019-09-06 16:55:46> ApplyReleasesImpl: Fixing up tray icons
2019-09-06 16:55:46> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3
2019-09-06 16:55:46> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3
2019-09-06 17:05:30> Program: Starting Squirrel Updater: --install .
2019-09-06 17:05:31> Program: Starting install, writing to C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 17:05:31> Program: About to install to: C:\Users\Administrator\AppData\Local\SourceTree
2019-09-06 17:05:31> Program: Install path C:\Users\Administrator\AppData\Local\SourceTree already exists, burning it to the ground
2019-09-06 17:05:31> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2019-09-06 17:05:31> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2019-09-06 17:05:31> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 17:05:31> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2019-09-06 17:05:31> ApplyReleasesImpl: Writing files to app directory: C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3
2019-09-06 17:05:33> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\Administrator\AppData\Local\SourceTree\SourceTree.exe
2019-09-06 17:05:33> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe]

2019-09-06 17:05:38> ApplyReleasesImpl: Fixing up tray icons
2019-09-06 17:05:38> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3
2019-09-06 17:05:38> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3
2019-09-06 17:10:47> Program: Starting Squirrel Updater: --install .
2019-09-06 17:10:48> Program: Starting install, writing to C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 17:10:48> Program: About to install to: C:\Users\Administrator\AppData\Local\SourceTree
2019-09-06 17:10:48> Program: Install path C:\Users\Administrator\AppData\Local\SourceTree already exists, burning it to the ground
2019-09-06 17:10:49> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2019-09-06 17:10:49> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__2.MoveNext()
2019-09-06 17:10:49> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-06 17:10:49> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2019-09-06 17:10:49> ApplyReleasesImpl: Writing files to app directory: C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3
2019-09-06 17:10:50> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\Administrator\AppData\Local\SourceTree\SourceTree.exe
2019-09-06 17:10:50> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\Administrator\AppData\Local\SourceTree\app-3.1.3\SourceTree.exe]
2019-09-06 17:11:02> ApplyReleasesImpl: Starting fixPinnedExecutables
2019-09-06 17:11:02> ApplyReleasesImpl: Examining Pin: eclipse.lnk
2019-09-06 17:11:02> ApplyReleasesImpl: Examining Pin: SQL Server Management Studio.lnk

2019-09-06 17:11:02> ApplyReleasesImpl: Fixing up tray icons
2019-09-06 17:11:02> ApplyReleasesImpl: cleanDeadVersions: for version 3.1.3
2019-09-06 17:11:02> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-3.1.3
2019-09-25 10:59:45> Program: Starting Squirrel Updater: --install .
2019-09-25 10:59:45> Program: Starting install, writing to C:\Users\Administrator\AppData\Local\SquirrelTemp
2019-09-25 10:59:45> Program: About to install to: C:\Users\Administrator\AppData\Local\SourceTree
2019-09-25 10:59:45> Program: Install path C:\Users\Administrator\AppData\Local\SourceTree already exists, burning it to the ground
2019-09-25 10:59:46> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2019-09-25 10:59:46> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\SourceTree\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 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)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
..................
 

 

1 answer

i'm having the same error. did you solve yours?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,798 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you