View Single Post
Old 10-01-2020, 12:11 AM   #76
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,114
Karma: 169815798
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Not sure if this is a bug in the Kobo Books plugin (1.8.0), calibre version 5.0.1, a Python 3 issue or a thread safe issue with calibre 5.0.1 but I get an erratic error when downloading metadata with this plugin. The lovely part is that it is erratic which is what leans me to the thread safe issue.

Code:
Traceback (most recent call last):
  File "calibre_plugins.kobobooks.__init__", line 167, in identify
  File "site-packages\mechanize\_mechanize.py", line 241, in open_novisit
  File "site-packages\mechanize\_mechanize.py", line 277, in _mech_open
  File "site-packages\mechanize\_opener.py", line 158, in _request
  File "site-packages\mechanize\_request.py", line 74, in __init__
  File "site-packages\mechanize\_urllib2_fork.py", line 192, in __init__
  File "site-packages\mechanize\_urllib2_fork.py", line 178, in normalize_url
  File "site-packages\mechanize\_urllib2_fork.py", line 175, in safe_encode
LookupError: unknown encoding: idna

idna? International Domain Names for Applications?
DNSB is offline   Reply With Quote