Working with showrss.info feeds

Issue #8 resolved
Nicolas De Smyter created an issue

I am working with showrss.info feeds for torrent loading. I saw that the torrents were never loaded, even after a couple of days running. I know the showrss.info feeds work, because they do in other torrent applications.

I ran deluged with logging enabled, and then tried to run the subscription manually. The error I received:

Any suggestions to make the showrss.info feeds working are welcome. Even a workaround for the time being

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 "build/bdist.linux-x86_64/egg/yarss2/rssfeed_scheduler.py", line 166, in add_torrents_callback
    add_torrent_func(save_subscription_func, matching_torrents, config)
  File "build/bdist.linux-x86_64/egg/yarss2/torrent_handling.py", line 168, in add_torrents
    torrent_download = self.add_torrent(torrent_match)
  File "build/bdist.linux-x86_64/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 RSS feed looks something like this (without the newlines, and with 15 items instead of only 1):

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>showRSS personal feed</title>
        <link>http://showrss.info/</link>
        <ttl>30</ttl>
        <description>showRSS feed of the shows selected by the user</description>
        <item>
            <title>The Big Bang Theory 7x21 The Anything Can Happen Recurrence 720p</title>
            <link>magnet:?xt=urn:btih:9C75B1FCB41A2A692AE011620E2E1BC3A970AE14&amp;dn=The+Big+Bang+Theory+S07E21+720p+HDTV+X264+DIMENSION&amp;tr=udp://tracker.openbittorrent.com:80&amp;tr=udp://tracker.publicbt.com:80&amp;tr=udp://tracker.istole.it:80&amp;tr=http://tracker.istole.it&amp;tr=http://fr33dom.h33t.com:3310/announce</link>
            <guid isPermaLink="false">43ff1777371f4ba7341e21422a42ba90</guid>
            <pubDate>Fri, 25 Apr 2014 03:10:01 +0000</pubDate>
            <description>&lt;strong&gt;New HD 720p torrent: The Big Bang Theory 7x21 The Anything Can Happen Recurrence 720p. Link: &lt;a href=&quot;magnet:?xt=urn:btih:9C75B1FCB41A2A692AE011620E2E1BC3A970AE14&amp;dn=The+Big+Bang+Theory+S07E21+720p+HDTV+X264+DIMENSION&amp;tr=udp://tracker.openbittorrent.com:80&amp;tr=udp://tracker.publicbt.com:80&amp;tr=udp://tracker.istole.it:80&amp;tr=http://tracker.istole.it&amp;tr=http://fr33dom.h33t.com:3310/announce&quot;&gt;magnet:?xt=urn:btih:9C75B1FCB41A2A692AE011620E2E1BC3A970AE14&amp;dn=The+Big+Bang+Theory+S07E21+720p+HDTV+X264+DIMENSION&amp;tr=udp://tracker.openbittorrent.com:80&amp;tr=udp://tracker.publicbt.com:80&amp;tr=udp://tracker.istole.it:80&amp;tr=http://tracker.istole.it&amp;tr=http://fr33dom.h33t.com:3310/announce&lt;/a&gt;</description>
            <enclosure url="magnet:?xt=urn:btih:9C75B1FCB41A2A692AE011620E2E1BC3A970AE14&amp;dn=The+Big+Bang+Theory+S07E21+720p+HDTV+X264+DIMENSION&amp;tr=udp://tracker.openbittorrent.com:80&amp;tr=udp://tracker.publicbt.com:80&amp;tr=udp://tracker.istole.it:80&amp;tr=http://tracker.istole.it&amp;tr=http://fr33dom.h33t.com:3310/announce" length="0" type="application/x-bittorrent" />
        </item>
    </channel>
</rss>

Comments (2)

  1. Log in to comment