Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2022, 09:03 PM   #1
sparklemotion
dangerous when cornered
sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.
 
sparklemotion's Avatar
 
Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
Error communicating with device

Suddenly I'm having trouble connecting my kindle paperwhite to calibre. Here's the error I receive. Any ideas?

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

Traceback (most recent call last):
File "calibre\gui2\device.py", line 87, in run
File "calibre\gui2\device.py", line 548, in _books
File "calibre\devices\kindle\driver.py", line 432, in books
File "calibre\devices\usbms\driver.py", line 313, in books
File "calibre\devices\usbms\driver.py", line 466, in sync_booklists
File "calibre\devices\usbms\driver.py", line 463, in write_prefix
OSError: [Errno 22] Invalid argument: 'D:\\metadata.calibre'
sparklemotion is offline   Reply With Quote
Old 05-14-2022, 09:23 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,906
Karma: 168959602
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
That error would indicate that your system malfunctioned while attempting to read the metadata.calibre file. Does the file show in Windows Explorer? Can you copy it from your D: drive to your C: drive? Have you tried deleting the file? If you delete it, calibre will regenerate it.
DNSB is offline   Reply With Quote
Advert
Old 05-15-2022, 10:13 AM   #3
sparklemotion
dangerous when cornered
sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.
 
sparklemotion's Avatar
 
Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
Thank you so much for your reply. If I try to copy the file off the kindle to my hard drive it won't let me, it says it's corrupted or unreadable. If I delete the file and let it regenerate I still receive the communicating with device error. The error is the same as above. So hmm..
sparklemotion is offline   Reply With Quote
Old 05-15-2022, 05:50 PM   #4
sparklemotion
dangerous when cornered
sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.sparklemotion ought to be getting tired of karma fortunes by now.
 
sparklemotion's Avatar
 
Posts: 1,855
Karma: 22891237
Join Date: Dec 2011
Location: USA
Device: Kobo H2O, Kindle Paperwhite
In case this might help someone. After numerous restarts of my computer and kindle and deleting files on the kindle etc and nothing working oddly what worked for me was restarting my kindle *while it was connected* to my laptop. Strange. Who knows, but it's now connecting normally for me and working with calibre again.
sparklemotion is offline   Reply With Quote
Old 04-03-2025, 05:17 AM   #5
Peterchi
Junior Member
Peterchi began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2025
Device: Kindle
Mil gracias

Quote:
Originally Posted by sparklemotion View Post
Thank you so much for your reply. If I try to copy the file off the kindle to my hard drive it won't let me, it says it's corrupted or unreadable. If I delete the file and let it regenerate I still receive the communicating with device error. The error is the same as above. So hmm..
Mil gracias, ha funcionado
Peterchi is offline   Reply With Quote
Advert
Old 04-27-2025, 01:29 PM   #6
pierr
Junior Member
pierr began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2025
Device: Kobo H2O Edition1
On my Kobo H2O Edition1 e-reader.
When connecting the device to my PC, I get the message:

calibre, version 7.26.0
ERREUR : Erreur: Erreur pendant la communication avec le périphérique

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 563, in _books
File "calibre\devices\kobo\driver.py", line 2091, in books
File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed

What can I do to fix this?
pierr is offline   Reply With Quote
Old 04-27-2025, 03:31 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,014
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by pierr View Post
On my Kobo H2O Edition1 e-reader.
When connecting the device to my PC, I get the message:

calibre, version 7.26.0
ERREUR : Erreur: Erreur pendant la communication avec le périphérique

CorruptError: database disk image is malformed

Traceback (most recent call last):
File "calibre\gui2\device.py", line 112, in run
File "calibre\gui2\device.py", line 563, in _books
File "calibre\devices\kobo\driver.py", line 2091, in books
File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor
apsw.CorruptError: CorruptError: database disk image is malformed

What can I do to fix this?
If you have The Extended Edition plugin configured to back up the Kobo DB, You could copy that (it is manual) back to the Kobo

Log out of your Kobo, then log back in.
That message is about the DB on the Kobo.
In either case, you might lose recent bookmarks or reading location.
theducks is offline   Reply With Quote
Old 04-27-2025, 04:08 PM   #8
pierr
Junior Member
pierr began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2025
Device: Kobo H2O Edition1
Thank you very much for your quick response, theducks,

Unfortunately, I don't have the Extended Edition plugin, so I don't have a backup of my Kobo DB.
You mentioned that my Kobo DB is unusable. If I can't repair it, what should I do?
I have access to the Kobo with Windows explorer, but not with Calibre.
pierr is offline   Reply With Quote
Old 04-27-2025, 04:45 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,014
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by pierr View Post
Thank you very much for your quick response, theducks,

Unfortunately, I don't have the Extended Edition plugin, so I don't have a backup of my Kobo DB.
You mentioned that my Kobo DB is unusable. If I can't repair it, what should I do?
I have access to the Kobo with Windows explorer, but not with Calibre.
You need to connect the Kobo to your account on the Internet, then sign it out. The sign it back in.

Think about adding that PI to Calibre (and setting up a folder for those backups)
theducks is offline   Reply With Quote
Old 04-27-2025, 06:59 PM   #10
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,471
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The plugin you'd want is Kobo Utilities to take a backup.

To delete the corrupted Kobo database you need to go to Settings | Accounts and Sign-out from your Kobo Account.

You will then need to re setup your Kobo.

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Old 04-28-2025, 05:09 PM   #11
pierr
Junior Member
pierr began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2025
Device: Kobo H2O Edition1
Thank you so much for your replies, theducks and PeterT.

So, on the Kobo, logging out of my account causes the database to be deleted.

I then need to reset the device to build a new database.

Once all that’s done, I’ll install Kobo Utilities.

Perfect—thanks again!
pierr is offline   Reply With Quote
Old 04-28-2025, 05:18 PM   #12
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,471
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I believe that when the account is deleted that the Kobo will reboot by itself. Yep. just checked a sign-out forces a reboot.
PeterT is offline   Reply With Quote
Old 04-28-2025, 05:49 PM   #13
pierr
Junior Member
pierr began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2025
Device: Kobo H2O Edition1
pierr is offline   Reply With Quote
Old 04-30-2025, 02:47 PM   #14
pierr
Junior Member
pierr began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2025
Device: Kobo H2O Edition1
You're welcome again for these valuable tips, everything worked just as you described, PeterT.
pierr is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Aura One: Input/Output error - Error communicating with device bearymore Devices 2 07-13-2020 12:37 PM
Error communicating with device, Cannot write to file, Unspecified error sunishun Devices 6 02-04-2019 09:37 PM
Error: Error communicating with device message techie6 Devices 5 04-02-2018 09:25 PM
calibre, version 0.8.8 ERROR: Error: Error communicating with device no such column: e-bookuser Devices 1 07-03-2011 04:09 PM
ver 0.6.3 error: Error communicating with device PRS-505 scripo Calibre 4 08-01-2009 10:38 PM


All times are GMT -4. The time now is 12:37 AM.


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