[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread drallensmith
drallensmith added the comment: pdb is not currently working for debugging a subprocess. I suspect I will need to put "import pdb" and "pdb.set_trace()" into managers.py. BTW, a thank-you to berker.peksag; while the link is present in Travis, I should still have put it in. --

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread drallensmith
drallensmith added the comment: Here is the patch for 2.7. -- Added file: http://bugs.python.org/file47076/managers-2.7.patch ___ Python tracker ___

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread drallensmith
drallensmith added the comment: Well, it looks like I was incorrect in where the AssertionError is coming from - the attached patches, while an improvement IMO on the current code, did not result in a change in behavior. Unfortunately, the combination of bare asserts (with no messages) with

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread Berker Peksag
Berker Peksag added the comment: For those who want to triage this issue, the test case can be found at https://github.com/drallensmith/neat-python/blob/e4aeb39eccefbd73babfb61bb13fd23feef2a102/tests/test_distributed.py#L234 -- nosy: +berker.peksag, davin, pitrou

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread drallensmith
drallensmith added the comment: The section in question is: def convert_to_error(kind, result): if kind == '#ERROR': return result elif kind == '#TRACEBACK': assert type(result) is str return RemoteError(result) elif kind == '#UNSERIALIZABLE': assert

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread drallensmith
drallensmith added the comment: Correction - 2.7.9 - Travis seems to be a bit behind. Here's one from 3.6.2: Traceback (most recent call last): File "/opt/python/3.6.2/lib/python3.6/multiprocessing/process.py", line 249, in _bootstrap self.run() File

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-10 Thread drallensmith
drallensmith added the comment: An example on 2.7.13: Traceback (most recent call last): File "/opt/python/2.7.9/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/opt/python/2.7.9/lib/python2.7/multiprocessing/process.py", line 114, in run

[issue31169] convert_to_error assertion failure in multiprocessing/managers.py

2017-08-09 Thread drallensmith
New submission from drallensmith: I am seeing a triggering of one of the assertions in convert_to_error, in managers.py. (This assertion is completely without any message, incidentally, which is also problematic - I've commented on this in issue5001.) This is in common across all versions of