-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add support for Deluge 2 - python 3.8 #27
Comments
I 1 up this, i hate the error on my nginx server |
Have no idea what's that about, since there was no backward incompatible changes 3.7->3.8. |
I use organizr and it checks if something is in Deluge If I was able to add your webapi I would be fine but since I have Deluge 2 running against python 3.8 I get the below error. 2020/01/23 10:42:09 [error] 15236#6484: *53 FastCGI sent in stderr: "PHP Fatal error: Uncaught Exception: Method request returned an error (no. 2): Unknown method in C:\HTPC\nginx\html\Organizr2\api\functions\deluge.class.php:564 |
Unfortunatelly this trace is not helpful, since it wrapped into |
This what I get when I try ot add a plugin to deluge 11:37:53 [ERROR ][deluge.ui.web.json_api :79 ] Error calling method |
In the trace I can see nothing specific to |
no they can't this is so weird. Any help would be great. |
Please try to apply to Deluge support forum: https://forum.deluge-torrent.org |
@aircave I had the same issue with deluge not recognizing the plugin, even though it was in the plugins folder but after seeing that deluge was running on python 3.8.2 I decided to build the .egg file using that version, which made it work. Maybe try renaming to WebAPI-0.4.0-py3.8.egg and see if you can trick deluge into accepting it |
@aircave could you possibly post the egg file you build? A friend is asking for it, but i'm not a python guy. |
@Mycsina ...Question above was for you. I gave up and switched Transmission. |
Sorry for the late response @quorn23! |
@Mycsina no worries at all, much appreciated, forwarding it to my friend with Deluge. Edit: Quick feedback, Mycsinas egg works perfectly with Deluge 2.0.4.dev23 |
I'm just getting the box bouncing back when I try to check it. Permissions OK, out of ideas... |
@niXta1 Try to manually enable the plugin on one of the deluge conf files after closing it and then open it to see if it persists. When I was trying to use the 3.7 .egg plugin with Deluge running on 3.8 Python it simply wouldn't recognize, so check what Python version is deluge running on. |
Ok, closing deluge and editing the conf. ended up in that it got disabled anyway at start. |
Just a reminder that to enable plugins in Deluge, you need to add their names to |
Yes:
Error log:
|
|
Progress, thanks! |
I see that JSON component is defined in https://git.deluge-torrent.org/deluge/tree/deluge/ui/web/json_api.py and is available with Deluge Web JSON-RPC API: https://deluge.readthedocs.io/en/latest/reference/webapi.html |
I've now added WebUi in the core.conf, still get the same error though...
|
Is it docker? If so to troubleshoot it further you may want first to try to reproduce the behaviour outside of docker. |
@niXta1 |
so i just ran through this myself, i just removed the WebAPI.conf and restarted deluge, which regenerated the WebAPI.conf and all seems well after restarteing deluge many times. @Mycsina 's compiled egg |
Just spent a couple hours trying to get this working before noticing that all the plugins in Deluge were labeled 3.8!!! @Mycsina thanks so much for this fix here. Had it working in 5 mins |
Also having this problem in the binhex container, no amount of editing conf files seems to do the trick. I've tried the 3.8 file linked above as well Edit: turns out the binhex deluge container is now up to python 3.9, I renamed the webapi to 3.9 and it loaded and appears to work, still won't connect with organizr, though that could be another issue I need to work out |
@Brandoskey Hey! FYI, I just got this up and running. I have Deluge setup with Docker using a volume for the In the WebUI I enabled the plugin, and in Organizr I was able to enable, save, and test the integration. It works as expected. Let me know if you need help. |
Please see here:
https://forums.unraid.net/topic/44109-support-binhex-delugevpn/?do=findComment&comment=793371
The text was updated successfully, but these errors were encountered: