Closed skrsna closed 4 years ago
What is the object you’re trying to serialize? Some part of Conformer?
I'm trying to pickle the whole Conformer
object to update the Mongo Collection. Using EMT or DFTB calculators doesn't give this error though. But I'll look into how to solve this.
Try to figure out which part of the conformer object is causing the problem. Presumably some attached Calculator or something.
Fixed this by remaking the Conformer
objects using _ase_molecule
attribute.
Conformer
objects generated byHotBit
calculator leads toTypeError: cannot serialize '_io.TextIOWrapper'
error. Googling this error resulted in several posts stating that this is unsolvable and inherent inmultiprocessing
and I don't know where I should look if I were to fix it. I'm just opening this issue to keep track of it.