Open TrueOsiris opened 8 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
I can't replicate this with a clean container; the plugins list is populated with the default plugins, and I can enable them all without error.
Please make sure the plugins you're using are actually maintained, because at a glance a lot of the 3rd party plugins are still python 2.x, which will never work, and many expect old versions of python 3; the container ships with 3.12.3 at this point.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
Just pulled this container and configured it today and running into the same issues as OP but not the exact same error... they might be related?
This is what populates in my container logs.
20:58:09 [ERROR ][deluge.ui.web.json_api :1672] Error calling method `web.upload_plugin`: [Errno 21] Is a directory: '/config/plugins/'
20:58:09 [ERROR ][deluge.ui.web.json_api :1672] [Errno 21] Is a directory: '/config/plugins/'
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/deluge/ui/web/json_api.py", line 157, in _handle_request
result = self._exec_local(method, params, request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/deluge/ui/web/json_api.py", line 119, in _exec_local
return meth(*params)
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/deluge/ui/web/json_api.py", line 933, in upload_plugin
shutil.copyfile(path, os.path.join(get_config_dir(), 'plugins', filename))
File "/usr/lib/python3.12/shutil.py", line 262, in copyfile
with open(dst, 'wb') as fdst:
^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/config/plugins/'
Just pulled this container and configured it today and running into the same issues as OP but not the exact same error... they might be related?
This is what populates in my container logs.
20:58:09 [ERROR ][deluge.ui.web.json_api :1672] Error calling method `web.upload_plugin`: [Errno 21] Is a directory: '/config/plugins/' 20:58:09 [ERROR ][deluge.ui.web.json_api :1672] [Errno 21] Is a directory: '/config/plugins/' Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/deluge/ui/web/json_api.py", line 157, in _handle_request result = self._exec_local(method, params, request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/deluge/ui/web/json_api.py", line 119, in _exec_local return meth(*params) ^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/deluge/ui/web/json_api.py", line 933, in upload_plugin shutil.copyfile(path, os.path.join(get_config_dir(), 'plugins', filename)) File "/usr/lib/python3.12/shutil.py", line 262, in copyfile with open(dst, 'wb') as fdst: ^^^^^^^^^^^^^^^ IsADirectoryError: [Errno 21] Is a directory: '/config/plugins/'
After clicking around in the container I was able to get it to populate... magically. In all seriousness, all I did was close the window and clicked on Preferences at the top of the page and it corrected itself. Might be an initial configuration bug. Either way, it is no longer an issue for me (probably the same for OP since they haven't replied in a while) but at the very least commenting here for someone to stumble over later.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
I have a similar problem. I am trying very hard to install the YaRSS2 plugin but it does not work in any way. Do you have any suggestions? I tested it by downloading from the official site https://bitbucket.org/bendikro/deluge-yarss-plugin/downloads/
I tested with all versions of python YaRSS2-2.1.4-py3.6.egg YaRSS2-2.1.4-py3.7.egg YaRSS2-2.1.5-py3.6.egg YaRSS2-2.1.5-py3.8.egg YaRSS2-2.1.5-py3.9.egg YaRSS2-2.1.5-py3.10.egg YaRSS2-2.1.5-py3.11.egg
As noted the container ships with Python 3.12
Is there an existing issue for this?
Current Behavior
When trying to add any egg / plugin or trying to enable the ones that ought to be built-in, I get this in my container log
Also, the default plugin list is empty, while this version should already contain a list of plugins that can be enabled.
I'm starting this with an unaltered config, running on unraid linux, using docker compose. folder rights seem to be fine on the config folder.
Expected Behavior
I should be able to install eggs / plugins without python errors in the docker log.
Steps To Reproduce
see other descriptions. I'm running the container through docker compose and I'm trying to add a plugin via the webUI.
Environment
CPU architecture
x86-64
Docker creation
Container logs