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

Thread hang with waiter.acquire() in fillQueue #656

Closed
Nitin-Asthana opened this issue Apr 19, 2018 · 1 comment
Closed

Thread hang with waiter.acquire() in fillQueue #656

Nitin-Asthana opened this issue Apr 19, 2018 · 1 comment

Comments

@Nitin-Asthana
Copy link

threshold = deduper.threshold(data, recall_weight=2)
File "C:\Python27\lib\site-packages\dedupe\api.py", line 245, in threshold
return self.thresholdBlocks(blocked_pairs, recall_weight)
File "C:\Python27\lib\site-packages\dedupe\api.py", line 75, in thresholdBlocks
self.num_cores)['score']
File "C:\Python27\lib\site-packages\dedupe\core.py", line 229, in scoreDuplicates
fillQueue(record_pairs_queue, records, n_map_processes)
File "C:\Python27\lib\site-packages\dedupe\core.py", line 263, in fillQueue
queue.put(chunk)
File "C:\Python27\lib\Queue.py", line 126, in put
self.not_full.wait()
File "C:\Python27\lib\threading.py", line 340, in wait
waiter.acquire()

Program gets into Infinite wait/hang in threshold function.

Did anyone encountered same issue? Any help is appreciated.

@fgregg
Copy link
Contributor

fgregg commented Apr 30, 2018

Please provide a short code example that reproduces this problem.

@fgregg fgregg closed this as completed Sep 12, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants