wgrant | cjwatson: https://launchpad.net/ubuntu/raring/amd64/ubuntuone-couch | 00:30 |
---|---|---|
wgrant | cjwatson: It was overridden then reverted | 00:30 |
wgrant | But only amd64 got the third pub, apparently. | 00:30 |
wgrant | Hm, no, overriden twice the same way | 00:30 |
wgrant | This is what you get when you write RDBMS-based code that assumes exclusive access... | 00:31 |
stokachu | im trying to do an api call on a search task for a project and its giving me an 400 URL must be absolute error http://paste.ubuntu.com/5723110/, this seems to only happen when i use the assignee query param with a uri encoded self link | 00:40 |
stokachu | do i not include the api url in there? | 00:42 |
wgrant | stokachu: Why's there no leading / on that whole URL? | 00:42 |
wgrant | 'ubuntu-advantage' is not a valid path | 00:42 |
wgrant | '/ubuntu-advantage' is | 00:42 |
stokachu | thats just the query params | 00:42 |
stokachu | ah | 00:42 |
stokachu | the entire url is https://api.launchpad.net/1.0/ubuntu-advantage.... | 00:42 |
wgrant | Ah | 00:42 |
wgrant | An odd way to construct it :) | 00:42 |
stokachu | i think it gets dropped during the debug output | 00:43 |
stokachu | it works if i drop assignee=... | 00:43 |
wgrant | That URL works fine | 00:43 |
wgrant | So your code is probably double-encoding it before sending it, or something | 00:43 |
wgrant | https://launchpad.net/api/devel/ubuntu-advantage?assignee=https%3A%2F%2Flaunchpad.net%2Fapi%2Fdevel%2F~adam-stokes&ws.size=5&ws.op=searchTasks | 00:43 |
wgrant | Try that in a browser | 00:43 |
stokachu | hmmmmm so it does work | 00:44 |
stokachu | i bet you i am encoding it twice | 00:44 |
stokachu | but the query params look correct in the debug output... i need to investigate further | 00:45 |
wgrant | However | 00:45 |
wgrant | That HTTP status looks like it's talking about the path, not the query string. | 00:45 |
wgrant | Regardless, I'd dump the request that I sent and fix the obvious problem with it. | 00:46 |
stokachu | ok ill do that, thanks for the second set of eyes | 00:46 |
=== al-maisan is now known as almaisan-away | ||
=== almaisan-away is now known as al-maisan | ||
=== al-maisan is now known as almaisan-away | ||
=== czajkows1i is now known as czajkowski | ||
cjwatson | wgrant: Can you think of a way to resurrect ubuntuone-couch short of a new upload? | 11:09 |
wgrant | cjwatson: Delete and copy | 14:05 |
wgrant | Or just copy | 14:05 |
wgrant | It'll pick all the built binaries that were every published. | 14:05 |
wgrant | ever | 14:05 |
stokachu | OOPS-674f4d9f8243733af32d6ca81c67fc10 | 20:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!