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

[Windows] duty tasks fail without error message #26

Closed
laenan8466 opened this issue May 31, 2024 · 2 comments
Closed

[Windows] duty tasks fail without error message #26

laenan8466 opened this issue May 31, 2024 · 2 comments

Comments

@laenan8466
Copy link
Contributor

Hi - not sure if this is s.th. you want to investigate as everyone hates Windows (sadly have to use sometimes). It is ok to just tell me to screw Windows and move on. :-D

Very brief error description:
After successful setup, make format fails with make: *** [Makefile:28: format] Error 1.

When running pdm run duty format it cancels without error message. When starting debugging on the command, the error raises from the make script here. In the subprocess command I get OSError: [WinError 6] The handle is invalid

I see that tests are passing also in Windows, so this could be s.th. wrong on my system. Do you have any idea?


Another issue is, that make vscode is not working with that error:

'cp' is not recognized as an internal or external command, operable program or batch file.
@pawamoy
Copy link
Owner

pawamoy commented May 31, 2024

Love the first sentence haha.

So, I don't have a machine with The Annoying Operating System installed, but indeed the template from which this project is generated this template is tested against TAOS. Let say the requirement to work on a project generated with this template on TAOS is to at least use a Bash shell, and preferably do so in WSL, where things are less annoying.

Still, when I converted my make script from Bash to Python, it lost the ability to output error messages in some cases. This I should fix absolutely.

Thanks for the report 😄

@laenan8466
Copy link
Contributor Author

Can totally confirm. On TAOS with WSL there are no issues!

Close as "will not fix" on pure TAOS.

@laenan8466 laenan8466 closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants