[11:19] I'm having some trouble understanding launchpadlib with an object I can't see. [11:19] upload = lp.load('https://api.launchpad.net/devel/ubuntu/jammy/+upload/29206520') [11:19] In the REPL, upload.copy_source_archive then gives me a ValueError [11:20] "You tried to access a resource that you don't have the server-side permission to see." [11:20] But the weird thing is that the getattr is successful. It's the repr() call the REPL does that raises the ValueError. [11:20] Is this expected? How should I trap this case? [11:20] I want to handle the ValueError gracefully, and I expected it to happen on the getattr(), but it didn't. [11:25] For now I just called repr() on the result to force the ValueError to appear when I expect it (earlier), rather than when it later gets used. === JanC_ is now known as JanC [14:41] rbasak, I checked this and it looks like I can see the object. So I am unable to reproduce this issue to investigate further. I will see if I can create an unprivileged account and investigate further. [14:43] If you are able to use getattr() and then access the value, that is weird because, afaik, only those with the appropriate permissions on that object can access that attribute. [14:54] guruprasad: here's my reproducer: https://paste.ubuntu.com/p/99S5v2sVb3/ [14:54] Note that command 2 succeeds, but command 3 fails. That's what I'm finding surprising. [17:33] guruprasad: Having an interesting situation at https://code.launchpad.net/~kubuntu-packagers/kubuntu-packaging/+git/kdeconnect-kde. I'm part of the ~kubuntu-ninjas team which should have access to every single git repo there, but seem to be unable to access that one specific repo. I've worked with RikMills but he seems to be unable to fix. [17:33] * Eickmeyer[m] uploaded an image: (37KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/gDBDZYeddkEoUXhjbHMHDwCg/image.png > [17:33] My result is this: