Simple RSS problem / deluge 0.5.5 / traceback

General support for problems installing or using Deluge
Post Reply
lvb

Simple RSS problem / deluge 0.5.5 / traceback

Post by lvb »

Hi, I'm having a problem with the Simple RSS plugin. It may be that I'm am incorrectly setting it up (I can't find documentation or simple examples to follow in the FAQ or Deluge Plugin page), please let me know

This is what I am doing:

1- activate Simple RSS plugin
2- In the plugin preferences:
- Add a feed; I am adding this:
http://www.mininova.org/rss/rwc

- I don't add any filter (I tried adding a single filter with "*" as filter string, same results)
(PS:Is the Filter String format documented somewhere, or examples provided? If not, can someone post filter list examples?)

- go to Broadchatcher Options and click on Check Feeds Now

- Go back to Torrents, no torrents show up (however, if you follow the RSS link in firefox, quite a few torrent entries are listed)

- And: I get a python traceback in the Console (see below)

- FYI ultimately what I would like to do is as follows: have the Broadcatcher monitor Mininova for "RWC", and when the search includes "England" and "Samoa", then catch the torrent. Maybe I'm doing things wrong here?

Thanks!

Here's the console output:

myname@mycomputer:~$ deluge
no existing Deluge session
Starting new Deluge session...
deluge_core; using libtorrent 0.13.0.0. Compiled with NDEBUG.
Applying preferences
Pickling state...
Scanning plugin dir /usr/share/deluge/plugins
Initialising plugin ExtraStats
Initialising plugin TorrentSearch
Initialising plugin TorrentCreator
Initialising plugin TorrentFiles
Initialising plugin NetworkHealth
Initialising plugin BlocklistImport
Initialising plugin WebSeed
Initialising plugin Locations
Initialising plugin MoveTorrent
Initialising plugin TorrentNotification
Initialising plugin SimpleRSS
Initialising plugin TorrentPeers
Initialising plugin DesiredRatio
Initialising plugin TorrentPieces
Initialising plugin NetworkGraph
Initialising plugin EventLogging
Initialising plugin SpeedLimiter
Applying preferences
Starting DHT...
Loading TorrentPieces plugin...
Loading ExtraStats plugin...
Loading TorrentFiles plugin...
Loading blocklist plugin ...
importing with gzmule
GZMuleReader loading /home/myname/.config/deluge/blocklist.cache
MuleReader loading
TextBase loading
Starting import
Import finished
Attempting to parse RWC
Parsed Mininova
Traceback (most recent call last):
File "/usr/share/deluge/plugins/SimpleRSS/plugin.py", line 314, in chkfeeds_clicked
self.checkfeeds()
File "/usr/share/deluge/plugins/SimpleRSS/plugin.py", line 336, in checkfeeds
tmplist = [(entry["date_parsed"], name, entry["title"], entry.enclosures[0].href) for entry in entries]
File "/usr/share/deluge/plugins/SimpleRSS/feedparser.py", line 236, in __getattr__
raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'enclosures'
gazpachoking
Moderator
Moderator
Posts: 315
Joined: Sat Aug 18, 2007 2:28 pm
Location: Pittsburgh, USA

Re: Simple RSS problem / deluge 0.5.5 / traceback

Post by gazpachoking »

I'm not sure if this is the problem, but to get mininova rss feeds to link directly to the torrents you have to provide the direct argument..
i.e. http://www.mininova.org/rss/rwc?direct
See if that fixes it.
test
New User
New User
Posts: 8
Joined: Mon Sep 24, 2007 3:33 am

Re: Simple RSS problem / deluge 0.5.5 / traceback

Post by test »

Hi, thanks a lot for the advise, but for some reason still not working.

With the new link (http://www.mininova.org/rss/rwc?direct), I notice in Firefox that now the RSS entries are all links to the .torrent files (the come in this format: http://www.mininova.org/get/903610 ;if you click on this, you get the torrent file). Before, I was not getting links to the torrents in the rss feed.

Still no luck with rss broadcatcher; i add the feed in, I added a single filter with just a "*" (without the quotation marks), click Check Feeds Now, and get nothing. I also tried removing the filter altogether, same result.

Any other hint? what RSS sites are you guys successfully using with this plugin?

This is what I get in the console:

Attempting to parse rwc
Parsed Mininova
Traceback (most recent call last):
File "/usr/share/deluge/plugins/SimpleRSS/plugin.py", line 314, in chkfeeds_clicked
self.checkfeeds()
File "/usr/share/deluge/plugins/SimpleRSS/plugin.py", line 336, in checkfeeds
tmplist = [(entry["date_parsed"], name, entry["title"], entry.enclosures[0].href) for entry in entries]
File "/usr/share/deluge/plugins/SimpleRSS/feedparser.py", line 236, in __getattr__
raise AttributeError, "object has no attribute '%s'" % key
AttributeError: object has no attribute 'enclosures'
daddy
Seeder
Seeder
Posts: 100
Joined: Sun Jul 22, 2007 12:14 am

Re: Simple RSS problem / deluge 0.5.5 / traceback

Post by daddy »

Open the plugin.py and replace all occurrences of

Code: Select all

entry.enclosures[0].href
with

Code: Select all

entry.links[0].href
test
New User
New User
Posts: 8
Joined: Mon Sep 24, 2007 3:33 am

Re: Simple RSS problem / deluge 0.5.5 / traceback

Post by test »

thanks for the advise... quick question: where can i find plugin.py? (tried /usr/share/deluge but it does not seem to be there)
daddy
Seeder
Seeder
Posts: 100
Joined: Sun Jul 22, 2007 12:14 am

Re: Simple RSS problem / deluge 0.5.5 / traceback

Post by daddy »

test wrote:thanks for the advise... quick question: where can i find plugin.py? (tried /usr/share/deluge but it does not seem to be there)
Sorry, I guess I could have been a bit more specific about that. /usr/share/deluge/plugins/SimpleRSS/plugin.py
test
New User
New User
Posts: 8
Joined: Mon Sep 24, 2007 3:33 am

Re: Simple RSS problem / deluge 0.5.5 / traceback

Post by test »

Hey mr daddy, you fixed the problem, now I see the list of torrents inside the plugin config dialog! (hopefully they will fix this in deluge 0.5.5+1)

Now, can I'm trying to setup a filter and I'm not hitting the right keys.

For example, one of the torrent names that the plugin sees is:

Rugby Union-RWC(2007)-45-Semi finals-England vs France-13 October


I want to match "England" AND "France" AND "13" and if the three strings are present in the name, then have deluge download the torrent.

I've tested all formats I could think of for the "Filter Exp." field, with no luck, I can't get deluge to download anything. Could you give me a hint/example on how to build the expression?

Thanks!!!
Post Reply