mielvds opened a new issue #11456:
URL: https://github.com/apache/airflow/issues/11456
I run into an problem with Python 3.8.5, which was originally reported by
@BrainLogic is a closed issue:
Hi Airflow Team,
I tried to run airflow 1.10.10 with Python 3.8.3 (the same for 3.8.0) on
macOs Mojave 10.14.6 as a demon process `airflow webserver -p 8080 -D`
this way does not work:
```
Traceback (most recent call last):
File "/.../airflow/.venv/bin/airflow", line 37, in <module>
args.func(args)
File
"/.../airflow/.venv/lib/python3.8/site-packages/airflow/utils/cli.py", line 75,
in wrapper
return f(*args, **kwargs)
File "/.../airflow/.venv/lib/python3.8/site-packages/airflow/bin/cli.py",
line 966, in webserver
ctx = daemon.DaemonContext(
File "/.../airflow/.venv/lib/python3.8/site-packages/daemon/daemon.py",
line 280, in __init__
detach_process = is_detach_process_context_required()
File "/.../airflow/.venv/lib/python3.8/site-packages/daemon/daemon.py",
line 801, in is_detach_process_context_required
if is_process_started_by_init() or is_process_started_by_superserver():
File "/.../airflow/.venv/lib/python3.8/site-packages/daemon/daemon.py",
line 778, in is_process_started_by_superserver
if is_socket(stdin_fd):
File "/.../airflow/.venv/lib/python3.8/site-packages/daemon/daemon.py",
line 743, in is_socket
file_socket = socket.fromfd(fd, socket.AF_INET, socket.SOCK_RAW)
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/socket.py",
line 544, in fromfd
return socket(family, type, proto, nfd)
File
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/socket.py",
line 231, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 38] Socket operation on non-socket
```
probably, it can be related to https://bugs.python.org/issue39685
_Originally posted by @BrainLogic in
https://github.com/apache/airflow/issues/8674#issuecomment-635489054_
----------------------------------------------------------------
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:
[email protected]