Page 1 of 1

Deluge Docker Python Compatibility

Posted: Tue Jun 07, 2022 11:09 am
by ozom
I've finally set up "linuxserver/deluge" and migrated my old settings into it. However, the plugin YARSS2 isn't running. The image seems to have 3.10 installed while I've tried the latest YARSS2 version (3.9). Could it be python version compatibility? Not sure how to interpret the deluge logs below.


Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/deluge/pluginmanagerbase.py", line 150, in enable_plugin
instance = cls(plugin_name.replace('-', '_'))
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/__init__.py", line 41, in __init__
load_libs()
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/__init__.py", line 30, in load_libs
egg = pkg_resources.require("YaRSS2")[0]
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'YaRSS2' distribution was not found and is required by the application

Re: Deluge Docker Python Compatibility

Posted: Tue Jun 07, 2022 11:19 am
by mhertz
Yes, the removed python version restriction of plugins in deluge 2.0.4+ doesn't apply to yarss2 for some reason, so still need renaming, so rename the plugin filename from 'py3.9' to 'py3.10', or alternativelly just remove the whole '-py3.x' part.

Re: Deluge Docker Python Compatibility

Posted: Tue Jun 07, 2022 9:00 pm
by ozom
Thank you! That sorted it out.