TrueNAS plugin missing all default plugins

General support for problems installing or using Deluge
Post Reply
Wolfeman0101
New User
New User
Posts: 5
Joined: Mon Jul 17, 2017 3:35 am

TrueNAS plugin missing all default plugins

Post by Wolfeman0101 »

There are no plugins at all.
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: TrueNAS plugin missing all default plugins

Post by mhertz »

Probably a mismatch between python version listed in plugin-filenames and actual python version.

If so, then two possibilities for fixing - either find the installed plugins and rename python version of filenames to match(or remove that part), or override python version checking completely in deluge, which was supposed to be done already for deluge2, but doesn't, hence I submitted PR to fix this, a few days ago. Find the installed deluge dir, on regular linux it's e.g. here: '/usr/lib/python3.9/site-packages/deluge' and edit line 108 of pluginmanagerbase.py from:

Code: Select all

self.pkg_env = pkg_resources.Environment(plugin_dirs, None)
Into:

Code: Select all

self.pkg_env = pkg_resources.Environment(plugin_dirs, None, None)

So just additional ', None' added at end - the first(which was added in a deluge2 commit) overrides platform checks, and the next that we add, overrides python version checking specifically(and which that deluge2 commit was supposed to do originally).
Post Reply