Doesn't work with Python 3.9
Doesn't work with Python 3.9. Deluge on Fedora 33 is using python 3.9.0.
Renaming the egg does not work either.
Comments (6)
-
-
I think i fixed it, doing the following:
in
/var/lib/deluge/.config/deluge/plugins
unzip the file YaRSS2-2.1.4-py3.9.egg (renamed from YaRSS2-2.1.4-py3.7.egg as usual)
then open file yarss2/util/feedparsing/http.py
Replace line 44:
_base64decode = getattr(base64, 'decodebytes', base64.decodestring)with
_base64decode = getattr(base64, 'decodebytes')
Remove the plugin file, then zip again:
zip -r YaRSS2-2.1.4-py3.9.egg yarss2 EGG-INFO
now restart deluge.
i got no error and the feed is displayed in gui. -
Stefan Camenzind
Not working for me…
-
Fix worke for me, although I used
base64.decodebytes
directly. The function was removed in 3.9, as it was deprecated since 3.1. -
Stefan’s instructions worked for me too on Arch Linux.
-
repo owner - changed status to resolved
Fixed in [ad8b89e9517868ac939fd8307c8ee512896f167e] included in version 2.1.5
- Log in to comment
i can confirm.. got same problem