I am trying to understand what is going on in the logs posted here:
https://www.mobileread.com/forums/sho...&postcount=102
Specifically, this pattern occurs whenever there is an "database disk image is malformed" error:
Code:
Job: 5 Send metadata to device started
DEBUG: 686.4 iOSReaderApp:sync_booklists()
DeviceJob: 5 Send metadata to device done, calling callback
database disk image is malformed
Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "site-packages\calibre\gui2\device.py", line 532, in _sync_booklists
File "C:\Users\Andrew\AppData\Local\Temp\calibre_bpv2hl\fa0znv_ios_local_db\Marvin_overlays.py", line 1009, in sync_booklists
File "C:\Users\Andrew\AppData\Local\Temp\calibre_bpv2hl\fa0znv_ios_local_db\Marvin_overlays.py", line 2109, in _profile_db
DatabaseError: database disk image is malformed
DeviceJob: 5 Send metadata to device callback returned
It seems as if there are two threads in contention here:
- Job: 5 Send metadata to device started
- DEBUG: 686.4 iOSReaderApp:sync_booklists()
From the device.py code I have not been able to tell what callback is being called. If there are two threads here, it could explain why the error is occurring.
Or am I reading this wrong?
Thanks