SDchao / AutoVsCEnv_WPF

Simple Tool to configure C/C++ in VScode automatically
https://www.bilibili.com/video/av52434248
Eclipse Public License 2.0
546 stars 90 forks source link

[BUG] 配置环境失败 #116

Open Postlude-cc opened 3 years ago

Postlude-cc commented 3 years ago

注意事项

请核对以下信息:

这是我在运行期间遇到的错误弹窗内容

未能找到路径“C:\Users\17287\Desktop\vscode.vscode\launch.json”的一部分。 在 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.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) 在 System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost) 在 System.IO.File.ReadAllText(String path) 在 AutoVsCEnv_WPF.Operators.Installer.StartInstall() 位置 D:\Projects\WPF\AutoVsCEnv_WPF\AutoVsCEnv_WPF\Operators\Installer.cs:行号 83 在 AutoVsCEnv_WPF.Forms.Installing.StartInstall(Object sender, DoWorkEventArgs args) 位置 D:\Projects\WPF\AutoVsCEnv_WPF\AutoVsCEnv_WPF\Forms\Installing.xaml.cs:行号 47

这是我当时正在进行的操作

我认为弹窗不能描述我的问题,附上日志

杂项日志 debug.log

【请用文本编辑器打开log文件并将内容粘贴到此处】

02:20:18[INFO] Start install 02:20:18[INFO] GccPath: C:\Users\17287\Desktop\vscode 02:20:18[INFO] projectPath: C:\Users\17287\Desktop\vscode 02:20:18[INFO] Found Gcc: True 02:20:18[INFO] Found code: 02:20:19[INFO] Created Download Link: https://vip.d0.baidupan.com/file/?CW9SbAw9ADFWXwszCj8AbFdoADhSQFY9UjsERVNYBCsHMAAtWyAOPAc4VmwLOgFfBjVVNARmCzgBMlVgVD5XYQk5UjcMZgByVmYLLgpjADdXNAA9UjRWZ1JjBDJTOgQjB3cAJ1s7DmgHYVYxC2YBLwZtVWEEdAs7ATVVfFQ4VzAJbVIwDGUAY1Y0Cz4KPwA5VzwAZ1I9VmVSMARkUzkENQczADNbYg48B2NWZQtvAWQGbFVhBGILaAFgVWFUJldhCXNSIwwkACdWZQsvCjcAZVcwADZSPVZsUmMEMVM9BCMHcwA+W2sOPwc3Vj0LbgE2Bm5VYgRtCzgBM1VrVDpXZwknUisMdwAyVmwLKgpjADBXOwA3Uj9WYlJkBDFTNgQ0Bz4AcVtzDioHJlY9C24BNQZrVWQEbwsxAT5Va1Q6V2YJL1JwDDgAJFY9C2wKbwAzVyMAN1I/VmBSewQ1UzsEKwc2AGNbNQ== 02:21:05[INFO] Launch File Path: C:\Users\17287\Desktop\vscode.vscode\launch.json 02:21:52[INFO] Start install 02:21:52[INFO] GccPath: C:\Windows\VSCODE 02:21:52[INFO] projectPath: C:\Users\17287\Desktop\vscode 02:21:52[INFO] Found Gcc: True 02:21:52[INFO] Found code: 02:21:56[INFO] Launch File Path: C:\Users\17287\Desktop\vscode.vscode\launch.json

解压日志 Extract.log

【请用文本编辑器打开log文件并将内容粘贴到此处】 02:21:01[INFO] 02:21:01[INFO] 02:21:05[INFO] 02:21:05[INFO] 02:21:52[INFO] 02:21:52[INFO] 02:21:52[INFO] 02:21:56[INFO] 02:21:56[INFO]

下载日志 aria2.log

2021-06-02 14:20:19.343399 [NOTICE] [Context.cc:311] Downloading 1 item(s) 2021-06-02 14:20:19.694487 [NOTICE] [HttpResponse.cc:169] CUID#7 - Redirecting to https://developer82.baidupan.com/060214bb/2019/11/23/0fd5474ca81b01ef604ddf2e0d019af2.7z?st=tIAjaFmdEuaG0_57yHsCkQ&e=1622616821&b=UU5bMgZoWBpXVQd_aBmEEeg_c_c&fi=14367027&pid=112-224-74-143&up=2 2021-06-02 14:20:20.041179 [NOTICE] [SingleFileAllocationIterator.cc:77] Allocating disk space. Use --file-allocation=none to disable it. See --file-allocation option in man page for more details. 2021-06-02 14:21:00.961108 [NOTICE] [RequestGroup.cc:1216] Download complete: data/MinGW.7z