Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deluge 2.0.5 Support #31

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Deluge 2.0.5 Support #31

wants to merge 3 commits into from

Conversation

noam09
Copy link
Owner

@noam09 noam09 commented Mar 24, 2022

For #22

@unimonkiez
Copy link

unimonkiez commented Apr 21, 2022

Just tried it on raspberry pi 4, with latest available version on apt 2.0.3, and it doesn't work.
Any chance you support 2 and above?

Update:
Ok so I downloaded the source, build it on raspberry, also, for some reason when trying to upload the file from my computer it uploads it incorrectly (weird object list name) like so
image
image

Anyway so I moved it manually to the plugins folder
image

Now it shows after I restarted the deluge service, but doesn't do anything if I enable it
image

@noam09
Copy link
Owner Author

noam09 commented Apr 21, 2022

Thanks for the feedback @unimonkiez. I also get that weird object list name, I'll have to figure out if something is wrong with my build or if this is a Deluge issue.

Can you please try running deluged with debug logging and post the logs around the time when you try to enable the plugin?

@nord73
Copy link

nord73 commented Apr 23, 2022

Don't know if this is valuable to you - but running a dockerized deluge and when adding the plugin I receive this logs via docker-compose logs. I also get the object list file in the plugin dir.

deluge    | 21:14:56 [ERROR   ][deluge.ui.web.json_api     :168 ] Error calling method `web.upload_plugin`: [Errno 21] Is a directory: '/config/plugins/'
deluge    | 21:14:56 [ERROR   ][deluge.ui.web.json_api     :1512] [Errno 21] Is a directory: '/config/plugins/'
deluge    | Traceback (most recent call last):
deluge    |   File "/usr/lib/python3.10/site-packages/deluge/ui/web/json_api.py", line 160, in _handle_request
deluge    |     result = self._exec_local(method, params, request)
deluge    |   File "/usr/lib/python3.10/site-packages/deluge/ui/web/json_api.py", line 122, in _exec_local
deluge    |     return meth(*params)
deluge    |   File "/usr/lib/python3.10/site-packages/deluge/ui/web/json_api.py", line 953, in upload_plugin
deluge    |     shutil.copyfile(path, os.path.join(get_config_dir(), 'plugins', filename))
deluge    |   File "/usr/lib/python3.10/shutil.py", line 256, in copyfile
deluge    |     with open(dst, 'wb') as fdst:
deluge    | IsADirectoryError: [Errno 21] Is a directory: '/config/plugins/'

Software versions:

  • deluge 2.0.5
  • libtorrent: 2.0.6.0
  • Python: 3.10.3
  • telegramer: 2.0.5.0-py3.10

@noam09
Copy link
Owner Author

noam09 commented May 5, 2022

Thanks @nord73, I'll look into this when I get a chance. When you manually copy the egg into the plugins directory, does Telegramer work fine for you?

@nord73
Copy link

nord73 commented May 5, 2022

@noam09 No, it still isn't added correctly to the plugin list.

@tallevi1000
Copy link

tallevi1000 commented Jun 26, 2022

Thanks @nord73, I'll look into this when I get a chance. When you manually copy the egg into the plugins directory, does Telegramer work fine for you?

i had to manually copy the egg into the /config/plugin folder and also edit the core.conf (under /config) with:
"enabled_plugins": [
"Telegramer"
]
after that, it worked.
hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants