joppevos opened a new pull request, #22901:
URL: https://github.com/apache/airflow/pull/22901
Running the new python Breeze environment crashes, if Docker is not running.
This PR will give a descriptive error.
Traceback of the error:
```
File
"/Users/vosjoppe/github/airflow/dev/breeze/src/airflow_breeze/breeze.py", line
707, in shell
enter_shell(
File
"/Users/vosjoppe/github/airflow/dev/breeze/src/airflow_breeze/shell/enter_shell.py",
line 193, in enter_shell
check_docker_version(verbose)
File
"/Users/vosjoppe/github/airflow/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py",
line 181, in check_docker_version
if docker_version_output.returncode == 0:
AttributeError: 'NoneType' object has no attribute 'returncode'
```
<!--
Thank you for contributing! Please make sure that your code changes
are covered with tests. And in case of new features or big changes
remember to adjust the documentation.
Feel free to ping committers for the review!
In case of existing issue, reference it using one of the following:
closes: #ISSUE
related: #ISSUE
How to write a good git commit message:
http://chris.beams.io/posts/git-commit/
-->
---
**^ Add meaningful description above**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]