View Single Post
Old 06-23-2019, 05:51 AM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by anacreon View Post
I've often had this problem when loading a new device, and I do disconnect the device when Calibre shuts down.
Calibre just shuts down with no warnings? No messages from calibre or Windows?
Quote:
The problem concerns some 100 books on a total of more than 4000.
I did try the match to library like theducks says yesterday, but probably didn't do it right.
What theducks missed was that after matching the books, you need to right click on the device button and choose the option "Update cached metadata on device". This updates the calibre.metadata on the device so that the matched book will be remembered. But, I think you have worked this out.
Quote:
In any case, I couldn't try again today because I had this problem when connecting (after a long time trying)

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

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 89, in run
File "site-packages\calibre\gui2\device.py", line 512, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 1985, in books
File "site-packages\calibre\devices\usbms\driver.py", line 457, in sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 455, in write_prefix
File "site-packages\calibre\ebooks\metadata\book\json_codec.p y", line 135, in encode_to_file
File "json\__init__.py", line 251, in dumps
File "json\encoder.py", line 210, in encode
MemoryError.
This is while generating the metadata.calibre. I can't think of any reason to be running out of memory there, unless you have a lot of custom columns with a lot of data in them. And I suppose if you are running the 32bit version of calibre, that could contribute to it as well.
Quote:
When I tried it again, after more than 6 minutes Calibre disconnected.
What do you mean here? Disconnects from the device? Or calibre closes like you say at the top?

And the first connection after putting a lot of books on a device will probably take longer. There is more work involved in matching the first time, plus the Kobo drivers will probably do more work updating metadata and collections on the device. The next connection should be a lot quicker.
davidfor is offline   Reply With Quote