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?