[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
ryanoc3ros
New User
New User
Posts: 2
Joined: Sat Jun 12, 2021 1:44 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by ryanoc3ros »

Thanks for the response, I tried your suggestion but didn't get anything productive, however you comment about the proxy setup gave me the idea to look down that path. I eventually stumbled upon this FAQ for binhex-delugeVPN: https://github.com/binhex/documentation ... faq/vpn.md

The RSS feed I was using was coming from Jackett, which was utilizing privoxy from the delugeVPN docker. I guess the latest version of delugeVPN tightened up the IP tables which broke some connectivity. Following A27 from that link, I added the Jackett port, 9117, to "VPN_OUTPUT_PORTS" and everything seems to be working now. Thanks for your help! Hopefully these steps help someone else in the future.
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by mhertz »

Great, nice catch mate, happy to hear you fixed your issue and thank you for posting your solution additionally, that's helpful indeed :) I now also remember reading actually binhex tightening up the iptables rules after some suggestions by users, when visiting his github shortly ago in other means, but didn't make the mental correlation though myself - good job.
_A.T.Omix_
New User
New User
Posts: 1
Joined: Sun Aug 29, 2021 2:13 am

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by _A.T.Omix_ »

iconoclasthero wrote: Tue Aug 28, 2018 3:07 pm

Code: Select all

sudo servide deluged stop
fg [back to nano]
^O
sudo service deluged start
sudo service deluged force-reload
deluged-gtk
When I go into preferences, initially YaRSS2 is checked and empty. If I try to rescan the plugins, the check mark goes away and YaRSS2 is no longer listed under categories, behavior that I was seeing yesterday. /var/log/deluge/daemon.log: https://paste.ubuntu.com/p/WBKCD4bJck/

If I then

Code: Select all

sudo service deluged stop
sudo service deluged force-reload
sudo service deluged start
and connect via deluge-gtk, the plugin comes back but is once again empty and yarss2.conf has been emptied back out.
I have the same issue and this is what I do:

Code: Select all

desktop@andromeda:~$ sudo service deluged status

Code: Select all

● deluged.service - LSB: Start or stop the Deluge BitTorrent daemon.
     Loaded: loaded (/etc/init.d/deluged; generated)
     Active: inactive (dead) since Sun 2021-08-29 04:37:51 CEST; 33s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 4609 ExecStart=/etc/init.d/deluged start (code=exited, status=0/SUCCESS)
    Process: 4693 ExecStop=/etc/init.d/deluged stop (code=exited, status=0/SUCCESS)

août 29 04:34:57 andromeda systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
août 29 04:34:57 andromeda deluged[4609]:  * Starting Deluge BitTorrent Daemon deluged
août 29 04:34:57 andromeda deluged[4609]:    ...done.
août 29 04:34:57 andromeda systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
août 29 04:37:51 andromeda systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
août 29 04:37:51 andromeda deluged[4693]:  * Stopping Deluge BitTorrent Daemon deluged
août 29 04:37:51 andromeda deluged[4693]:    ...done.
août 29 04:37:51 andromeda systemd[1]: deluged.service: Succeeded.
août 29 04:37:51 andromeda systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..
desktop@andromeda:~$ sudo service deluged stop
desktop@andromeda:~$ sudo service deluged status
● deluged.service - LSB: Start or stop the Deluge BitTorrent daemon.
     Loaded: loaded (/etc/init.d/deluged; generated)
     Active: inactive (dead) since Sun 2021-08-29 04:37:51 CEST; 34s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 4609 ExecStart=/etc/init.d/deluged start (code=exited, status=0/SUCCESS)
    Process: 4693 ExecStop=/etc/init.d/deluged stop (code=exited, status=0/SUCCESS)

août 29 04:34:57 andromeda systemd[1]: Starting LSB: Start or stop the Deluge BitTorrent daemon....
août 29 04:34:57 andromeda deluged[4609]:  * Starting Deluge BitTorrent Daemon deluged
août 29 04:34:57 andromeda deluged[4609]:    ...done.
août 29 04:34:57 andromeda systemd[1]: Started LSB: Start or stop the Deluge BitTorrent daemon..
août 29 04:37:51 andromeda systemd[1]: Stopping LSB: Start or stop the Deluge BitTorrent daemon....
août 29 04:37:51 andromeda deluged[4693]:  * Stopping Deluge BitTorrent Daemon deluged
août 29 04:37:51 andromeda deluged[4693]:    ...done.
août 29 04:37:51 andromeda systemd[1]: deluged.service: Succeeded.
août 29 04:37:51 andromeda systemd[1]: Stopped LSB: Start or stop the Deluge BitTorrent daemon..

Code: Select all

desktop@andromeda:~$ sha1sum /home/desktop/.config/deluge/yarss2.conf
e187566a0d499d3915e2e80e49f2ff04d3685387  /home/desktop/.config/deluge/yarss2.conf
desktop@andromeda:~$

Code: Select all

desktop@andromeda:~$ sudo service deluged force-reload
desktop@andromeda:~$

Code: Select all

desktop@andromeda:~$ sha1sum /home/desktop/.config/deluge/yarss2.conf
e187566a0d499d3915e2e80e49f2ff04d3685387  /home/desktop/.config/deluge/yarss2.conf
desktop@andromeda:~$

Code: Select all

desktop@andromeda:~$ sudo service deluged start
desktop@andromeda:~$

Code: Select all

desktop@andromeda:~$ sha1sum /home/desktop/.config/deluge/yarss2.conf
e187566a0d499d3915e2e80e49f2ff04d3685387  /home/desktop/.config/deluge/yarss2.conf
desktop@andromeda:~$
Then I launch deluge-gtk and at that moment the /home/desktop/.config/deluge/yarss2.conf is reset to default.

Code: Select all

desktop@andromeda:~$ sha1sum /home/desktop/.config/deluge/yarss2.conf
8855083ef5c44905a5622f03082fd2754ec66f40  /home/desktop/.config/deluge/yarss2.conf
desktop@andromeda:~$

Anyone has a solution to this issue?

EDIT: BTW putting the immutable attribute to the yarss2.conf file didn't have any positive effect on the configuration being acknowledged by deluge torrent.
highvoltage
Leecher
Leecher
Posts: 57
Joined: Mon Apr 11, 2016 11:11 pm
Location: Brazil

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by highvoltage »

bro any possibility to enable to work with webui?
Draic
New User
New User
Posts: 2
Joined: Mon Apr 18, 2022 3:17 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by Draic »

when will there be a version for python3.10?

```
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/deluge/ui/gtk3/preferences.py", line 1148, in on_plugin_selection_changed
self.builder.get_object('label_plugin_details').set_text(
TypeError: Argument 1 does not allow None as a value
```
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by mhertz »

That error is fixed, and can be ignored as not-important whatsoever. Rename filename of plugin to include instead py3.10 and should work, and disregard that error.
otyugh
Member
Member
Posts: 10
Joined: Wed May 04, 2022 5:31 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by otyugh »

Hey and thanks again for this plugin !

Rss feed used was from nyaa.si
Using Debian bullseye server&client side : Python 2.7.16 & Deluged/Deluge 2.0.3-3.1
Plugin version : YaRSS2-2.1.5-py3.9.egg

HOW : Everyhting seem to work fine before deluged crash after one "run the subscription" YaRSS2 at first (there is like 50 item matched, it tries to download them, then crashes).
After crash, the timestamp get updated and it doesn't crash then (trying to sunc less torrents or maybe one torrent was responsible in the bunch), at least for now !

Error log : https://debian-facile.org/paste-08D917744A
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by mhertz »

There's unfixed crashing issues reported for several users of yarss2 with deluge, however your error in log resembles another error gotten with libtorrent 1.2.9 specifically, which hence look like you use(plus is the one on Debian bullseye if not mistaken), so try upgrade if possible to 1.2.10 or newer, or alternatively downgrade to 1.2.8 or older, which should fix it presumably/hopefully. It's e.g available from pypi, through something like 'sudo pip3 install libtorrent==1.2.*'(if not having 'pip3', then 'sudo apt install python3-pip').
otyugh
Member
Member
Posts: 10
Joined: Wed May 04, 2022 5:31 pm

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by otyugh »

Thank you so much !

Yup, you're right python3-libtorrent 1.2.9-0.3

Alas :<
$ pip3 install libtorrent==1.2.*
ERROR: Could not find a version that satisfies the requirement libtorrent==1.2.*
ERROR: No matching distribution found for libtorrent==1.2.
mhertz
Moderator
Moderator
Posts: 2182
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support

Post by mhertz »

Hmm, that's strange... I checked bulls-eye using py3,9, and pypi have libtorrent 1.2.15 for py3.10 downwards to py3.7, so don't understand why fails. I just checked in an ubuntu VM, to see if needed quotes(because of the asterisk/glob), but worked fine without - you can try stipulate 'libtorrent==1.2.15' specifically(instead of using asterisk), but as said, no difference here, so hardly the culprit. Anyway, if all else fails, then you could try 'lbry-libtorrent' from pypi, which is libtorrent 1.2.4.

Also, I just googled it little, and some have such error with other apps, stating needing update pip before working, so maybe check if python3-pip is outdated and update it with apt. What is the versions of pip and python3, when running 'pip3 -V' and 'python3 -V' ?
Post Reply