sourcetree installation has failed

z_xy5566 2018-08-12 12:00:48

点击之后会出现个文件squirrelSetup.log的文件(好像是txt文件,他是记事本打开的)。里面一堆英文。。。(就是下面这对东西,因为不会上传文件,就截取了一大部分,要不不够打字了。。。。
[code=txt]2018-08-11 09:55:58> Program: Starting Squirrel Updater: --install .
2018-08-11 09:55:59> Program: Starting install, writing to C:\Users\asus\AppData\Local\SquirrelTemp
2018-08-11 09:55:59> Program: About to install to: C:\Users\asus\AppData\Local\SourceTree
2018-08-11 09:56:00> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\asus\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()
2018-08-11 09:56:00> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\asus\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()
2018-08-11 09:56:00> CheckForUpdateImpl: Reading RELEASES file from C:\Users\asus\AppData\Local\SquirrelTemp
2018-08-11 09:56:00> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2018-08-11 09:56:01> ApplyReleasesImpl: Writing files to app directory: C:\Users\asus\AppData\Local\SourceTree\app-2.6.10
2018-08-11 09:56:21> LogHost: Rigging execution stub for SourceTree_ExecutionStub.exe to C:\Users\asus\AppData\Local\SourceTree\SourceTree.exe
2018-08-11 09:56:31> ApplyReleasesImpl: Squirrel Enabled Apps: []
2018-08-11 09:56:31> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
2018-08-11 09:56:31> ApplyReleasesImpl: Starting fixPinnedExecutables
2018-08-11 09:56:31> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2018-08-11 09:56:32> ApplyReleasesImpl: Examining Pin: QQ浏览器.lnk
2018-08-11 09:56:32> ApplyReleasesImpl: Examining Pin: QQ音乐.lnk
2018-08-11 09:56:32> ApplyReleasesImpl: Examining Pin: 微信.lnk
2018-08-11 09:56:32> ApplyReleasesImpl: Examining Pin: 腾讯QQ.lnk
2018-08-11 09:56:32> ApplyReleasesImpl: Examining Pin: 腾讯视频.lnk
2018-08-11 09:56:32> ApplyReleasesImpl: Fixing up tray icons
2018-08-11 09:56:32> ApplyReleasesImpl: cleanDeadVersions: for version 2.6.10
2018-08-11 09:56:32> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-2.6.10
es.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<LogIfThrows>d__42.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 Squirrel.Update.Program.<Install>d__4.MoveNext()
--- 内部异常堆栈跟踪的结尾 ---
在 System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
在 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
在 System.Threading.Tasks.Task.Wait()
在 Squirrel.Update.Program.executeCommandLine(String[] args)
在 Squirrel.Update.Program.main(String[] args)
---> (内部异常 #0) System.IO.IOException: 文件“C:\Users\asus\AppData\Local\SourceTree\app-2.6.10\System.Net.Http.dll”正由另一进程使用,因此该进程无法访问此文件。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.File.InternalDelete(String path, Boolean checkHost)
在 System.IO.File.Delete(String path)
在 Squirrel.Utility.<>c.<DeleteDirectory>b__19_0(String file)
在 Squirrel.Utility.<>c__DisplayClass12_1`1.<ForEachAsync>b__1()
在 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.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<>c.<<DeleteDirectory>b__19_1>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<>c__DisplayClass13_0`1.<<ForEachAsync>b__1>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<DeleteDirectory>d__19.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Squirrel.Utility.<LogIfThrows>d__42.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
i[/code]

而且为什么我的安装界面和别人的不一样,别人左边都有好几个条目,我就3个
http://images2017.cnblogs.com/blog/1135985/201801/1135985-20180104130310737-2100428098.png
...全文
2255 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
不上曲朝 2021-07-26
  • 打赏
  • 举报
回复

我删了C:\Users\asus\AppData\Local\SourceTree\packages\下的squirrelTemp文件夹就行了

z_xy5566 2019-12-04
  • 打赏
  • 举报
回复
楼主不会,你们另寻高明吧
  • 打赏
  • 举报
回复
楼主不给解决办法的吗?
云芬芬 2019-05-06
  • 打赏
  • 举报
回复
楼主这个问题怎么解决的啊,求解
cwalk_xg 2019-03-30
  • 打赏
  • 举报
回复
请问怎么解决的呀,遇到同样问题了
Hannah_zh 2019-02-21
  • 打赏
  • 举报
回复
错误和楼主一模一样,求解决办法,谢谢
cinderstal 2018-10-22
  • 打赏
  • 举报
回复 1
楼主解决这个问题了吗。遇到了相同的问题了,解决了的话可以告诉一下吗,谢谢
ixinshou 2018-09-09
  • 打赏
  • 举报
回复
怎么解决的呀
z_xy5566 2018-08-12
  • 打赏
  • 举报
回复
忘了说一句 谢谢大佬

2,100

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