Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with MyProcessPoolExecutor class #5

Open
zkiihne opened this issue Jun 21, 2021 · 4 comments
Open

Issue with MyProcessPoolExecutor class #5

zkiihne opened this issue Jun 21, 2021 · 4 comments

Comments

@zkiihne
Copy link

zkiihne commented Jun 21, 2021

When I tried to use the Financial Labels notebook(no 5) I was getting the following issue:

object has no attribute '_queue_management_thread_wakeup'

After some poking around the issue is with lines 44 and 46 of utils.py.

The methods that are currently used:

self._queue_management_thread_wakeup.wakeup()
self._start_queue_management_thread()

The its possible the methods that should be used are, but when I did this replacement the threads hang and nothing is returned.

self._executor_manager_thread_wakeup.wakeup()
self._start_executor_manager_thread()

Note: I am running this on windows, with python 3.9 and Cython==0.29.23. The issue could possibly be in the cython version.

@BlackArbsCEO
Copy link

any updates on this? I ran into the same problem.

@jcrangel
Copy link

I had the same problem using python 3.10 and solved it when changed to python 3.8.

@soul44d4
Copy link

I had the same problem using python 3.10 and solved it when changed to python 3.8.

Without changing any code?

@soul44d4
Copy link

I think the issue was linked to the pool excecutor. It was used in 'process_jobs' function to 'execute parallelized jobs'. So it might be ok to change the executor to 'ThreadPoolExecutor' by changing the para 'use_thread' to True without implementing a wrong impact on the final result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants