syncpackage: httplib2.error.ServerNotFoundError: Unable to find the server at api.launchpad.test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
syncpackage fails to connect to api.launchpad.test:
```
Traceback:
Traceback (most recent call last):
File "/usr/lib/
conn.connect()
File "/usr/lib/
address_info = socket.
File "/usr/lib/
for res in _socket.
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/
main()
File "/usr/bin/
Launchpad.
File "/usr/lib/
self.__lp = LP.login_
File "/usr/lib/
return cls._authorize_
File "/usr/lib/
return cls(
^^^^
File "/usr/lib/
super(
File "/usr/lib/
self.
^^
File "/usr/lib/
response, content = self._request(url, extra_headers=
File "/usr/lib/
response, content = self._request_
File "/usr/lib/
response, content = self._connectio
File "/usr/lib/
(response, content) = self._request(
File "/usr/lib/
response, content = super(Launchpad
File "/usr/lib/
return super(RestfulHttp, self)._request(
File "/usr/lib/
(response, content) = self._conn_
File "/usr/lib/
raise ServerNotFoundE
httplib2.
```
syncpackage uses `Launchpad.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: ubuntu-dev-tools 0.193ubuntu2
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: Unity:Unity7:ubuntu
Date: Fri Jun 23 16:44:20 2023
InstallationDate: Installed on 2022-03-20 (460 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitec
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-dev-tools
UpgradeStatus: Upgraded to lunar on 2023-04-20 (64 days ago)
Changed in launchpad: | |
status: | New → Confirmed |
Looking at the Launchpad class, syncpackage should specify `service_root` instead of `service` (and `api_version` is renamed to `version`).