[07:52] <rbasak> >>> l = Launchpad.login_with('~racb', service_root='production')
[07:52] <rbasak> >>> l.load('http://api.launchpad.net/devel/ubuntu/yakkety/+upload/15120335')
[07:52] <rbasak> ...
[07:52] <rbasak> NotImplementedError: Can't look up definition in another url (https://api.launchpad.net/devel/#package_upload)
[07:52] <rbasak> Help?
[07:52] <rbasak> python3-launchpadlib	1.10.3-3ubuntu0.1
[07:53] <rbasak> On Xenial.
[07:53] <rbasak> Google suggested some http/https mismatch, so s/https/http/ in that example.
[07:54] <rbasak> But the https URL (as returned by the upload's self_link attribute in another process) doesn't work either.
[07:56]  * rbasak disappears for a bit, back later.
[08:09] <wgrant> rbasak: version='devel' in login_with, or use a version-relative path in l.load ('/ubuntu/yakkety/+upload/15120335')
[08:13] <cjwatson> Or both!
[08:16] <wgrant> Indeed, preferably.
[08:25] <rbasak> wgrant: that works. Thanks!
[08:26] <rbasak> I'd prefer to not have to munge foo.self_link myself though, so I think I should probably continue to use the absolute path?
[08:26] <rbasak> I can always be explicit with version='devel' at both ends
[08:26] <wgrant> rbasak: That can't be the self_link, since a self_link from the same client will have the right version
[08:27] <wgrant> If you're passing URLs between clients then you'll need to be consistent with the version that you use.
[08:27] <rbasak> I was specifying no version I believe
[08:27] <rbasak> At both ends.
[08:27]  * rbasak double checks
[08:28] <rbasak> Ah, no I wasn't.
[08:28] <rbasak> I was specifying version='devel' at one end, and nothing at the other end.
[08:28] <wgrant> That'd do it.
[08:28] <rbasak> Sorry! Thank you for your help.
[08:28] <wgrant> np, easy fix
[13:32] <Odd_Bloke> cjwatson: wgrant: Missing git MP diff generation again. :(
[13:32] <Odd_Bloke> I'm assuming it's the same problem as before, but OOPS-c0b9497a37bafd039cdcf90aebd9311d if you need it.
[14:14] <cjwatson> Odd_Bloke: restarted
[14:20] <Odd_Bloke> Thanks! :)