Open jlu5 opened 8 years ago
hmm... isn't it a bug in CPython?
Submitted to Python's bugtracker. https://bugs.python.org/issue28326
This issue will be fixed on Python 3.6.4: https://github.com/python/cpython/pull/4075
3.6.4 has been released, so I think this can be closed now.
Not quite, https://github.com/python/cpython/pull/4075#issuecomment-392238187
Is this issue solve for python3.5?
File "/home/alexportable/.local/lib/python3.5/multiprocessing/popen_fork.py", line 17, in init sys.stdout.flush() OSError: [Errno 5] Input/output error
No, you need at least Python 3.6.4.
@ProgVal i have upgraded python to 3.6.4, but still get this error. File "/usr/local/lib/python3.6/multiprocessing/popen_fork.py", line 18, in init sys.stdout.flush() OSError: [Errno 5] Input/output error
What does python3 -V
show?
@ProgVal 1.if i just use python3 -V then it shown Python 3.5.2 2.if use python3.6 -V then it shows Python 3.6.4
I am also facing this same while hosting in AWS, Just remove the code sys.stdout.flush() from source file , now its working perfectly. let me know, Is this make any issue in future?
@jothiljose You should use this patch: https://github.com/python/cpython/pull/4075/files but replace except (AttributeError, ValueError):
with except (AttributeError, ValueError, OSError):
Hi! I see the same issue with current limnoria after the parent tmux had died.
The current (running) version of this Limnoria is 2018.09.09, running on Python 3.6.5 (default, Jul 30 2018, 14:52:52) [GCC 7.3.0]. The newest versions available online are 2018.09.09 (in master), 2018.10.14 (in testing)
Will try the linked patch.
Reported by AlexPortable in #limnoria:
Relevant conversation: