An exception was thrown by the RSS update handler

Issue #20 resolved
Former user created an issue

I trid to add feed "http://www.onibaku.ml/torrent/rss" but received error

Traceback (most recent call last): File "/root/.config/deluge/plugins/YaRSS2-1.3.3-py2.7.egg/yarss2/rssfeed_scheduler.py", line 112, in rssfeed_update_handler_safe return self.rssfeed_update_handler(rssfeed_key=rssfeed_key, subscription_key=subscription_key) File "/root/.config/deluge/plugins/YaRSS2-1.3.3-py2.7.egg/yarss2/rssfeed_scheduler.py", line 130, in rssfeed_update_handler subscription_key=subscription_key) File "/root/.config/deluge/plugins/YaRSS2-1.3.3-py2.7.egg/yarss2/rssfeed_handling.py", line 274, in fetch_feed_torrents self.fetch_feed(subscription_data, rssfeed_data, fetch_data) File "/root/.config/deluge/plugins/YaRSS2-1.3.3-py2.7.egg/yarss2/rssfeed_handling.py", line 314, in fetch_feed rssfeed_parsed = self.get_rssfeed_parsed(rssfeed_data, site_cookies_dict=fetch_data["site_cookies_dict"]) File "/root/.config/deluge/plugins/YaRSS2-1.3.3-py2.7.egg/yarss2/rssfeed_handling.py", line 135, in get_rssfeed_parsed dt = datetime.datetime(* published[:6]) TypeError: 'NoneType' object has no attribute 'getitem'

Comments (2)

  1. Bendik repo owner

    Fix #20: An exception was thrown by the RSS update handler

    This was caused by bad date format with no timezone. Added test to handle when parsing fails.

    → <<cset f2101c096844>>

  2. Log in to comment