![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2020
Device: Kindle 2 and Sony DPC
|
I need a little help to understand Calibre's conversion - cpickle
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) Thanks you in advance. ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,239
Karma: 23446430
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That is code that is run in worker processes. What is the actual error you are getting?
|
![]() |
![]() |
Advert | |
|
![]() |
Tags |
calibre 2.0, cpickle, fix, python, reactos |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pickle/cPickle problems | davidfor | Development | 2 | 07-14-2019 06:12 AM |
Does Calibre Understand When A Book is Read? | American_Desi | Calibre Companion | 6 | 04-07-2018 11:41 PM |
I cannot understand... | balley401 | Introduce Yourself | 2 | 11-05-2011 09:22 AM |
translating calibre: strings I dont understand | trijntje | Development | 7 | 08-21-2011 07:02 AM |
Trying to understand conversion process | AlexBell | Conversion | 4 | 06-16-2011 07:46 AM |