Project

General

Profile

Actions

Bug #5971

closed

tvhmeta: urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>

Added by Christian Eiden over 4 years ago. Updated over 2 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-11-02
Due date:
% Done:

0%

Estimated time:
Found in version:
214a14f2968857331dc746609e15c9ad46b5f13e
Affected Versions:

Description

cyke@tv:~$ /usr/bin/tvhmeta --uuid 956d4b67c0b537f490a0493b28a7651c --tmdb-key 1234567890abcdefghijk --user someuser --password sompasswd
2020-11-02 21:31:03,519:INFO:tvhmeta:452:Got movie modules: [tv_meta_tmdb] tv modules [tv_meta_tmdb,tv_meta_tvdb]
2020-11-02 21:31:03,519:INFO:tvhmeta:149:Sending uuid=956d4b67c0b537f490a0493b28a7651c&list=uuid%2Cimage%2Cfanart_image%2Ctitle%2Ccopyright_year%2Cepisode_disp%2Curi&grid=1 to http://someuser:sompasswd@localhost:9981/api/idnode/load
Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1350, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 950, in send
    self.connect()
  File "/usr/lib/python3.8/http/client.py", line 921, in connect
    self.sock = self._create_connection(
  File "/usr/lib/python3.8/socket.py", line 787, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/tvhmeta", line 458, in <module>
    process(sys.argv[1:])
  File "/usr/bin/tvhmeta", line 453, in process
    tvhmeta.fetch_and_persist_artwork(opts.uuid, opts.force_refresh, opts.modules_movie, opts.modules_tv)
  File "/usr/bin/tvhmeta", line 225, in fetch_and_persist_artwork
    recjson = self.request("api/idnode/load", data)
  File "/usr/bin/tvhmeta", line 150, in request
    req = urlopen(full_url, data=bytearray(data, 'utf-8'))
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 1379, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/lib/python3.8/urllib/request.py", line 1353, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Actions

Also available in: Atom PDF