Closed aberlaas closed 2 years ago
Should be fixed by 676be4a4fed0020a3a7dce95a1fdbe3520b5839b
Had the same issue and have just updated, now seeing the error log below....
/usr/bin/python3
Traceback (most recent call last):
File "/usr/lib/python3.10/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.10/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/lib/python3.10/http/client.py", line 975, in send
self.connect()
File "/usr/lib/python3.10/http/client.py", line 941, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.10/socket.py", line 824, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.10/socket.py", line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/morss/morss.py", line 278, in FeedFetch
req = crawler.adv_get(url=url, post=options.post, follow=('rss' if not options.items else None), policy=policy, force_min=5*60, force_max=60*60, timeout=TIMEOUT)
File "/usr/lib/python3.10/site-packages/morss/crawler.py", line 97, in adv_get
con = custom_opener(*args, **kwargs).open(url, data=post, timeout=timeout)
File "/usr/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 1377, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/usr/lib/python3.10/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name does not resolve>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/morss/__main__.py", line 39, in main
cli.cli_app()
File "/usr/lib/python3.10/site-packages/morss/cli.py", line 66, in cli_app
url, rss = FeedFetch(url, options)
File "/usr/lib/python3.10/site-packages/morss/morss.py", line 281, in FeedFetch
raise MorssException('Error downloading feed')
morss.morss.MorssException: Error downloading feed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.10/site-packages/morss/__main__.py", line 48, in <module>
main()
File "/usr/lib/python3.10/site-packages/morss/__main__.py", line 45, in main
print('ERROR: %s' % e.message)
AttributeError: 'MorssException' object has no attribute 'message'
Should both be fixed as of ecdb74812dc3e96188b4d70b5b034622ea934246 (published to docker hub just now)
Thanks, now it's starts fine Doubt it's related to this but Portainer reports the container as unhealthy but gives no help on what the issue is
Edit: ignore me, deleted the container and recreated and now showing as healthy
Good to see it's all solved
Hi,
Thank you for the hard work :)
Docker container is not running anymore. I think it may be related to your last commit.
Here the error code sent by the container:
Thanks,