[Plugin] YaRSS2 - RSS plugin with GTKUI support

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

Sure :)

I started deluge, tried to add and edit some subscriptions and removed one, then closed it.

Code: Select all

[INFO    ] 04:23:08 main:125 Deluge ui 1.3.6
[INFO    ] 04:23:08 main:131 Starting ui..
[INFO    ] 04:23:08 ui:148 Starting GtkUI..
[WARNING ] 04:23:09 gtkui:187 Unable to register a 'die' handler with the GNOME session manager: No module named gnome.ui
[WARNING ] 04:23:10 config:361 Unable to open config file C:\Users\Edoc\AppData\Roaming\deluge\hostlist.conf.1.2: [Errno 2] No such file or directory: 'C:\\Users\\Edoc\\AppData\\Roaming\\deluge\\hostlist.conf.1.2'
[INFO    ] 04:23:10 daemon:124 Deluge daemon 1.3.6
[INFO    ] 04:23:10 core:80 Starting libtorrent 0.15.10.0 session..
[WARNING ] 04:23:10 preferencesmanager:496 Unable to find GeoIP database file!
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin AutoAdd enabled..
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin Extractor enabled..
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin Extractor enabled..
[INFO    ] 04:23:10 core:97 *** Start Label plugin ***
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin Label enabled..
[INFO    ] 04:23:10 logger:61 YaRSS2.__init__:52: Appending to sys.path: 'c:\users\edoc\appdata\roaming\deluge\plugins\yarss2-1.3.0-py2.6.egg/yarss2/include'
[INFO    ] 04:23:10 logger:61 YaRSS2.rssfeed_scheduler:64: Scheduled RSS Feed 'Series' with interval 5
[INFO    ] 04:23:10 logger:61 YaRSS2.core:72: Enabled YaRSS2 1.3.0
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin YaRSS2 enabled..
[INFO    ] 04:23:10 logger:61 YaRSS2.__init__:52: Appending to sys.path: 'c:\users\edoc\appdata\roaming\deluge\plugins\yarss2-1.3.0-py2.6.egg/yarss2/include'
[INFO    ] 04:23:10 pluginmanagerbase:158 Plugin YaRSS2 enabled..
[WARNING ] 04:23:10 torrentmanager:639 Unable to update state file to a compatible version: list index out of range
[WARNING ] 04:23:10 pluginmanagerbase:134 Cannot enable already enabled plugin AutoAdd
[WARNING ] 04:23:10 pluginmanagerbase:134 Cannot enable already enabled plugin Label
[WARNING ] 04:23:10 pluginmanagerbase:134 Cannot enable already enabled plugin YaRSS2
[WARNING ] 04:23:10 pluginmanagerbase:134 Cannot enable already enabled plugin Extractor
[INFO    ] 04:24:20 logger:61 YaRSS2.core:108: Deleting Subscription 'Marvels Agents of S H I E L D'
[INFO    ] 04:24:26 daemon:187 Waiting for components to shutdown..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin AutoAdd disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin Label disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin YaRSS2 disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin Extractor disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin AutoAdd disabled..
[WARNING ] 04:24:26 pluginmanagerbase:168 Plugin AutoAdd is not enabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin AutoAdd disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin Label disabled..
[WARNING ] 04:24:26 pluginmanagerbase:168 Plugin Label is not enabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin Label disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin YaRSS2 disabled..
[WARNING ] 04:24:26 pluginmanagerbase:168 Plugin YaRSS2 is not enabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin YaRSS2 disabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin Extractor disabled..
[WARNING ] 04:24:26 pluginmanagerbase:168 Plugin Extractor is not enabled..
[INFO    ] 04:24:26 pluginmanagerbase:170 Plugin Extractor disabled..
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 »

So you can delete a subscription, but what happens if you try to add? Can you start deluge with the debug script? It should be in the install dir I think. You might get some useful errors in the console.

You could also try to rename yarss2.conf to something else and see if it works to start with a new config. It should be inc:\users\edoc\appdata\roaming\deluge.
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.
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 »

bro wrote:So you can delete a subscription, but what happens if you try to add? Can you start deluge with the debug script? It should be in the install dir I think. You might get some useful errors in the console.

You could also try to rename yarss2.conf to something else and see if it works to start with a new config. It should be inc:\users\edoc\appdata\roaming\deluge.
All right, here you go, hope it helps :)

