Open bkreider opened 2 years ago
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