You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/01/07 14:16:23 UTC
[GitHub] [airflow] potiuk commented on issue #11456: OSError: [Errno 38] Socket operation on non-socket
potiuk commented on issue #11456:
URL: https://github.com/apache/airflow/issues/11456#issuecomment-756142716
The problem is likely with the `python-daemon` version you have installed. The 'python-daemon` 2.2.4 solves this problem (it is Python 3.8 only) and it was released a year ago
Probably you have not installed airflow in recommended way and you have some really old version of this dependency (and probably others as well).
The recommended installation method is here: https://airflow.apache.org/docs/apache-airflow/stable/installation.html#installation
Can you please confirm that? I will add extra limitation to Airflow to require 2.2.4 or above for python 3.8, but in the meantime you can just upgrade python daemon and it should work (but it's best to install airflow according to our recommendations to avoid similar problems).
More info:
According to latest constraints we are using latest `python-daemon` released: 2.2.4: https://github.com/apache/airflow/blob/constraints-2-0/constraints-3.8.txt#L322
The error you are experiencing was fixed in 2.2.4 version:
https://pagure.io/python-daemon/blob/55ea71020486ea299ecbc03aec8e7f9dca2f5a85/f/ChangeLog
```
* Create the socket and catch “non-socket” errors.
Closes: Pagure #34. Thanks to Miro Hrončok for the bug report and
patch.
```
The issue (python 3.8) is described here: https://pagure.io/python-daemon/issue/34
And the fix is here: https://pagure.io/python-daemon/c/b708912
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org