Code: Select all

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/gtkui.py", line 693, in on_button_add_subscription_clicked
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/dialog_subscription.py", line 116, in show
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/dialog_subscription.py", line 107, in setup
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/dialog_subscription.py", line 126, in setup_move_completed_combobox
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/path_chooser.py", line 44, in __init__
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/path_combo_chooser.py", line 933, in __init__
  File "build/bdist.linux-x86_64/egg/yarss2/gtkui/path_combo_chooser.py", line 807, in __init__
  File "gtk/_lazyutils.py", line 32, in __getattr__
ImportError: No module named keysyms
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 »

Ahh, shoot, a Windows dependancy issue. Typical.
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.
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 Windows package is missing a file. I just uploaded 1.3.1 which includes the missing file. Thanks for reporting the issue Edoc.
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.
Truk

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

Post by Truk »

Hey, I am new to this plugin and I've read through the thread but I can't find anyone having my issue. When I add a new RSS feed, and update the schedule, this is what the message log says:
>(2013-10-09T09:08:34): 30 items in feed, 0 matches the filter.
I do not want a filter. Unless the item has been previously seen and downloaded, I want it to download EVERYTHING in the feed. I cannot seem to find a way to disable this. Any input?
xyzzy
New User
New User
Posts: 4
Joined: Mon Oct 07, 2013 10:05 pm
Location: USA

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

Post by xyzzy »

Hi bro, thanks for the nice plugin. I really need good RSS functionality in switching from Azureus to Deluge. Unfortunately I have had a lot of problems in the transition. I'm running it on Windows and am experiencing frequent (sometimes every 1/2 hour) crashes. These may be related to YaRSS2, as they seem to happen just after an RSS update cycle, and seem not to happen if I never touch your RSS UI.

After some hours wasted trying to debug YaRSS2 1.3.0 (because it was not obvious that version was broken on Windows) I'm now using:
Python 2.6.6
Deluge 1.3.6
YaRSS2 1.3.1
as well as
LabelPlus 0.2.17 and MoveTools 0.1.8.1

I added a couple other plugins at one point but they don't seem to have materially affected the crash behavior, which manifests in two flavors: one in libgtk-win, which generates a nice dump file, the other in the C++ runtime.
I have collected debug logs and other info and will PM you their location if you'd like.
I hope you can shed some light on this!

p.s. bro, I've found I can reproduce the libgtk crash quickly by opening Deluge and immediately editing preferences and opening the YaRSS2 message log (leaving the window open until it crashes). If my RSS update interval is 5 minutes it only takes about 10 minutes to die.
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 »

Truk wrote:Hey, I am new to this plugin and I've read through the thread but I can't find anyone having my issue. When I add a new RSS feed, and update the schedule, this is what the message log says:
>(2013-10-09T09:08:34): 30 items in feed, 0 matches the filter.
I do not want a filter. Unless the item has been previously seen and downloaded, I want it to download EVERYTHING in the feed. I cannot seem to find a way to disable this. Any input?
You must have a value in the filter. When you have the subscription dialog opened you'll see a list of all the torrents in the list. To match everything, just use a punctuation mark and everything should be marked green.
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.
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 »

xyzzy wrote:Hi bro, thanks for the nice plugin. I really need good RSS functionality in switching from Azureus to Deluge. Unfortunately I have had a lot of problems in the transition. I'm running it on Windows and am experiencing frequent (sometimes every 1/2 hour) crashes. These may be related to YaRSS2, as they seem to happen just after an RSS update cycle, and seem not to happen if I never touch your RSS UI.

After some hours wasted trying to debug YaRSS2 1.3.0 (because it was not obvious that version was broken on Windows) I'm now using:
Python 2.6.6
Deluge 1.3.6
YaRSS2 1.3.1
as well as
LabelPlus 0.2.17 and MoveTools 0.1.8.1

I added a couple other plugins at one point but they don't seem to have materially affected the crash behavior, which manifests in two flavors: one in libgtk-win, which generates a nice dump file, the other in the C++ runtime.
I have collected debug logs and other info and will PM you their location if you'd like.
I hope you can shed some light on this!

p.s. bro, I've found I can reproduce the libgtk crash quickly by opening Deluge and immediately editing preferences and opening the YaRSS2 message log (leaving the window open until it crashes). If my RSS update interval is 5 minutes it only takes about 10 minutes to die.
Hi

If you could send me what you have I can look at it. If you run in daemon/thin client mode only the GTK client will crash, so the at the daemon will at least keep on running.
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.
xyzzy
New User
New User
Posts: 4
Joined: Mon Oct 07, 2013 10:05 pm
Location: USA

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

Post by xyzzy »

Thanks, bro, I PM'ed you my logs etc. I haven't tried the daemon/client mode yet but my current workaround is to make changes in the GUI, close Deluge, and then restart it and never touch the preferences dialog after that. I have been able to keep it running for a couple of days that way.
Post Reply