[Plugin] YaRSS2 - RSS plugin with GTKUI support

Suggest, post, or discuss plugins for Deluge
ss4johnny
Member
Member
Posts: 14
Joined: Fri Sep 08, 2017 11:44 pm

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

Postby ss4johnny » Sun Jul 05, 2020 4:19 pm

ss4johnny wrote:
ss4johnny wrote:I'm running YaRSS2 on the Windows version of Deluge 1.3.15. I think the YaRSS2 version is 1.4.3 for python 2.7.

I know it's an old version (because of being on Windows), but I have been noticing some random crashes. I went through the regex I had set up and tried right-clicking and running each subscription until finding the problem. One that I noticed was a problem was below.

The original version was
The\.Good\.Doctor\.S\d{2}E\d{2}\.(?:(?=PROPER\.)PROPER\.|(?:(?=REPACK\.)REPACK\.|(?:(?=PROPER\.REPACK\.)PROPER\.REPACK\.|(?=REPACK\.PROPER\.)REPACK\.PROPER\.|)))WEBRip\.x264-ION10

I modified it to this and it still causes crashes
The\.Good\.Doctor\.S\d{2}E\d{2}\.PROPER\.WEBRip\.x264-ION10

However, this has no problems
The\.Good\.Doctor\.S\d{2}E\d{2}\.WEBRip\.x264-ION10


I see that there is a "Message Log" in the tabs for YaRSS2. Is this information stored anywhere on the hard drive?


Okay, so I enabled deluge logging with the FAQ recommendations. I forced a few to run and then hit on one that caused a problem.

Microsoft Windows [Version 10.0.18362.900]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\[removed]>"%ProgramFiles%\Deluge\deluge-debug.exe" -L error -l "%UserProfile%\Desktop\deluge.log"

(deluge:18420): Gtk-WARNING **: 12:15:01.468: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:01.470: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:01.470: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:01.471: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:01.471: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:01.917: GtkFrame does not have a child property called type
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.

(deluge:18420): Gtk-WARNING **: 12:15:12.997: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:12.998: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:12.998: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:12.999: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:12.999: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.000: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.000: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.001: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.001: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.002: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.003: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.003: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.004: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.004: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.005: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.005: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.006: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.006: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.009: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.009: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.014: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.014: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.016: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.018: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)

(deluge:18420): Gtk-WARNING **: 12:15:13.036: for_size smaller than min-size (0 < 15) while measuring gadget (node button, owner GtkSpinButton)
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\gtk3ui\gtkui.py:284: Warning: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed

(deluge:18420): Gtk-WARNING **: 12:16:03.471: ../gtk/gtktreemodel.c:2507: bad row reference, proxy has no outstanding row references
C:\Program Files\Deluge\lib\site-packages\gi\overrides\Gtk.py:1632: Warning: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed
return _Gtk_main(*args, **kwargs)

(deluge:18420): Gtk-WARNING **: 12:16:03.473: ../gtk/gtktreemodel.c:2507: bad row reference, proxy has no outstanding row references

(deluge:18420): Gtk-WARNING **: 12:16:03.475: ../gtk/gtktreemodel.c:2507: bad row reference, proxy has no outstanding row references
c:\users\[removed]\appdata\roaming\deluge\plugins\yarss2-2.1.4-py3.8.egg\yarss2\include\dateutil\dateutil\parser\_parser.py:1213: UnknownTimezoneWarning: tzname CEST identified but not understood. Pass `tzinfos` argument in order to correctly return a timezone-aware datetime. In a future version, this will raise an exception.

(deluge:18420): Gtk-CRITICAL **: 12:16:05.745: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
C:\Program Files\Deluge\lib\site-packages\gi\overrides\Gtk.py:1632: Warning: g_value_type_compatible: assertion 'src_type' failed
return _Gtk_main(*args, **kwargs)
C:\Program Files\Deluge\lib\site-packages\gi\overrides\Gtk.py:1632: Warning: unable to set property 'text' of type 'gchararray' from value of type '(NULL)'
return _Gtk_main(*args, **kwargs)

