temp file gets deleted, handle case
未关闭
还没有人认领这个 Issue。
- #151 来自 @copilot-swe-agent —— 已关闭,未合并
评估
这个 Issue 还没有评估数据。
描述
Logs:
System. TypeInitializationException : The type initializer for
'IntelliTect.Multitool.RepositoryPaths' threw an exception.
System. IO. FileNotFoundException : Could not find file 'C: \U
\IntelliTect.MultiTool.BuildVariables.tmp'.
This exception was originally thrown at this call stack:
Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(string, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, System.IO.FileOptions)
Microsoft.Win32.SafeHandles.SafeFileHandle.Open(string, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, System.IO.FileOptions, long, System.IO.UnixFileMode?)
System.IO.Strategies.OSFileStreamStrategy.OSFileStreamStrategy(string, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, System.IO.FileOptions, long, System.IO.UnixFileMode?)
System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(string, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, System.IO.FileOptions, long, System.IO.UnixFileMode?)
System.IO.StreamReader.ValidateArgsAndOpenPath(string, System.Text.Encoding, int)
System.IO.File.ReadAllLines(string, System.Text.Encoding)
IntelliTect.Multitool.RepositoryPaths.RepositoryPaths()
Possible repro steps:
- Project sat idle for a week or two without any work on it, project remained closed
- various Windows stuff happened that ultimately purged that temp file
- I open the project back up and run the tests, function doesn't work anymore
Investigate if the file isn't there as expected, handling that case.
- 主要语言
- C#
- 星标
- 2
- 派生
- 0
- 平均合并
- 8 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
area:jobads-cv BE mvp P2
难度 2/5 1-3 小时 新手友好度 62/100
klasolsson81/jobbliggaren#2099 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
0 - Backlog Bug
难度 2/5 1-3 小时 新手友好度 62/100
BrighterCommand/Brighter#4581 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
Esri/calcite-dotnet-toolkit#30 · 1 个 reaction ·
-
kind:docs simplification size:S status:todo
难度 2/5 1-3 小时 新手友好度 82/100
elsa-workflows/elsa-foundation#2604 ·
维护者通常 1 天内回复