07-16-2018, 01:26 PM | #1 |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Kindle "get list of books on device" failing
Every time I connect my Kindle, I get the following error at the end of the "get list of books from device":
calibre, version 3.24.2 ERROR: Error: Error communicating with device [Errno 22] invalid mode ('wbN') or filename: u'E:\\metadata.calibre' Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 87, in run File "site-packages\calibre\gui2\device.py", line 510, in _books File "site-packages\calibre\devices\kindle\driver.py", line 409, in books File "site-packages\calibre\devices\usbms\driver.py", line 296, in books File "site-packages\calibre\devices\usbms\driver.py", line 448, in sync_booklists File "site-packages\calibre\devices\usbms\driver.py", line 445, in write_prefix File "site-packages\calibre\startup.py", line 116, in local_open IOError: [Errno 22] invalid mode ('wbN') or filename: u'E:\\metadata.calibre' Any idea what might be causing this, and what I should do about it? |
07-16-2018, 11:35 PM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Probably too many entries in the root of E: drive, dlet some or move them into a sub-folder. FAT filesystems such as the kindle uses have very low limit on the number of items in the root directory.
|
07-17-2018, 04:16 AM | #3 | |
Age improves with wine.
Posts: 558
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
Closer inspection showed that metadata.calibre was 0 bytes in size, and when I tried to delete it I got a "corrupt file" error: "The file or directory \metadata.calibre is corrupt and unreadable. Please run the Chkdsk utility". So, in fear and trepidation I did so. Some tangled block chains were untangled and it all started working properly again. Not sure why this should have happened, though. The Kindle is a new one (about a month old). The only thing I can think of is a dodgy USB connection, but even then... Oh well. Problem solved, anyway. |
|
Tags |
kindle |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre crashes during "get list of books on device" | aklau75 | Devices | 2 | 02-19-2017 01:56 AM |
Calibre appears to be stuck on "Get list of books on Device" | MandyM | Devices | 1 | 11-24-2016 07:33 PM |
Calibre very slow "Getting list of books from Device" - Glo HD | miwo76 | Calibre | 10 | 05-11-2015 01:32 AM |
Calibre Job- "Get list of books on device" progress stuck at 26%. Wont let me cancel. | tomtompkins | Devices | 2 | 06-08-2013 08:10 PM |
Calibre hangs on "Get list of books on device" | rainbowworrier | Calibre | 2 | 01-25-2010 04:17 AM |