2022-08-09 14:59:31 |
Dan Streetman |
description |
ubuntu-build assumes the lpapicache Launchpad will default to login(), but it now defaults to anonymous login, which breaks ubuntu-build operation.
ubuntu-build --batch --retry openimageio
Traceback (most recent call last):
File "/usr/bin/ubuntu-build", line 282, in <module>
main()
File "/usr/bin/ubuntu-build", line 260, in main
can_retry = options.retry and me.canUploadPackage(ubuntu_archive,
AttributeError: 'NoneType' object has no attribute 'canUploadPackage' |
[impact]
ubuntu-build assumes the lpapicache Launchpad will default to login(), but it now defaults to anonymous login, which breaks ubuntu-build operation.
[test case]
ubuntu-build --batch --retry openimageio
Traceback (most recent call last):
File "/usr/bin/ubuntu-build", line 282, in <module>
main()
File "/usr/bin/ubuntu-build", line 260, in main
can_retry = options.retry and me.canUploadPackage(ubuntu_archive,
AttributeError: 'NoneType' object has no attribute 'canUploadPackage'
[regression potential]
failure and/or errors running ubuntu-build
[scope]
This is needed only for jammy and kinetic.
The default was changed from login() to login_anonymously() with commit cb865e3b8, which was first included in 0.179, so this bug does not exist in focal or earlier. |
|