~ubuntu-server subscription changes
robie.basak at canonical.com
robie.basak at canonical.com
Tue Apr 25 08:00:02 UTC 2023
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1528, in _conn_request
conn.connect()
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1290, in connect
address_info = socket.getaddrinfo(host, port, 0, socket.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 "/home/robie/Code/Canonical/team-subscriptions.cron/subscription-sync.py", line 133, in <module>
main()
File "/home/robie/Code/Canonical/team-subscriptions.cron/subscription-sync.py", line 84, in main
lp = launchpadlib.launchpad.Launchpad.login_with(
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 564, in login_with
return cls._authorize_token_and_login(
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 387, in _authorize_token_and_login
return cls(credentials, authorization_engine, credential_store,
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 209, in __init__
super(Launchpad, self).__init__(
File "/usr/lib/python3/dist-packages/lazr/restfulclient/resource.py", line 490, in __init__
self._browser.get(root_resource), 'application/json')
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 448, in get
response, content = self._request(url, extra_headers=headers)
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 398, in _request
response, content = self._request_and_retry(
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 368, in _request_and_retry
response, content = self._connection.request(
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1948, in request
(response, content) = self._request(
File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 137, in _request
response, content = super(
File "/usr/lib/python3/dist-packages/lazr/restfulclient/_browser.py", line 193, in _request
return super(RestfulHttp, self)._request(
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1621, in _request
(response, content) = self._conn_request(
File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1535, in _conn_request
raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.ServerNotFoundError: Unable to find the server at api.launchpad.test
More information about the ubuntu-server
mailing list