[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
jorgenp
New User
New User
Posts: 3
Joined: Wed Dec 18, 2013 9:47 am

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

Post by jorgenp »

Just to update on my issue.
I removed old versions of libtorrent and deluge on the system (with apt-get purge deluged deluge-common deluge libtorrent-rasterbar-dev libtorrent-rasterbar6 python-libtorrent)
And also removed all I could find under /usr/local/lib/python2.7/dist-packages/ that was related to libtorrent and deluge (that I had installed manually before).

Then I did this (I'm running a default installation of Raspbian):

Code: Select all

git clone -b 1.3-stable git://deluge-torrent.org/deluge.git
cd deluge/
sudo apt-get install subversion
vi get_libtorrent.sh
Change VERSION=14 to VERSION=16 and save.
python setup.py build
sudo python setup.py install
Let it build for a long time and then log out and back again then check installed version of deluged:

Code: Select all

pi@raspberrypi ~ $ deluged --version
deluged: 1.3.6-dev
libtorrent: 0.16.13.0
And now YaRSS2 works fine on my Raspberry Pi.

Now onto setting up iptables to only allow deluge to connect to Internet when VPN is up, but that should be easy...
Cmdrd
New User
New User
Posts: 3
Joined: Fri Jan 10, 2014 3:17 am

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

Post by Cmdrd »

I've been getting errors when trying to send an email when a torrent is added. Get the following message:
There was an error sending the notification email: [Errno 110] Connection timed out
I have checked every setting for my email, including manually setting it up in Thunderbird using the same information (succeeds). It still fails for YaRSS. It is a Gmail account if that helps.

I'm using Python 2.7 on both systems (server daemon and local client), deluge version 1.3.6, YaRSS2 version 1.3.2

If you need any more information, please let me know.

EDIT: I seemed to have found a partial resolution. I had the wrong port set. Was using 465, needed to use 587. The test emails work, but I seem to be having issues recieving the email when the torrent is added. It says that it is Sending Email [email name], but doesn't send an email and eventually shows the error above. I will start deluge with logging enabled to see if I can find anything.

Enabled logging on the deluge daemon and got the following output:
[ERROR ] 04:52:24 logger:71 YaRSS2.yarss_email:93: There was an error sending the notification email: [Errno 110] Connection timed out
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

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

Post by bro »

The log output should be the same in the deluge log as in the log message window for the YaRSS2 log messages. I have no idea why port 465 would work when sending test email and not later, but 587 is the port I've tested and found working for gmail.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Cmdrd
New User
New User
Posts: 3
Joined: Fri Jan 10, 2014 3:17 am

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

Post by Cmdrd »

Is there any more information or logging that I can do to help with debugging this problem? I will try this again, see if a fresh set of eyes looking at this will help.

Edit: Still getting the error that I posted above. Like I said, if there is any other information that I can provide, I will do what I can so this can be resolved, if it is resolvable. May just be a unique scenario too.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

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

Post by bro »

The test email is sent from the client machine, but when the torrent is added, the server machine will try to send the email, so that's why there is a difference.

Do you use VPN on the server?
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
Cmdrd
New User
New User
Posts: 3
Joined: Fri Jan 10, 2014 3:17 am

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

Post by Cmdrd »

That makes sense about the test email. The server does have a VPN option set up to be used, and all non-IMAP traffic is blocked. I can't believe I never noticed that before. That explains all these issues that are occuring. I will see if I can get that sorted out on my end.

EDIT: I have talked with the support technicians for the server and they have those ports blocked and the only way around it is to install my own SMTP server and use non-standard ports. I'll monkey around with this for a bit, but at least we got to the bottom of this. Thanks again.
MDE
New User
New User
Posts: 2
Joined: Sun Feb 16, 2014 1:35 pm

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

Post by MDE »

Hey guys..

Have recently started using Deluge as my BT Client at it works well on a headless Pi.

I've setup with YaRSS2 but seem to be getting a timed out error when fetching my RSS feed in the Subscription area.

I was hoping that maybe someone can post or email me another version with just the timeout setting increased from 10 seconds to 60 seconds.

I believe the correct file is rssfeed_handling.py and line 111.

Deluge V = 1.3.6 build
YaRSS2 = 1.3.2 Py 2.7

Thanks.
bro
Top Bloke
Top Bloke
Posts: 364
Joined: Sun Aug 28, 2011 6:46 pm
Location: Norway

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

Post by bro »

MDE wrote:Hey guys..

Have recently started using Deluge as my BT Client at it works well on a headless Pi.

I've setup with YaRSS2 but seem to be getting a timed out error when fetching my RSS feed in the Subscription area.

I was hoping that maybe someone can post or email me another version with just the timeout setting increased from 10 seconds to 60 seconds.

I believe the correct file is rssfeed_handling.py and line 111.

Deluge V = 1.3.6 build
YaRSS2 = 1.3.2 Py 2.7

Thanks.
Hi

You can fix it yourself by opening the egg file, extracting rssfeed_handling.py, open it in a text editor and change the timeout. After saving put rssfeed_handling.py back into the egg file. The egg is just is zip file. Report back if you're having trouble.
When reporting issues, please include any relevant information such as OS (and version), python version (for Windows users this depends on which Deluge installer was used), Deluge version and plugin version.
MDE
New User
New User
Posts: 2
Joined: Sun Feb 16, 2014 1:35 pm

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

Post by MDE »

Thanks will give it a go...nice t know. :)
liight

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

Post by liight »

Hi,

I am just starting to get familiar with Deluge & YaRSS2 so I apologize if this question has already been answered.
I am trying to run a script when torrents are added and completed (via the Execution plugin). However, torrents that are added via the YaRSS2 subscriptions do not appear to trigger a "Torrent added" event.

Am i doing something wrong?
Thanks in advance
Post Reply