Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,847
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events