/srv/irclogs.ubuntu.com/2017/09/29/#launchpad.txt

=== JanC_ is now known as JanC
=== maclin1 is now known as maclin
elachecheHey folks! Just a quick question.. Is there a way to automate the login to LP when it's used by other apps (sso) like wikis and so? I'd like to automate some work, but I will need to login 1st12:12
stubelacheche: I think login.ubuntu.com supports oauth for that, but I don't know where it is documented.15:01
stubelacheche: Launchpad too IIRC, using the Launchpad python client or oauth15:03
stubhttps://help.launchpad.net/API/ThirdPartyIntegration15:05
elachecheThx stub !! :D15:08
nacccjwatson: i think there's a coding error in lauchpadlib/credentials.py, in the except case at line 643, browser_obj is not set to None and is used on line 656. I'm getting a backtrace in my snap (not sure why, as it was auth'd before, but regardless)16:01
cjwatsonnacc: wasn't that one of the things I fixed in 1.10.5?16:12
nacccjwatson: oh pypi only has 4 (same with artful)16:12
naccbah nm16:12
naccpypi has 1.10.516:12
naccmy fault!16:12
naccbut artful may need an update eventually16:12
cjwatsonnacc: Debian is up to date, so a sync might be worthwhile16:13
nacccjwatson: ack16:13
cjwatsonlemme sync that16:13
cjwatsonmodulo approval16:13
nacccjwatson: thanks16:15
nacccjwatson: sorry i didn't notice it earlier :)16:15
nacccjwatson: ok, different issue popped up, which I could have sworn we resolved earlier, but I can't find it in my logs: http://paste.ubuntu.com/25640297/\17:10
nacccjwatson: lauchpadlib is encoding it before passing it down (i believe), but keyrings.alt (for file-backed keys) assumes it's not encoded17:11
nacccjwatson: found the bug, sorry -- LP: #168596217:21
ubot5Launchpad bug 1685962 in launchpadlib "keyring file-backend reports backtrace with oauth" [Undecided,New] https://launchpad.net/bugs/168596217:21
cjwatsonnacc: yeah, as before we need to test that17:35
nacccjwatson: yep17:39

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!