[Bug]: Fix _pickle.PicklingError: Can't pickle <class '_cmor.CMORError'>: import of module '_cmor' failed
(VS code debugger only?)
#235
Labels
bug
Something isn't working
What happened?
The
multiprocessing
API can't pickle the_cmor.CMORError
module.What did you expect to happen? Are there are possible answers you came across?
I very vaguely recall getting past this issue before. It might be related to VS Code's debugger/interactive console and requires installing another dependency fix (Jupyter dependency?).
We need to figure out how to pickle CMOR errors with multiprocessing. This error does not appear when using
--serial
.Minimal Complete Verifiable Example (MVCE)
Relevant log output
Anything else we need to know?
No response
Environment
v1.11.0 and
master
branchThe text was updated successfully, but these errors were encountered: