View Single Post
Old 06-01-2019, 07:01 AM   #1614
ICDeadPpl
Enthusiast
ICDeadPpl began at the beginning.
 
ICDeadPpl's Avatar
 
Posts: 35
Karma: 10
Join Date: Mar 2010
Location: Sweden
Device: Kobo Libra 2
Unhappy

I get this error when Calibre tries to update metadata and upload queued books from the Reading List plugin, when I connect the reader to my Windows 10 computer:

Code:
calibre, version 3.44.0
ERROR: Error: Error communicating with device

local variable 'ContentType' referenced before assignment

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 89, in run
  File "site-packages\calibre\gui2\device.py", line 542, in _sync_booklists
  File "calibre_plugins.kobotouch_extended.device.driver", line 481, in sync_booklists
  File "site-packages\calibre\devices\kobo\driver.py", line 969, in sync_booklists
  File "site-packages\calibre\devices\kobo\driver.py", line 2435, in update_device_database_collections
  File "site-packages\calibre\devices\kobo\driver.py", line 643, in get_content_type_from_path
UnboundLocalError: local variable 'ContentType' referenced before assignment


I'm on firmware version 4.15.12920 on my Kobo H2O.
ICDeadPpl is offline