Re: [Plugin] YaRSS2 - RSS plugin with GTKUI support
Posted: Tue May 18, 2021 3:17 pm
What is the latest version of this plugin there is working with @mhertz deluge dev51 rls ?
Support Forum for the Deluge BitTorrent Client
https://forum.deluge-torrent.org/
Just in case still wondered
[...]
While posting here:
[...]
@all, for reporters of issues in Peters last build, I.e missing icons, startup issues(in portable mode) and older libtorrent's fail run, I've previously posted fixes for that here: viewtopic.php?f=9&t=39551&start=700#p233322
[...]
Code: Select all
(2021-06-11T21:37:24): An exception was thrown by the RSS update handler. Please report this bug!
Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1248, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1008, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 948, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 919, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_handling.py", line 185, in get_rssfeed_parsed
parsed_feed = fetch_and_parse_rssfeed(rssfeed_data["url"], user_agent=user_agent,
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_handling.py", line 104, in fetch_and_parse_rssfeed_atom
result = http.download_file(url_file_stream_or_string, site_cookies_dict=site_cookies_dict,
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/util/http.py", line 48, in download_file
data = feedparsing._open_resource(url_file_stream_or_string, etag, modified, user_agent, referrer,
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/util/feedparsing/api.py", line 110, in _open_resource
return http.get(url_file_stream_or_string, etag, modified, agent, referrer, handlers, request_headers, result, timeout=timeout)
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/util/feedparsing/http.py", line 186, in get
f = opener.open(request, timeout=timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1375, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error timed out>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_scheduler.py", line 90, in rssfeed_update_handler_safe
return self.rssfeed_update_handler(rssfeed_key=rssfeed_key, subscription_key=subscription_key)
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_scheduler.py", line 107, in rssfeed_update_handler
fetch_result = self.rssfeedhandler.fetch_feed_torrents(self.yarss_config.get_config(), rssfeed_key,
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_handling.py", line 373, in fetch_feed_torrents
self.fetch_feed(subscription_data, rssfeed_data, fetch_data)
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_handling.py", line 412, in fetch_feed
rssfeed_parsed = self.get_rssfeed_parsed(rssfeed_data, site_cookies_dict=fetch_data["site_cookies_dict"],
File "/config/plugins/YaRSS2-2.1.5-py3.9.egg/yarss2/rssfeed_handling.py", line 192, in get_rssfeed_parsed
raise DelugeError("Exception occured in feedparser: " + str(e))
deluge.error.DelugeError: Exception occured in feedparser: <urlopen error timed out>
Code: Select all
from urllib.request import urlopen
with urlopen("https://google.com") as response: print(response.read())
Code: Select all
import http.client
a = http.client.HTTPSConnection("www.google.com")
a.request("GET", "/")
b = a.getresponse()
print(b.read())
Code: Select all
import socket
sock = socket.create_connection(("www.google.com",80))
print(sock)