(deluge:18420): Gtk-CRITICAL **: 12:16:05.746: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.747: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.747: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.748: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.748: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.748: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
C:\Program Files\Deluge\lib\site-packages\gi\overrides\Gtk.py:1632: Warning: unable to set property 'active' of type 'gboolean' from value of type '(NULL)'
return _Gtk_main(*args, **kwargs)

(deluge:18420): Gtk-CRITICAL **: 12:16:05.750: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed
C:\Program Files\Deluge\lib\site-packages\gi\overrides\Gtk.py:1632: Warning: unable to set property 'activatable' of type 'gboolean' from value of type '(NULL)'
return _Gtk_main(*args, **kwargs)

(deluge:18420): Gtk-CRITICAL **: 12:16:05.751: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.751: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.752: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.752: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.753: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.753: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.753: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.754: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.754: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.754: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.755: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.755: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.756: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.756: gtk_tree_path_to_string: assertion 'path != NULL' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.756: gtk_list_store_get_value: assertion 'iter_is_valid (iter, list_store)' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.757: gtk_list_store_get_path: assertion 'iter->stamp == priv->stamp' failed

(deluge:18420): Gtk-CRITICAL **: 12:16:05.757: gtk_tree_path_to_string: assertion 'path != NULL' failed

crodar
New User
New User
Posts: 1
Joined: Mon Jul 13, 2020 5:07 pm

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

Postby crodar » Mon Jul 13, 2020 5:10 pm

Hello I am trying to install on Manjaro.
The deluge version in the manjaro repos is 2.0.4.
The system python is 3.8.

When I try to install the eggs no matter which download I pick it seems to fail silently. I do not see any new messages in the logs when I have the logging set to the lowest level.


Thanks.

EDIT:
nvm I figured it out. I just used the 2.0.0 release and deleted the python version in the filename. This is stupid.

Also the anti spam riddle to register about Linux is confusing since it's not obvious it's asking which OS is named after a person. And it's not 100% correct since the name Macintosh technically comes from John Mcintosh the man who discovered the Mcintosh apple.

Bobby
Member
Member
Posts: 10
Joined: Wed Aug 05, 2020 7:37 pm

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

Postby Bobby » Mon Aug 10, 2020 5:04 pm

I am trying to get this rss working with the windows build, and in the yarrs message log there is a error line saysying this:

(2020-08-10T18:57:47): Exception occured in feedparser: No module named 'xml.etree.ElementTree'
(2020-08-10T18:57:47): Feedparser was called with url: 'rssurl' using cookies: '{}' and User-agent: 'Deluge v2.0.4.dev38 YaRSS2 v2.x.x Windows/10'
(2020-08-10T18:57:47): Stacktrace:
!! Traceback (most recent call last):
!! File "c:\program files\deluge\lib\site-packages\deluge\plugins\yarss2-2.x.x-py3.8.egg\yarss2\rssfeed_handling.py", line 184, in get_rssfeed_parsed
parsed_feed = fetch_and_parse_rssfeed(rssfeed_data["url"], user_agent=user_agent,
!! File "c:\program files\deluge\lib\site-packages\deluge\plugins\yarss2-2.x.x-py3.8.egg\yarss2\rssfeed_handling.py", line 105, in fetch_and_parse_rssfeed_atom
import atoma
!! File "<frozen zipimport>", line 259, in load_module
!! File "c:\program files\deluge\lib\site-packages\deluge\plugins\yarss2-2.x.x-py3.8.egg\yarss2\include\atoma\atoma\__init__.py", line 1, in <module>
from .atom import parse_atom_file, parse_atom_bytes
!! File "<frozen zipimport>", line 259, in load_module
!! File "c:\program files\deluge\lib\site-packages\deluge\plugins\yarss2-2.x.x-py3.8.egg\yarss2\include\atoma\atoma\atom.py", line 5, in <module>
from xml.etree.ElementTree import Element

I have no idea if this is a plguin error or a build problem with the windows version, but i sure could need some help debuging it :) Also great plugin i have been using it for years when i used deluge 1.3.15 and never had any issues with it


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 5 guests