[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"
gjwebber added the comment: Damn, this was my screw up. It was a combination of two things that threw me off: 1. I was running my (saved) code un-gaurded, but was getting the same error as with the example code. I thought the problem was elsewhere. 2. As it was just example code, I was copy-pasting it into my IDE and running it. This caused the slightly weird looking Traceback that Richard Oudkerk pointed out and the same error message. After saving and running the standard example, everything worked as expected. After this, I added the 'main' guard to my code and that fixed the problem there. Sorry about that, looks like there's no problem after all. Tested at home on Win 7 and on my works machine (XP Pro). Regards, Gareth -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue17674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"
gjwebber added the comment: Just ran the example code linked here again for my own sanity: http://docs.python.org/dev/library/concurrent.futures.html#processpoolexecutor-example Exactly the same thing happened. Here is the Traceback: Traceback (most recent call last): File "", line 420, in run_nodebug File "", line 28, in File "", line 24, in main File "C:\Python33\lib\concurrent\futures\_base.py", line 546, in result_iterator yield future.result() File "C:\Python33\lib\concurrent\futures\_base.py", line 399, in result return self.__get_result() File "C:\Python33\lib\concurrent\futures\_base.py", line 351, in __get_result raise self._exception concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. -- ___ Python tracker <http://bugs.python.org/issue17674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"
gjwebber added the comment: As mentioned in the previously linked post, I copy-pasted the example code shown here: http://docs.python.org/dev/library/concurrent.futures.html#processpoolexecutor-example Which resulted in exactly the same error as the 'more simple' example I provided. There is no mention of anything Windows specific on the documentation page, or any hints as to why this may not be working. -- ___ Python tracker <http://bugs.python.org/issue17674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"
gjwebber added the comment: Forgot to mention, the posted code works for another SO user on Debian and OS X. -- ___ Python tracker <http://bugs.python.org/issue17674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17674] All examples for concurrent.futures fail with "BrokenProcessPool"
New submission from gjwebber: Running on Windows XP 32-bit. Uninstalled Python 2.7, installed Python 3.3. I asked a question on stack overflow, detailing the problem and supplying example code and Traceback here: http://stackoverflow.com/questions/15900366/all-example-concurrent-futures-code-is-failing-with-brokenprocesspool More info on request if required. -- components: Library (Lib), Windows messages: 186397 nosy: gjwebber priority: normal severity: normal status: open title: All examples for concurrent.futures fail with "BrokenProcessPool" type: crash versions: Python 3.3 ___ Python tracker <http://bugs.python.org/issue17674> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com