View Single Post
Old 05-26-2012, 03:15 PM   #6
vanpelten
Member
vanpelten began at the beginning.
 
vanpelten's Avatar
 
Posts: 19
Karma: 10
Join Date: Feb 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
Works for me. Run calibre in debug mode (right click the preferences button) and post the debug output when sending a file to your Kindle. What OS are you on? Which Kindle are you using?
Ok, here's the log:

calibre Debug log
calibre 0.8.53
Windows-XP-5.1.2600-SP3
Windows
('Windows', 'XP', '5.1.2600')
Python 2.7.1
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
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: H:\ documents
Job: 1 Get device information finished
No details available.
DEBUG: 0.6 USBMS: scan from root False H:\documents
DEBUG: 3.1 USBMS: count found in cache: 500, count of files in metadata: 500, need_sync: False
DEBUG: 3.1 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 3.1 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
DEBUG: 3.1 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: 2 Get list of books on device finished
No details available.
Started up in 24.41 seconds with 461 books
Job: 3 Upload 1 books to device:One Man's Initiation: 1917 started
Device using plugboard mobi KINDLE2 None
Setting metadata in: One Man's Initiation: 1917 at: C:\DOCUME~1\user\LOCALS~1\Temp\calibre_0.8.53_tmp_ xdorzm\h65it5caltmpfmt.mobi
DEBUG: 47.7 USBMS: uploading 1 books
Traceback (most recent call last):
File "site-packages\calibre\devices\usbms\driver.py", line 272, in upload_books
File "site-packages\calibre\devices\kindle\driver.py", line 389, in upload_cover
File "site-packages\calibre\devices\kindle\driver.py", line 434, in upload_apnx
UnboundLocalError: local variable 'path' referenced before assignment
DEBUG: 48.6 USBMS: finished uploading 1 books
DeviceJob: 3 Upload 1 books to device:One Man's Initiation: 1917 done, calling callback
DEBUG: 48.6 USBMS: adding metadata for 1 books
DEBUG: 48.6 USBMS: finished adding metadata
DeviceJob: 3 Upload 1 books to device:One Man's Initiation: 1917 callback returned
Job: 4 Send metadata to device started
DEBUG: 48.8 USBMS: starting sync_booklists
Job: 3 Upload 1 books to device:One Man's Initiation: 1917 finished
No details available.
DEBUG: 50.5 USBMS: finished sync_booklists
DeviceJob: 4 Send metadata to device done, calling callback
DeviceJob: 4 Send metadata to device callback returned
Job: 4 Send metadata to device finished
No details available.
Job: 5 Delete books from device started
DEBUG: 220.5 USBMS: deleting 1 books
DEBUG: 220.6 USBMS: finished deleting 1 books
DeviceJob: 5 Delete books from device done, calling callback
DEBUG: 220.6 USBMS: removing metadata for 1 books
DEBUG: 220.6 USBMS: finished removing metadata for 1 books
DeviceJob: 5 Delete books from device callback returned
Job: 6 Send metadata to device started
DEBUG: 220.9 USBMS: starting sync_booklists
Job: 5 Delete books from device finished
No details available.
DEBUG: 222.3 USBMS: finished sync_booklists
DeviceJob: 6 Send metadata to device done, calling callback
DeviceJob: 6 Send metadata to device callback returned
Job: 6 Send metadata to device finished
No details available.

PS: I hope this is the correct log -- it popped up when I closed Calibre in debug mode.

Last edited by vanpelten; 05-26-2012 at 03:17 PM.
vanpelten is offline   Reply With Quote