Public bug reported: [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. ** Affects: ubuntu-dev-tools (Ubuntu) Importance: Undecided Status: New ** Affects: ubuntu-dev-tools (Ubuntu Jammy) Importance: Undecided Status: New ** Affects: ubuntu-dev-tools (Ubuntu Kinetic) Importance: Undecided Status: New ** Description changed: + [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, + 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. ** Also affects: ubuntu-dev-tools (Ubuntu Kinetic) Importance: Undecided Status: New ** Also affects: ubuntu-dev-tools (Ubuntu Jammy) Importance: Undecided Status: New -- You received this bug notification because you are a member of MOTU, which is subscribed to ubuntu-dev-tools in Ubuntu. https://bugs.launchpad.net/bugs/1984113 Title: can't run anymore ubuntu-build --batch --retry from cmdline due to wrong login() call in Python To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1984113/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs