-
Notifications
You must be signed in to change notification settings - Fork 19
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
Stopping generation because post_gen_project hook script didn't exit successfully Hook script failed (exit status: 1) #9
Comments
thanks for the report! we do have an integration test for vscode that runs fine on linux and windows, so I suspect this might be related to WSL or running Miniconda inside WSL. Do we have any WSL users here who are willing to investigate this further? @sbunzel @SimonCW maybe? |
WSL seems to be available on Github Actions actions/runner-images#50 (comment) |
Hi @LBrummer, thanks for reporting this. We definitely want to improve test coverage for as many combinations as possible, so this is really helpful! I tried replicating this particular issue without success. Could you help me understand your setup a little better @LBrummer:
Thanks! |
Hi @sbunzel , I just retried it in the same environment and it is still not working. However I created a new environment and there everything is worked using standard options and the vscode option. So maybe it was just a weird glitch?
|
are there any actions that we can take to mitigate these kinds of issues or should we close this? maybe add a troubleshooting section to the readme and mention that a fresh WSL and conda env can be helpful? |
Hey @LBrummer, thanks for checking again and reporting back. Glad that it worked out eventually. I tried replicating again this by testing a few different setup options but was not successful. Please let us know if you happen to run into similar problems in the future and we'll investigate this further! @klamann: I think we should close this for now. The most potent general-purpose troubleshooting tip seems to be "install cookiecutter in a fresh conda env" so far. Since that hint is part of #13 already, I would leave it at that for now. Adding WSL as a separate environment for our tests seems useful to me nevertheless. I have created a separate issue for that: #14 |
Hi!
I tried using the template in the bash console in VS Code running in WSL (Ubuntu), but got the following error when execting the commmand cookiecutter https://github.com/at-gmbh/at-python-template:
I retried it with Select editor_setting:None and it worked. So this maybe a VS Code running in WSL problem. Not really very important because it works now but maybe you find the time to fix it or tell me what I did wrong. Thanks!
The text was updated successfully, but these errors were encountered: