[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
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 »

Have you tested running the client with loggiing?
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.
oscillator

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

Post by oscillator »

I could use a helping hand.... I had this working flawlessly for a month or two. When I switched over to a VPN my deluge got a little out of sorts. Now I can set up the plugin but it doesn't run. When I click on the subscription to run now....my terminal window that I use to ssh in to the computer spits out this -

Code: Select all

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    f(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 368, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 464, in _startRunCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 551, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/pi/.config/deluge/plugins/YaRSS2-1.2.1-py2.7.egg/yarss2/rssfeed_scheduler.py", line 152, in add_torrents_callback
    add_torrent_func(save_subscription_func, matching_torrents, config)
  File "/home/pi/.config/deluge/plugins/YaRSS2-1.2.1-py2.7.egg/yarss2/torrent_handling.py", line 168, in add_torrents
    torrent_download = self.add_torrent(torrent_match)
  File "/home/pi/.config/deluge/plugins/YaRSS2-1.2.1-py2.7.egg/yarss2/torrent_handling.py", line 143, in add_torrent
    download.torrent_id = component.get("TorrentManager").add(options=options, magnet=download.url)
  File "/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py", line 450, in add
    handle = lt.add_magnet_uri(self.session, magnet, add_torrent_params)
Boost.Python.ArgumentError: Python argument types in
    libtorrent.add_magnet_uri(session, unicode, dict)
did not match C++ signature:
    add_magnet_uri(libtorrent::session {lvalue}, std::string, boost::python::dict)
The log doesn't show anything out of the ordinary. Just this. I then have to ssh in a new window to kill the process before I can continue.

Help!
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 »

Umm...looks like the libtorrent call add_magnet_uri doesn't like the second argument being unicode. Not sure why this happens...
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.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

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

Post by shinger »

bro wrote:Have you tested running the client with loggiing?

Bro, sorry for my late reply.

This is the loggin.

Code: Select all

[INFO    ] 17:19:52 ui:121 Deluge ui 1.3.6
[INFO    ] 17:19:52 ui:124 Starting gtk ui..
[WARNING ] 17:19:52 gtkui:187 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 17:19:53 client:217 Connecting to daemon at 127.0.0.1:<PORT>..
[INFO    ] 17:19:53 client:217 Connecting to daemon at 192.168.X.XXX:<PORT>..
[WARNING ] 17:19:53 client:220 Connection to daemon at 127.0.0.1:<PORT> failed: Connection was refused by other side: 111: Connection refused.
[INFO    ] 17:19:53 client:121 Connected to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:53 client:224 Connection lost to daemon at 192.168.X.XXX:<PORT> reason: Connection was closed cleanly.
[INFO    ] 17:19:55 client:217 Connecting to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:55 client:121 Connected to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Notifications enabled..
[WARNING ] 17:19:56 pluginmanagerbase:130 Cannot enable non-existant plugin YaRSS2
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Scheduler enabled..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Extractor enabled..
The YaRSS2 does excist

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge/plugins$ ls -a
.  ..  YaRSS2-1.2.0-py2.7.egg.old  YaRSS2-1.2.1-py2.7.egg
Bro you already spoke about the "libtorrent" dependency here. I had this problem before, but that fix doesnt fix it anymore.

http://forum.deluge-torrent.org/viewtop ... 9&p=177323
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
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 »

shinger wrote:This is the loggin.

Code: Select all

[INFO    ] 17:19:52 ui:121 Deluge ui 1.3.6
[INFO    ] 17:19:52 ui:124 Starting gtk ui..
[WARNING ] 17:19:52 gtkui:187 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 17:19:53 client:217 Connecting to daemon at 127.0.0.1:<PORT>..
[INFO    ] 17:19:53 client:217 Connecting to daemon at 192.168.X.XXX:<PORT>..
[WARNING ] 17:19:53 client:220 Connection to daemon at 127.0.0.1:<PORT> failed: Connection was refused by other side: 111: Connection refused.
[INFO    ] 17:19:53 client:121 Connected to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:53 client:224 Connection lost to daemon at 192.168.X.XXX:<PORT> reason: Connection was closed cleanly.
[INFO    ] 17:19:55 client:217 Connecting to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:55 client:121 Connected to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Notifications enabled..
[WARNING ] 17:19:56 pluginmanagerbase:130 Cannot enable non-existant plugin YaRSS2
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Scheduler enabled..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Extractor enabled..
The YaRSS2 does excist

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge/plugins$ ls -a
.  ..  YaRSS2-1.2.0-py2.7.egg.old  YaRSS2-1.2.1-py2.7.egg
Bro you already spoke about the "libtorrent" dependency here. I had this problem before, but that fix doesnt fix it anymore.

http://forum.deluge-torrent.org/viewtop ... 9&p=177323
The log file is from your desktop, but the ls command is executed on your NAS which is where you run the daemon, no? The YaRSS2 egg file must also be located in the plugins directory on your desktop computer which is where you run the deluge GTK client.
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.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

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

Post by shinger »

bro wrote:
shinger wrote:This is the loggin.

Code: Select all

[INFO    ] 17:19:52 ui:121 Deluge ui 1.3.6
[INFO    ] 17:19:52 ui:124 Starting gtk ui..
[WARNING ] 17:19:52 gtkui:187 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[INFO    ] 17:19:53 client:217 Connecting to daemon at 127.0.0.1:<PORT>..
[INFO    ] 17:19:53 client:217 Connecting to daemon at 192.168.X.XXX:<PORT>..
[WARNING ] 17:19:53 client:220 Connection to daemon at 127.0.0.1:<PORT> failed: Connection was refused by other side: 111: Connection refused.
[INFO    ] 17:19:53 client:121 Connected to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:53 client:224 Connection lost to daemon at 192.168.X.XXX:<PORT> reason: Connection was closed cleanly.
[INFO    ] 17:19:55 client:217 Connecting to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:55 client:121 Connected to daemon at 192.168.X.XXX:<PORT>..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Notifications enabled..
[WARNING ] 17:19:56 pluginmanagerbase:130 Cannot enable non-existant plugin YaRSS2
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Scheduler enabled..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Blocklist enabled..
[INFO    ] 17:19:56 pluginmanagerbase:158 Plugin Extractor enabled..
The YaRSS2 does excist

Code: Select all

<USER>@<NAS>:/var/lib/deluge/.config/deluge/plugins$ ls -a
.  ..  YaRSS2-1.2.0-py2.7.egg.old  YaRSS2-1.2.1-py2.7.egg
Bro you already spoke about the "libtorrent" dependency here. I had this problem before, but that fix doesnt fix it anymore.

http://forum.deluge-torrent.org/viewtop ... 9&p=177323
The log file is from your desktop, but the ls command is executed on your NAS which is where you run the daemon, no? The YaRSS2 egg file must also be located in the plugins directory on your desktop computer which is where you run the deluge GTK client.

AAAAAAAHHH.. that indeed did the trick. Well my question then is, isn't it possible that deluge-gtk can use the YaRSS2 egg file from the server where the daemon runs? Deluge-gtk would only be a mask for the daemon.
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
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 »

shinger wrote:AAAAAAAHHH.. that indeed did the trick. Well my question then is, isn't it possible that deluge-gtk can use the YaRSS2 egg file from the server where the daemon runs? Deluge-gtk would only be a mask for the daemon.
It would be possible to have the client download the egg from the server and then restart the client to have the library loaded.
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.
shinger
Seeder
Seeder
Posts: 146
Joined: Sat Jun 05, 2010 1:02 pm

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

Post by shinger »

bro wrote:
shinger wrote:AAAAAAAHHH.. that indeed did the trick. Well my question then is, isn't it possible that deluge-gtk can use the YaRSS2 egg file from the server where the daemon runs? Deluge-gtk would only be a mask for the daemon.
It would be possible to have the client download the egg from the server and then restart the client to have the library loaded.

Yes, this would really take away some human ignorance :D.
===============================================================
Server: Rock 5B 8 Cores (ARM), 16 GB RAM, 2 TB 970 Evo +
OS: Linux Ubuntu 24.04 LTS
Deluge: v2.1.2
Plugins: Blocklist, LabelPlus, ItConfig, MyScheduler, Stats, Notifications, YaRSS2
Edoc
New User
New User
Posts: 3
Joined: Fri Oct 04, 2013 4:06 am

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

Post by Edoc »

Hey there, I just updated the plugin and it seems that I can't add nor edit subscriptions. The previous version (YaRSS2 1.2.1) works just fine.

Deluge 1.3.6 / YaRSS2 1.3.0 / Windows 8.1
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 »

Edoc wrote:Hey there, I just updated the plugin and it seems that I can't add nor edit subscriptions. The previous version (YaRSS2 1.2.1) works just fine.

Deluge 1.3.6 / YaRSS2 1.3.0 / Windows 8.1
Hi

Can you start deluge with logging and see if you get some useful output?

Code: Select all

deluge -l deluge.txt -L info
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.
Post Reply