I tried the pickle library and found out it can pickle namedtuple objects. However I have to convert the namedtuple objects to tuple objects in my plugin to make them work with the job manager. It is a mystery to me why Calibre cannot serialize them and throw `ModuleNotFoundError`.
|