/srv/irclogs.ubuntu.com/2017/04/13/#launchpad.txt

=== 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
rbasakNotImplementedError: Can't look up definition in another url (https://api.launchpad.net/devel/#package_upload)07:52
rbasakHelp?07:52
rbasakpython3-launchpadlib1.10.3-3ubuntu0.107:52
rbasakOn Xenial.07:53
rbasakGoogle suggested some http/https mismatch, so s/https/http/ in that example.07:53
rbasakBut 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
wgrantrbasak: version='devel' in login_with, or use a version-relative path in l.load ('/ubuntu/yakkety/+upload/15120335')08:09
cjwatsonOr both!08:13
wgrantIndeed, preferably.08:16
rbasakwgrant: that works. Thanks!08:25
rbasakI'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
rbasakI can always be explicit with version='devel' at both ends08:26
wgrantrbasak: That can't be the self_link, since a self_link from the same client will have the right version08:26
wgrantIf you're passing URLs between clients then you'll need to be consistent with the version that you use.08:27
rbasakI was specifying no version I believe08:27
rbasakAt both ends.08:27
* rbasak double checks08:27
rbasakAh, no I wasn't.08:28
rbasakI was specifying version='devel' at one end, and nothing at the other end.08:28
wgrantThat'd do it.08:28
rbasakSorry! Thank you for your help.08:28
wgrantnp, easy fix08: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_Blokecjwatson: wgrant: Missing git MP diff generation again. :(13:32
Odd_BlokeI'm assuming it's the same problem as before, but OOPS-c0b9497a37bafd039cdcf90aebd9311d if you need it.13:32
ubot5https://oops.canonical.com/?oopsid=OOPS-c0b9497a37bafd039cdcf90aebd9311d13:32
=== coreycb_vaca is now known as coreycb
cjwatsonOdd_Bloke: restarted14:14
Odd_BlokeThanks! :)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!