Chris
05/28/2024, 6:56 AMDev Dabke
05/28/2024, 3:06 PMChris
05/28/2024, 3:23 PMasyncio - Exception in callback SubprocessStreamProtocol.pipe_data_recieved(2,...)
Traceback (most recent call last):
File "/usr/local/lib/pyhton3.8/asyncio/events.py", line81 in _run
self._context.run(self._callback, *self.args)
File "/usr/local/lib/pyhton3.8/asyncio/subprocess.py", line 73, in pipe_data_recieved
reader.feed_data(data)
File "/usr/local/lib/pyhton3.8/asyncio/streams.py", line 472, in feed_data
assert not self._eof, 'feed_data after feed_eof'
AssertionError: feed_data after feed_eof
It's important to say that I'm currently running in Debug Mode for investigating the problem, so this new data might be a cause of the debugging process 🤔Dev Dabke
05/28/2024, 3:25 PMif __name__ == "__main__":
flow_fn()
Chris
05/28/2024, 3:26 PMDev Dabke
05/28/2024, 3:27 PMDev Dabke
05/28/2024, 3:27 PMChris
05/28/2024, 3:27 PMChris
05/28/2024, 3:39 PMif __name__ == "__main__":
already (just on another file)
So I'm not sure if it's the problem or how to make it more robust.
Any other ideas?Dev Dabke
05/28/2024, 3:40 PMChris
05/28/2024, 3:42 PMDev Dabke
05/28/2024, 3:44 PMDev Dabke
05/28/2024, 3:44 PMDev Dabke
05/28/2024, 3:44 PMDev Dabke
05/28/2024, 3:45 PMasync
functions?Dev Dabke
05/28/2024, 3:46 PMasync
functions. I haven't used 3.8 in a bit, but I would take a look at:
https://stackoverflow.com/questions/73599594/asyncio-works-in-python-3-10-but-not-in-python-3-8Chris
05/28/2024, 3:48 PMDev Dabke
05/28/2024, 3:51 PMexcept
and not re-raising it? Without seeing the code, it's a bit hard to guess as to why the error is not causing the processes to crash.Dev Dabke
05/28/2024, 3:51 PMChris
05/28/2024, 4:03 PMDev Dabke
05/28/2024, 4:07 PMDev Dabke
05/28/2024, 4:07 PMDev Dabke
05/28/2024, 4:07 PMDev Dabke
05/28/2024, 4:08 PMChris
05/28/2024, 4:11 PMArthur
06/25/2024, 4:39 PMChris
06/26/2024, 7:12 AM