Page 28 of 78

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

Posted: Fri Sep 06, 2013 8:20 pm
by bro
Have you tested running the client with loggiing?

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

Posted: Wed Sep 11, 2013 2:55 am
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!

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

Posted: Thu Sep 12, 2013 12:02 pm
by bro
Umm...looks like the libtorrent call add_magnet_uri doesn't like the second argument being unicode. Not sure why this happens...

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

Posted: Thu Sep 12, 2013 3:23 pm
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

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

Posted: Fri Sep 13, 2013 2:29 pm
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.

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

Posted: Sun Sep 15, 2013 12:31 am
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.

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

Posted: Mon Sep 23, 2013 11:19 am
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.

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

Posted: Thu Sep 26, 2013 1:29 pm
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.

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

Posted: Fri Oct 04, 2013 4:13 am
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

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

Posted: Fri Oct 04, 2013 10:20 am
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