Author mrshanth
Recipients mrshanth
Date 2021-06-10.12:27:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Under multiprocessing package, in, when an error occurs on line 122:
result = (True, func(*args, **kwds))

The exception "e" has the error message due to execution of the function that is executed in parallel. 

However, the error message is lost when another error is occurred due to the execution of following line 128:
put((job, i, result))

The MaybeEncodingError masks or truncates the original error message, due to the following line at 130:
MaybeEncodingError(e, result[1])

where the repr function in the class truncates the message. 

The final error message has pickling error and the masked error of the actual execution.
Date User Action Args
2021-06-10 12:27:15mrshanthsetrecipients: + mrshanth
2021-06-10 12:27:15mrshanthsetmessageid: <>
2021-06-10 12:27:15mrshanthlinkissue44377 messages
2021-06-10 12:27:15mrshanthcreate