View Single Post
Old 06-01-2019, 06:50 PM   #1615
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: 47,030
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ICDeadPpl View Post
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:
Spoiler:

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.
The first question that comed to mind is if the error still occurs if you use the KoboTouch driver rather than the KoboTouchExtended driver? In either event, I don't see anything in your posted log to indicate this issue has anything to do with the Kobo Utilities plugin.

Last edited by DNSB; 06-01-2019 at 06:53 PM. Reason: Fat fingered typos...
DNSB is offline