You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a pint.Quantity with custom units was created in a worker
it was returned by the dask task, serialized, and sent to a different worker where I accidentally had not invoked pint.set_application_registry, thus causing pickle.loads to fail
Expected behaviour
Graph resolution crashes; Future.result on the client re-raises whatever exception was raised by pickle.loads on the worker
The issue disappears if I replace range(8) with range(2) or replace time.sleep(1) with pass. In both cases, the underlying reason is that the worker executing dummy ends up being the same worker that created C, thus it never gets to unpickle it.
Activity
mrocklin commentedon Apr 7, 2020
Better handling deserialization errors would be great. Is this something that you have time and interest to help resolve @crusaderky ?
crusaderky commentedon Apr 7, 2020
Yes, I can look into it
martindurant commentedon Apr 7, 2020
Thanks, @crusaderky