liteflow icon indicating copy to clipboard operation
liteflow copied to clipboard

Getting error : cannot schedule new futures after interpreter shutdown

Open amitchavan90 opened this issue 2 years ago • 0 comments

Hi, Thanks for the awesome work. I was trying very basic flow but got an exception as below.

Exception in thread Thread-2: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "/Users/nerdyator/projects/liteflow/venv/lib/python3.9/site-packages/liteflow/core/services/queue_consumer.py", line 39, in execute result = self._thread_pool.submit(self.process_item, item) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/concurrent/futures/thread.py", line 169, in submit raise RuntimeError('cannot schedule new futures after ' RuntimeError: cannot schedule new futures after interpreter shutdown

Any help would be appreciated.

amitchavan90 avatar Oct 20 '23 16:10 amitchavan90