TrueNAS plugin missing all default plugins
-
- New User
- Posts: 5
- Joined: Mon Jul 17, 2017 3:35 am
TrueNAS plugin missing all default plugins
There are no plugins at all.
Re: TrueNAS plugin missing all default plugins
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:
Into:
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).
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)
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).