-
Notifications
You must be signed in to change notification settings - Fork 60
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
Update for Deluge 2.0 #51
base: master
Are you sure you want to change the base?
Conversation
Appears to be working. I do not have many torrents to do a full test on it right now, but it appears to be good to go! Will update this or the pull request if I encounter any issues. |
The egg seems to be working fine even for Python 3.6. |
Unfortunately, it does not appear to be working for me. The web interface appears to work correctly, but no torrents are removed. I receive the following error:
I have kept my old config file, I will attempt removing it and make sure the behaviour continues. |
Unfortunately, same behaviour:
|
Fixed in most recent commit. Missed a variable when refactoring. Try it now with this egg. |
I can confirm basic removals are working correctly now. I can not yet confirm if excemptions and specific rules work yet, but both are part of my workflow, so if I have any problems, I'll report back. Thanks for the update! |
I'm Still not able to add the plugin. I'm using an ubuntu server with updated python version with web interface |
What platform are you on? Version of Deluge? Ad-blockers in your browser? Have you tried both uploading the egg in the web UI and manually putting it into the plugins directory? |
Same for me, it doesn't work in either Web UI or dropping it in for me either. I use the linuxserver/deluge docker image. |
You haven't told me what version of Deluge you are using nor whether you tried disabling your ad-blocker. I can't isolate the problem unless you give me more information. An error in the Deluge logs would be most helpful.
I have tested the plugin both by manually placing the egg and uploading it via web UI on a clean linuxserver/deluge image and config, and it works just fine. Please try using a clean config, as sometimes Deluge's plugin UI doesn't tell you when something goes wrong with a plugin. You may also try manually adding the AutoRemovePlus plugin to the enabled plugins setting in your core.conf. Since I have not yet received any reports of errors that have proven to be related to my changes, I am reopening this PR. |
For those having installation issues: I was able to get this version working: https://github.com/omaralvarez/deluge-autoremoveplus/files/3322062/AutoRemovePlus-0.6.2-py3.7.zip I manually installed the .egg into the |
I have placed the .egg within the plugins directory for my deluge docker container, but it still does not show up within the webui. I have restarted the container. Using latest Deluge Docker Container. Version: Deluge 2.0.3-2-201906121747-ubuntu18.04.1 I tried using Chrome and internet explorer and neither worked. Also tried incognito in Chrome. |
Try
If it's 3.6.8, rename the file to 3.6 instead of 3.7 and it should work. |
That worked. Thank you. |
Thanks a lot! It's working. If you have time then please take a look at this plugin too. |
I tried installing this egg in the webUI of Deluge 2.0.3 but nothing happened. When I installed it using the GTK client, it immediately appeared in the list of available plugins. Does this mean installing egg's is only supported in the GTK client? Sorry, I'm fairly new to Deluge. |
Try installing the egg manually by copying it to /.config/deluge/plugins folder. |
If you re-read my post, I was able to install it already. My question was more out of curiosity as to why the GTK client installation worked but not the WebUI client method. |
Web-ui doesn’t upload the egg properly. The uploaded file has an invalid name. |
Yes, that I figured as much and I thought that was fine. But that makes sense now. Thanks for the answer. |
Hi, trying to install this on windows deluge v2, |
Just commenting to say I downloaded the egg, renamed to 3.6, restarted Deluge, and everything worked as expected. Thank you! |
Having the same issue here. Can see the plugin listed and can check to enable, but no config page. Logs do list the following, so it looks like the plugin is running.
|
Hello! Does any of you already had to deal with this? EDIT: nevermind: got it working: |
Sooo much back and forth with this before I found this pull request. Thanks everyone for spreading the knowledge and a great plugin! |
Thanks for this. I also got this working by renaming to 3.6, even though python3 -V reports 3.7.0 which is weird. |
I can't seem to get this plugin to install. Tried naming it to AutoRemovePlus-0.6.9-py3.6 and AutoRemovePlus-0.6.9-py3.7 but neither worked. |
Remove the python moniker (I.e. label it AutoRemovePlus-0.6.9) and it should work. |
Outstanding. Worked perfectly. |
Attempting to use this on Linux with python 3.10 and deluge-gtk 2.0.5 as a thin client. Installed the egg manually to the server and thin-client plugins folder. When starting deluge-gtk with the plugin (sans py filename ending) installed I kept getting an error:
So I tried building from source to get the 3.10 egg, and that didn't change anything.
And now the plugin will appear in the Preferences pane!
And that's about the limit of my troubleshooting ability. Edit: I lied, I can troubleshoot a trifle better than that. The AttributeError appears to be from a deprecation issue. Recommendation to use ComboBoxText now: So I edited the UI files to change "GtkComboBox" to "GtkComboBoxText" in these two files:
Becomes:
Regenerate the egg, and now the plugin appears to function. |
I wasn't able to get it to work using your instructions. I compiled both this and maximberzin97's repo. Am I missing something? I am running binhex-delugevpn with Python Egg file: AutoRemovePlus-0.6.2-py3.10.zip |
This pull request updates the plugin for Deluge 2.0, supporting Python 3 and GTK3.
I followed the steps for updating plugins on this guide.
I have also attached a compiled Python egg of this pull request.
AutoRemovePlus-0.6.2-py3.7.zip
Thank you Omar for your work on this very useful Deluge plugin!