Hello Calibre people:
At first, let's say that I am not developer, I know nothing about code.
I am researching to fix a bug under ReactOS that involves one function that Calibre uses to convert bugs (I know it is an unsupported function since python 3.y.z , ok, but I want to fix this to fix all of the subsequent affected versions). It's the cPickle from python under the utils/ipc.
The point is that I don't understand where the failure starts, because the Calibre bug only points to a code that if I try to do a print(function), actually is showing activity.
Code:
address = cPickle.loads(unhexlify(os.environ['CALIBRE_WORKER_ADDRESS']))
key = unhexlify(os.environ['CALIBRE_WORKER_KEY'])
resultf = unhexlify(os.environ['CALIBRE_WORKER_RESULT']).decode('utf-8')
with closing(Client(address, authkey=key)) as conn:
name, args, kwargs, desc = eintr_retry_call(conn.recv)
It's like the pickle file that is generated is empty. So... I need to find what it does before, or what python function it uses to reach this to create a little demo that helps to find where ReactOS is failing.
Thanks you in advance.