-
Notifications
You must be signed in to change notification settings - Fork 87
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] Anaconda-project appears to lockup if run on an empty directory. #344
Comments
I actually think this is caused by an interactive prompt. I was running it via a subprocess. It hangs while waiting for user input. I think there was other slowness where i was killing to before it finished in the "by hand" testing above. The fix is a feature so we can pass a --no or --yes option to answer this dialog. |
Adding that option seems like a good idea, but waiting for user input should presumably also be preceded by a prompt of some sort. |
Is this solved by #380 ? |
ALL software version info
anaconda-project -v
0.8.3
Description of expected behavior and the observed behavior
Running
anaconda-project run
from a directory having no project causes hanging. Same foranaconda-project list-commands
.E.g. your anaconda-project.yml file
No project file.
Complete, minimal, self-contained example code that reproduces the issue
You can see a stack trace using Ctrl-C if you raise an exception inside: $PREFIX/lib/python3.7/site-packages/anaconda_project/internal/cli/bug_handler.py:36
The text was updated successfully, but these errors were encountered: