Closed njcuk9999 closed 1 year ago
So I narrowed this down to the new multiprocessing in generate_ids
(designed to make the validation and skipping N times faster).
This works on Linux machines it is very hard to test without a Mac.
I'm working in branch v0.7.285-live
So far I've tried adding a new way to multiprocess (with pathos
) however on linux it just freezes when calling the multiprocessing function. (commit b76bc500ce2dba84789df1d6debae433fb7fd6b2)
Note pathos
is a fork of multiprocess
which uses dill
instead of pickle
- dill
is meant to be able to serialize more than pickle
(more of a hack if this works)
I've also tried removing "mod" as an argument to generate_id
(commit 63f75f85c1ff17152c258c1e0100fa9bc08fcda7).
I've also tried removing "inrecipelist" and "indexdb" objects (instead sending in the recipe name and reloading the recipe class, and reloading the indexdb inside generate_id
function (commit b76bc500ce2dba84789df1d6debae433fb7fd6b2)
Currently I don't know why pathos
is not working.
Similar problem as seem previously.
When using > 1 core Mac will complain about pickling.
Error from @clairem789