Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: failed to start in Windows Terminal #12

Closed
4 tasks done
Lutra-Fs opened this issue Oct 5, 2023 · 7 comments
Closed
4 tasks done

[Bug]: failed to start in Windows Terminal #12

Lutra-Fs opened this issue Oct 5, 2023 · 7 comments
Labels
bug / 缺陷 Something isn't working help wanted / 需要帮助 Extra attention is needed

Comments

@Lutra-Fs
Copy link

Lutra-Fs commented Oct 5, 2023

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经使用一个干净且无其它非必要的插件的环境测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭/锁定。
  • 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。

March7thAssistant 版本 (或 Commit Id)

1.5.1

重现步骤

打开在 Windows Terminal 执行。
报错。

期望的结果是什么?

正常运行

实际的结果是什么?

[出现错误 2147942402 (0x80070002) (启动“"./March7th Assistant.exe" main”时)]

日志记录

No response

补充说明(可选)

error 2147942402 is a "File not Found" in Windows. So maybe the relative path were not resolved correctly?

@Lutra-Fs Lutra-Fs added the bug / 缺陷 Something isn't working label Oct 5, 2023
@Lutra-Fs Lutra-Fs changed the title [Bug]: [Bug]: cannot start run in Windows Terminal Oct 5, 2023
@Lutra-Fs Lutra-Fs changed the title [Bug]: cannot start run in Windows Terminal [Bug]: cannot start running in Windows Terminal Oct 5, 2023
@moesnow
Copy link
Owner

moesnow commented Oct 5, 2023

Actually, I'm not sure why this error is occurring.
Try opening Windows Terminal with administrator privileges.
Use the 'cd' command to navigate to the folder where 'March7thAssistant' is located.
Then, enter the following commands:

  1. cmd
  2. wt ./"March7th Assistant.exe" main

Does it run successfully?

@moesnow moesnow added the help wanted / 需要帮助 Extra attention is needed label Oct 6, 2023
@Lutra-Fs
Copy link
Author

Lutra-Fs commented Oct 6, 2023

Nope

@Lutra-Fs
Copy link
Author

Lutra-Fs commented Oct 6, 2023

image

@Lutra-Fs
Copy link
Author

Lutra-Fs commented Oct 6, 2023

Dig further, I guess that is the problem microsoft/terminal#15487 . However, Windows Terminal 1.18 has been released with this issue inside.

@Lutra-Fs
Copy link
Author

Lutra-Fs commented Oct 6, 2023

Any chance to implement a workaround like using Windows Powershell to start the exe?

@Lutra-Fs Lutra-Fs changed the title [Bug]: cannot start running in Windows Terminal [Bug]: failed to start in Windows Terminal Oct 6, 2023
@moesnow
Copy link
Owner

moesnow commented Oct 6, 2023

I have changed it to an absolute path.
Please try this: https://github.com/moesnow/March7thAssistant/suites/16954149090/artifacts/968619495

@Lutra-Fs
Copy link
Author

Lutra-Fs commented Oct 7, 2023

I have changed it to an absolute path. Please try this: https://github.com/moesnow/March7thAssistant/suites/16954149090/artifacts/968619495

This one works well

@Lutra-Fs Lutra-Fs closed this as completed Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / 缺陷 Something isn't working help wanted / 需要帮助 Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants