using external API - save_subscription breaks YaRSS2

Issue #51 resolved
Dima Dibrov created an issue

HI, I am working on a telegram controlling YaRSS2 plugin and I have faced this behavior.

I can see here two bugs: 1. when using the external function (API) save_subscription in it breaks the GUI - the new subscription wouldn't appear, more over several existing subscriptions disappear.

  1. when trying to initiate_rssfeed_update I get :

[WARNING ] 09:21:12 logger:41 YaRSS2.rssfeed_scheduler:93: An exception was thrown by the RSS update handler. Please report this bug! Traceback (most recent call last): File "xxxxxxxxxxxx\appdata\roaming\deluge\plugins\yarss2-1.4.3-py2.7.egg\yarss2\rssfeed_scheduler.py", line 89, in rssfeed_update_handler_safe return self.rssfeed_update_handler(rssfeed_key=rssfeed_key, subscription_key=subscription_key) File "xxxxxxxxxxxx\appdata\roaming\deluge\plugins\yarss2-1.4.3-py2.7.egg\yarss2\rssfeed_scheduler.py", line 107, in rssfeed_update_handler subscription_key=subscription_key) File "xxxxxxxxxxxx\appdata\roaming\deluge\plugins\yarss2-1.4.3-py2.7.egg\yarss2\rssfeed_handling.py", line 303, in fetch_feed_torrents if subscription_data["rssfeed_key"] == rssfeed_key and subscription_data["active"] is True: KeyError: 'active'

Attached pre and post GUI pictures + debug log

Comments (2)

  1. Log in to comment