danielgerlag / danielgerlag/liteflow

Getting error : cannot schedule new futures after interpreter shutdown

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
68
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.