|
|
#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: 45,609
Karma: 28549044
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 |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pickle/cPickle problems | davidfor | Development | 2 | 07-14-2019 07:12 AM |
| Does Calibre Understand When A Book is Read? | American_Desi | Calibre Companion | 6 | 04-08-2018 12:41 AM |
| I cannot understand... | balley401 | Introduce Yourself | 2 | 11-05-2011 10:22 AM |
| translating calibre: strings I dont understand | trijntje | Development | 7 | 08-21-2011 08:02 AM |
| Trying to understand conversion process | AlexBell | Conversion | 4 | 06-16-2011 08:46 AM |