startover / pythonfutures

Automatically exported from code.google.com/p/pythonfutures
Other
0 stars 0 forks source link

Exception in thread QueueFeederThread #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Create new executor based on the ProcessPoolExecutor
2. Set max_workers=8
3. Submit two tasks to run
4. wait on all futures

What is the expected output? What do you see instead?

No exceptions, program runs to completion.  Instead seeing an exception, unsure 
of cause (sometimes the program runs fine, other times it doesn't).

Program Output (sporadically hits this):

"Exception in thread QueueFeederThread (most likely raised during interpreter 
shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "/usr/lib/python2.6/threading.py", line 484, in run
  File "/usr/lib/python2.6/multiprocessing/queues.py", line 233, in _feed
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
"

What version of the product are you using? On what operating system?

Ubuntu 11.04
Python 2.6.6

Original issue reported on code.google.com by wolfgang...@gmail.com on 11 Jan 2011 at 1:50

GoogleCodeExporter commented 9 years ago
Should have mentioned, I'm running with

futures-2.1.2

Original comment by wolfgang...@gmail.com on 11 Jan 2011 at 1:54

GoogleCodeExporter commented 9 years ago
Inspected some more, this error still occurs even when explicitly calling the 
".shutdown()" method on the executor instance.  Also occurs using the "with" 
statement.

Original comment by wolfgang...@gmail.com on 12 Jan 2011 at 4:20

GoogleCodeExporter commented 9 years ago
Try 2.1.3 and see if you can still reproduce the problem.

Original comment by Dema...@gmail.com on 25 Aug 2012 at 1:56