Deluge Docker Python Compatibility

General support for problems installing or using Deluge
Post Reply
ozom
New User
New User
Posts: 2
Joined: Tue Jun 07, 2022 11:06 am

Deluge Docker Python Compatibility

Post 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
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Deluge Docker Python Compatibility

Post 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.
ozom
New User
New User
Posts: 2
Joined: Tue Jun 07, 2022 11:06 am

Re: Deluge Docker Python Compatibility

Post by ozom »

Thank you! That sorted it out.
Post Reply