=== JanC is now known as Guest86694 | ||
=== JanC_ is now known as JanC | ||
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-launchpadlib1.10.3-3ubuntu0.1 | 07:52 |
rbasak | On Xenial. | 07:53 |
rbasak | Google suggested some http/https mismatch, so s/https/http/ in that example. | 07:53 |
rbasak | But the https URL (as returned by the upload's self_link attribute in another process) doesn't work either. | 07:54 |
* rbasak disappears for a bit, back later. | 07:56 | |
wgrant | rbasak: version='devel' in login_with, or use a version-relative path in l.load ('/ubuntu/yakkety/+upload/15120335') | 08:09 |
cjwatson | Or both! | 08:13 |
wgrant | Indeed, preferably. | 08:16 |
rbasak | wgrant: that works. Thanks! | 08:25 |
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:26 |
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:27 | |
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 | 08:28 |
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== Spads_ is now known as Spads | ||
=== maclin1 is now known as maclin | ||
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. | 13:32 |
ubot5 | https://oops.canonical.com/?oopsid=OOPS-c0b9497a37bafd039cdcf90aebd9311d | 13:32 |
=== coreycb_vaca is now known as coreycb | ||
cjwatson | Odd_Bloke: restarted | 14:14 |
Odd_Bloke | Thanks! :) | 14:20 |
=== tintou_ is now known as tintou | ||
=== Flow86_ is now known as Flow86 | ||
=== DedSec_ is now known as DedSec | ||
=== lan3y is now known as Laney | ||
=== yena_ is now known as yena | ||
=== Dmitrii-Sh_ is now known as Dmitrii-Sh | ||
=== ggherdov`_ is now known as ggherdov` | ||
=== jefferai_ is now known as jefferai | ||
=== kyrofa_ is now known as kyrofa | ||
=== BradCrittenden is now known as bac | ||
=== ggherdov`_ is now known as ggherdov` | ||
=== jefferai_ is now known as jefferai | ||
=== tintou_ is now known as tintou | ||
=== signed8b_ is now known as signed8bit_Zzz | ||
=== signed8bit_Zzz is now known as signed8b_ | ||
=== coreycb is now known as coreycb_vaca | ||
=== signed8b_ is now known as signed8bit_Zzz | ||
=== signed8bit_Zzz is now known as signed8b_ | ||
=== signed8b_ is now known as signed8bit_Zzz |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!