Skip to content

KOReader on development build fails to connect to Calibre, "uuid" error #12062

Description

@lightmaster
  • KOReader version: 2024.04-197
  • Device: Kobo Libra 2 and Kobo Libra Colour

Issue

On the current development build (2024.04-197), KOReader cannot successfully connect to Calibre. On the current official build, it is able to without issue.

On my Kobo Libra Colour, on development build, when I try to wirelessly connect to Calibre, I get the following error message in Calibre:

calibre, version 7.12.0
ERROR: Error: Error communicating with device

'uuid'

Traceback (most recent call last):
  File "calibre\gui2\device.py", line 111, in run
  File "calibre\gui2\device.py", line 670, in _delete_books
  File "calibre\devices\smart_device_app\driver.py", line 57, in _synchronizer
  File "calibre\devices\smart_device_app\driver.py", line 1544, in delete_books
KeyError: 'uuid'

If I click "Ok", then Calibre will not be able to access the list of books in KOReader. If I move my books folder from .Books to .Books.bak and start a fresh .Books folder, then KOReader can connect to calibre successfully once. After uploading any number of books, disconnecting and reconnecting to Calibre, the error message is back again.

I tried it on my Kobo Libra 2 on the current official build (2024.04) since the Libra Colour will not work with the official build yet. KOReader on 2024.04 is able to connect to Calibre without any issue. When I then updated my Libra 2 from 2024.04 to 2024.04-197, it started getting the same error message.

This bug was also reported to the Calibre bug tracker by someone else: https://bugs.launchpad.net/calibre/+bug/2069006

Steps to reproduce

  1. Install the current development build of KOReader (2024.04-197)
  2. Start with an empty inbox folder in KOReader
  3. Wirelessly connect to Calibre (no error on connection)
  4. Send a book to KOReader and see the book show up in KOReader.
  5. Disconnect from Calibre
  6. Connect back to Calibre from KOReader.
  7. Get "uuid" error message in Calibre
crash.log (if applicable)

crash.log.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions