View Single Post
Old 06-26-2011, 10:02 AM   #1
AlanE
Member
AlanE began at the beginning.
 
Posts: 18
Karma: 18
Join Date: Dec 2008
Location: UK
Device: Kindle keyboard, Kindle Paperwhite 6th gen, Kindle Voyage, Kobo Libra
Books corrupted sendng to device

I have recently found a number of my books ending prematurely when reading on my Kindle or Cybook. On investigating I have found that PRC files added to Calibre have been converted to MOBI. (Prior to about March PRC files were stored as PRC.) At this stage the books are complete. Only when sent to the device, Cybook or Kindle, are the files apparently corrupted.

Debug output for adding and sending 2 PRC and 1 MOBI files:

calibre Debug log
calibre 0.8.7
Linux-2.6.32-32-generic-i686-with-debian-squeeze-sid
Linux
('Linux', '2.6.32-32-generic', '#62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011')
Python 2.7.1
Linux: ('debian', 'squeeze/sid', '')
Starting up...
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
DEBUG: 0.0 USBMS: dirs are: /media/Kindle/ documents
DEBUG: 0.3 USBMS: scan from root False /media/Kindle/documents
DEBUG: 0.3 USBMS: count found in cache: 209, count of files in metadata: 209, need_sync: False
DEBUG: 0.3 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 0.3 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
DEBUG: 0.3 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 1 Get device information finished
No details available.
Job: 2 Get list of books on device finished
No details available.
Started up in 9.21536207199
Worker Launch took: 0.224585056305
Job: 3 Read metadata (0 of 1) finished
Read metadata (0 of 1)
is not a valid Kindle serial number or PID.
K4MobiDeDRM: Calibre configuration directory = /home/alan/.config/calibre
MOBI header version = 2, length = 208
global name 'openKindleInfo' is not defined
Crypto Type is: 0
This book is not encrypted.
Success!
Failed to read MOBI cover
is not a valid Kindle serial number or PID.
K4MobiDeDRM: Calibre configuration directory = /home/alan/.config/calibre
MOBI header version = 2, length = 208
global name 'openKindleInfo' is not defined
Crypto Type is: 0
This book is not encrypted.
Success!
Failed to read MOBI cover
is not a valid Kindle serial number or PID.
K4MobiDeDRM: Calibre configuration directory = /home/alan/.config/calibre
MOBI header version = 4, length = 228
global name 'openKindleInfo' is not defined
Crypto Type is: 0
This book is not encrypted.
Success!

Added Little Boy Lost: Enlightened to db in: 0.340909957886 seconds
Added Suffer the Little Children to db in: 0.299707889557 seconds
Added preciousboy to db in: 0.516490936279 seconds
Job: 4 Upload 3 books to devicereciousboy, Suffer the Little Children, Little Boy Lost: Enlightened started
Device using plugboard mobi KINDLE2 None
Setting metadata in: preciousboy at: /tmp/calibre_0.8.7_tmp_HMWk2q/calibre_0.8.7_IMc9KKcaltmpfmt.mobi
Device using plugboard mobi KINDLE2 None
Setting metadata in: Suffer the Little Children at: /tmp/calibre_0.8.7_tmp_HMWk2q/calibre_0.8.7_dmH7licaltmpfmt.mobi
Device using plugboard mobi KINDLE2 None
Setting metadata in: Little Boy Lost: Enlightened at: /tmp/calibre_0.8.7_tmp_HMWk2q/calibre_0.8.7_tl4h2Acaltmpfmt.mobi
DEBUG: 73.7 USBMS: uploading 3 books
DEBUG: 74.0 USBMS: finished uploading 3 books
DeviceJob: 4 Upload 3 books to devicereciousboy, Suffer the Little Children, Little Boy Lost: Enlightened done, calling callback
DEBUG: 74.0 USBMS: adding metadata for 3 books
DEBUG: 74.0 USBMS: finished adding metadata
DeviceJob: 4 Upload 3 books to devicereciousboy, Suffer the Little Children, Little Boy Lost: Enlightened callback returned
Job: 5 Send metadata to device started
DEBUG: 74.1 USBMS: starting sync_booklists
DEBUG: 74.4 USBMS: finished sync_booklists
DeviceJob: 5 Send metadata to device done, calling callback
DeviceJob: 5 Send metadata to device callback returned
Job: 5 Send metadata to device finished
No details available.
Job: 4 Upload 3 books to devicereciousboy, Suffer the Little Children, Little Boy Lost: Enlightened finished
No details available.


Little Boy Lost 190275 bytes in Calibre 190323 bytes on the Kindle
Suffer the Little Children 173765 bytes in Calibre 173813 bytes on the Kindle

Have I done something really stupid or is there a problem?
AlanE is offline   Reply With Quote