Public bug reported:

My Python application works in 18.10 fine, but when upgrading to 19.10
for development reasons the same script produces the errors reported
below. I have checked on the Python bug tracker and there are no related
bug reports.

Traceback (most recent call last):
  File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/lib/python3.7/http/client.py", line 1229, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 956, in send
    self.connect()
  File "/usr/lib/python3.7/http/client.py", line 1384, in connect
    super().connect()
  File "/usr/lib/python3.7/http/client.py", line 928, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/usr/lib/python3.7/socket.py", line 707, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/pihole-panel/main.py", line 312, in <module>
    win = GridWindow()
  File "/usr/lib/pihole-panel/main.py", line 37, in __init__
    self.updates_frame = self.draw_updates_frame()
  File "/usr/lib/pihole-panel/main.py", line 132, in draw_updates_frame
    if self.version_check() == True:
  File "/usr/lib/pihole-panel/main.py", line 53, in version_check
    get_version = urlopen('https://urlchanged.com').read()
  File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name 
resolution>

** Affects: python3-defaults (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  My Python application works in 18.10 fine, but when upgrading to 19.10
  for development reasons the same script produces the errors reported
  below. I have checked on the Python bug tracker and there are no related
  bug reports.
  
  Traceback (most recent call last):
-   File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open
-     encode_chunked=req.has_header('Transfer-encoding'))
-   File "/usr/lib/python3.7/http/client.py", line 1229, in request
-     self._send_request(method, url, body, headers, encode_chunked)
-   File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
-     self.endheaders(body, encode_chunked=encode_chunked)
-   File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
-     self._send_output(message_body, encode_chunked=encode_chunked)
-   File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
-     self.send(msg)
-   File "/usr/lib/python3.7/http/client.py", line 956, in send
-     self.connect()
-   File "/usr/lib/python3.7/http/client.py", line 1384, in connect
-     super().connect()
-   File "/usr/lib/python3.7/http/client.py", line 928, in connect
-     (self.host,self.port), self.timeout, self.source_address)
-   File "/usr/lib/python3.7/socket.py", line 707, in create_connection
-     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
-   File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
-     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
+   File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open
+     encode_chunked=req.has_header('Transfer-encoding'))
+   File "/usr/lib/python3.7/http/client.py", line 1229, in request
+     self._send_request(method, url, body, headers, encode_chunked)
+   File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
+     self.endheaders(body, encode_chunked=encode_chunked)
+   File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
+     self._send_output(message_body, encode_chunked=encode_chunked)
+   File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
+     self.send(msg)
+   File "/usr/lib/python3.7/http/client.py", line 956, in send
+     self.connect()
+   File "/usr/lib/python3.7/http/client.py", line 1384, in connect
+     super().connect()
+   File "/usr/lib/python3.7/http/client.py", line 928, in connect
+     (self.host,self.port), self.timeout, self.source_address)
+   File "/usr/lib/python3.7/socket.py", line 707, in create_connection
+     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
+   File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
+     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  socket.gaierror: [Errno -3] Temporary failure in name resolution
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
-   File "/usr/lib/pihole-panel/main.py", line 312, in <module>
-     win = GridWindow()
-   File "/usr/lib/pihole-panel/main.py", line 37, in __init__
-     self.updates_frame = self.draw_updates_frame()
-   File "/usr/lib/pihole-panel/main.py", line 132, in draw_updates_frame
-     if self.version_check() == True:
-   File "/usr/lib/pihole-panel/main.py", line 53, in version_check
-     get_version = 
urlopen('https://raw.githubusercontent.com/daleosm/PiHole-Panel/master/VERSION').read()
-   File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
-     return opener.open(url, data, timeout)
-   File "/usr/lib/python3.7/urllib/request.py", line 525, in open
-     response = self._open(req, data)
-   File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
-     '_open', req)
-   File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
-     result = func(*args)
-   File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open
-     context=self._context, check_hostname=self._check_hostname)
-   File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open
-     raise URLError(err)
+   File "/usr/lib/pihole-panel/main.py", line 312, in <module>
+     win = GridWindow()
+   File "/usr/lib/pihole-panel/main.py", line 37, in __init__
+     self.updates_frame = self.draw_updates_frame()
+   File "/usr/lib/pihole-panel/main.py", line 132, in draw_updates_frame
+     if self.version_check() == True:
+   File "/usr/lib/pihole-panel/main.py", line 53, in version_check
+     get_version = urlopen('https://urlchanged.com').read()
+   File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
+     return opener.open(url, data, timeout)
+   File "/usr/lib/python3.7/urllib/request.py", line 525, in open
+     response = self._open(req, data)
+   File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
+     '_open', req)
+   File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
+     result = func(*args)
+   File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open
+     context=self._context, check_hostname=self._check_hostname)
+   File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open
+     raise URLError(err)
  urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name 
resolution>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/1821822

Title:
  Temporary failure in name resolution in Python 3.7.2

Status in python3-defaults package in Ubuntu:
  New

Bug description:
  My Python application works in 18.10 fine, but when upgrading to 19.10
  for development reasons the same script produces the errors reported
  below. I have checked on the Python bug tracker and there are no
  related bug reports.

  Traceback (most recent call last):
    File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open
      encode_chunked=req.has_header('Transfer-encoding'))
    File "/usr/lib/python3.7/http/client.py", line 1229, in request
      self._send_request(method, url, body, headers, encode_chunked)
    File "/usr/lib/python3.7/http/client.py", line 1275, in _send_request
      self.endheaders(body, encode_chunked=encode_chunked)
    File "/usr/lib/python3.7/http/client.py", line 1224, in endheaders
      self._send_output(message_body, encode_chunked=encode_chunked)
    File "/usr/lib/python3.7/http/client.py", line 1016, in _send_output
      self.send(msg)
    File "/usr/lib/python3.7/http/client.py", line 956, in send
      self.connect()
    File "/usr/lib/python3.7/http/client.py", line 1384, in connect
      super().connect()
    File "/usr/lib/python3.7/http/client.py", line 928, in connect
      (self.host,self.port), self.timeout, self.source_address)
    File "/usr/lib/python3.7/socket.py", line 707, in create_connection
      for res in getaddrinfo(host, port, 0, SOCK_STREAM):
    File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
      for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  socket.gaierror: [Errno -3] Temporary failure in name resolution

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/usr/lib/pihole-panel/main.py", line 312, in <module>
      win = GridWindow()
    File "/usr/lib/pihole-panel/main.py", line 37, in __init__
      self.updates_frame = self.draw_updates_frame()
    File "/usr/lib/pihole-panel/main.py", line 132, in draw_updates_frame
      if self.version_check() == True:
    File "/usr/lib/pihole-panel/main.py", line 53, in version_check
      get_version = urlopen('https://urlchanged.com').read()
    File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
      return opener.open(url, data, timeout)
    File "/usr/lib/python3.7/urllib/request.py", line 525, in open
      response = self._open(req, data)
    File "/usr/lib/python3.7/urllib/request.py", line 543, in _open
      '_open', req)
    File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
      result = func(*args)
    File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open
      context=self._context, check_hostname=self._check_hostname)
    File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open
      raise URLError(err)
  urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name 
resolution>

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1821822/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to