[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
I uploaded the said fix to focal. After all it's a crash, so it should be fixed as such :) ** Patch added: "debdiff.patch" https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+attachment/5545461/+files/debdiff.patch ** Summary changed: - ubuntu-upload-permission TypeError crash + [SRU] ubuntu-upload-permission TypeError crash -- 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/1862372 Title: [SRU] ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
** Description changed: + [Impact] + + * ubuntu-upload-permission sometimes crashes. + + [Test Plan] + + * `ubuntu-upload-permission --list-uploaders cloud-init` + + [Where problems could occur] + + * This is a targeted fix that has been in other releases for more than a year. + * At most ubuntu-upload-permissions will start erroring out elsewhere (it won't) + + [Original text] + (note that what was reported here is already fixed in focal, but there is followup fix for a different case) + focal ubuntu-dev-tools 0.175 $ ubuntu-upload-permission -a procps Loading KWallet Loading SecretService Loading Windows Loading chainer Loading macOS All upload permissions for procps: Component (main) * Ubuntu Core Development Team (ubuntu-core-dev) [team] Traceback (most recent call last): - File "/usr/bin/ubuntu-upload-permission", line 144, in - main() - File "/usr/bin/ubuntu-upload-permission", line 90, in main - sourcepackagename=package)) + File "/usr/bin/ubuntu-upload-permission", line 144, in + main() + File "/usr/bin/ubuntu-upload-permission", line 90, in main + sourcepackagename=package)) TypeError: '<' not supported between instances of 'Packageset' and 'Packageset' ** Changed in: ubuntu-dev-tools (Ubuntu) Status: Fix Committed => Fix Released ** Changed in: ubuntu-dev-tools (Ubuntu Focal) Status: Triaged => In Progress ** Changed in: ubuntu-dev-tools (Ubuntu Focal) Assignee: (unassigned) => Mattia Rizzolo (mapreri) -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
> will be handled by bug 1947192 u-d-t has been updated in focal-backports via that bug, so I'd recommend installing the backports version. I'll leave this bug open in case someone else wants to actually SRU this. -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
will be handled by bug 1947192 -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
Thanks Mattia, I applied the fix locally and verified that it fully fixes the issue. ** Changed in: ubuntu-dev-tools (Ubuntu Focal) Status: New => Triaged -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
https://git.launchpad.net/ubuntu-dev- tools/commit/?id=ceb020d0fae34549a3f21c6900c12c09e53eff5d + parent commit with a bit of code reflow. -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
I don't plan to backport this to focal fwiw, so somebody should feel free to pick that piece up if they want to. ** Changed in: ubuntu-dev-tools (Ubuntu) Status: New => Fix Committed ** Changed in: ubuntu-dev-tools (Ubuntu) Assignee: (unassigned) => Mattia Rizzolo (mapreri) -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
This doesn't seem to be fully fixed. On Focal and Impish: $ ubuntu-upload-permission --list-uploaders cloud-init All upload permissions for cloud-init: Component (main) * Ubuntu Core Development Team (ubuntu-core-dev) [team] Packagesets === core: ubuntu-cloud: * Ubuntu Cloud Uploaders (ubuntu-cloud-uploaders) [team] Traceback (most recent call last): File "/usr/bin/ubuntu-upload-permission", line 144, in main() File "/usr/bin/ubuntu-upload-permission", line 101, in main ppu_uploaders = archive.getUploadersForPackage( File "/usr/lib/python3/dist-packages/ubuntutools/lp/lpapicache.py", line 746, in getUploadersForPackage self._pkg_uploaders[source_package_name] = sorted(set( TypeError: '<' not supported between instances of 'PersonTeam' and 'PersonTeam' ** Changed in: ubuntu-dev-tools (Ubuntu) Status: Fix Released => New ** Changed in: ubuntu-dev-tools (Ubuntu Focal) Status: Fix Released => 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
This bug was fixed in the package ubuntu-dev-tools - 0.175ubuntu1 --- ubuntu-dev-tools (0.175ubuntu1) focal; urgency=medium [ Dan Streetman ] * lpapicache: remove new requirement to pass arch to getBinaries() (LP: #1862286) * ubuntu-upload-permission: sort packagesets by name to fix py3 (LP: #1862372) * submittodebian: open with 'b' before writing utf-8 encoded bytes (LP: #1863119) [ Colin Watson ] * Use +sourcefiles URLs where possible (LP: #1860456) -- Dan Streetman Thu, 20 Feb 2020 17:20:23 -0500 ** Changed in: ubuntu-dev-tools (Ubuntu Focal) Status: New => Fix Released -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
** Merge proposal linked: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/378722 -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
** Merge proposal unlinked: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/378746 -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
** Merge proposal linked: https://code.launchpad.net/~ddstreet/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/378746 -- 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs
[Bug 1862372] Re: ubuntu-upload-permission TypeError crash
This is a result of the change from python2 -> python3. ** Also affects: ubuntu-dev-tools (Ubuntu Focal) 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/1862372 Title: ubuntu-upload-permission TypeError crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1862372/+subscriptions -- universe-bugs mailing list universe-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/universe-bugs