Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2025, 11:40 AM   #1
Siavahda
Zealot
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 121
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
Unhappy Taking ages to get list of books on device + error communicating with device

I accidentally used a USB that didn't come with my kindle, and now Calibre takes 7+ minutes to 'get list of books on device' and then announced 'error communicating with device'. This happened first with the new/wrong USB - after I sent a new book to my kindle - but has continued with the correct cord.

I've already restarted kindle and laptop (Windows 11), and tried deleting the metadata.calibre and driveinfo.calibre files. I do not want to have to factory reset, because I have thousands of books and most of them are covered in notes (and since they're all sideloaded Amazon has no backup of the notes) so I'm desperate for anything else to try!


Error log

Quote:
calibre, version 7.24.0
ERROR: Error: Error communicating with device

[Errno 22] Invalid argument: 'D:\\metadata.calibre'

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 566, in _books
File "calibre\devices\kindle\driver.py", line 459, in books
File "calibre\devices\usbms\driver.py", line 311, in books
File "calibre\devices\usbms\driver.py", line 464, in sync_booklists
File "calibre\devices\usbms\driver.py", line 461, in write_prefix
OSError: [Errno 22] Invalid argument: 'D:\\metadata.calibre'

The new metadata.calibre file being generated has a timestamp from over an hour ago - is this part of the problem? Is there any way to make it generate a correct metadata file?

I'm not very tech-savvy, please explain like I'm a 5yo if you have thoughts/suggestions!
Siavahda is offline   Reply With Quote
Old 01-17-2025, 11:52 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error basically means the device filesystem is broken or some program is interfering when calibre tries to access the device. Another thing you can try is rebooting you laptop in safe mode and then running calibre and connecting to the device.

metadata.calibre is regenerated on every connect. Your connect is slow because you deleted it so now its empty and all your thousands of books have to be rescanned.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-17-2025, 11:54 AM   #3
Siavahda
Zealot
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 121
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
I'll try safemode, thank you. And cross my fingers hard!
Siavahda is offline   Reply With Quote
Old 01-17-2025, 11:59 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Also try run chkdsk or similar on the kindle drive. I havent kept up with the state fo windows disk checking tools but presumably some disk checking software does still exist.
kovidgoyal is offline   Reply With Quote
Old 01-17-2025, 12:01 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Oh and incase you havent thought of this already try a different USB port as well
kovidgoyal is offline   Reply With Quote
Advert
Old 01-17-2025, 01:19 PM   #6
Siavahda
Zealot
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 121
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
I ended up factory resetting, but thank you for the help
Siavahda is offline   Reply With Quote
Reply

Tags
calibre, error communicating, kindle paperwhite 10


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'Get List of Books on Device' Taking 2100 Minutes Plus pjmpjm Devices 23 10-23-2023 07:59 AM
"Error communicating with device" and/or books sent to Kindle did not show up catkin Devices 3 11-17-2019 09:30 PM
Error Communicating with Device CrispyBacon Devices 4 03-23-2016 05:13 PM
Error communicating with Device dgirts Devices 3 09-23-2011 09:56 AM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM


All times are GMT -4. The time now is 05:46 PM.


MobileRead.com is a privately owned, operated and funded community.