View Single Post
Old 01-03-2020, 12:44 PM   #44
gldnbrwncouches
Enthusiast
gldnbrwncouches doesn't littergldnbrwncouches doesn't litter
 
Posts: 40
Karma: 132
Join Date: Mar 2019
Device: Kobo Forma, Libra H2O & Clara HD, Nook ST w/GL, GL+ (2015), Kindle PW4
I'm having an issue installing this plugin in Calibre 4.5 (installed from Fedora 31 distro repo). After downloading the plugin I made the following changes in lines 10-13 in __init__.py to make it compatible with import statements for Python 3 libraries.

import time, re
from html.parser import HTMLParser
from urllib.parse import quote, unquote
from queue import Queue, Empty


After those changes and re-zipping the files, it seems to install and work just fine for me. Has anyone else had this issue? Should it have worked fine in my version of Calibre without the changes I made? Is there a repo where I can submit a pull request (maybe one that can somehow import according to python version)?

Thanks @davidfor for this excellent plugin!
gldnbrwncouches is offline   Reply With Quote