OOPS when communicating with Launchpad
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Daisy |
Fix Released
|
High
|
Brian Murray |
Bug Description
I found the following OOPS recently - OOPS-27d52732fc38de0d36dd34cf64ba6261
The Traceback ends with the following:
File "/srv/errors.
for binary in launchpad.
File "/srv/errors.
ma = json_request(
TypeError: string indices must be integers, not str
The package was 'unity8' and the release was unspecified e.g. None.
The json_request function already has some error handling:
def json_request(url):
try:
response, content = _http.request(url)
except httplib2.
return ''
try:
return json.loads(content)
except ValueError:
return ''
However, we don't actually confirm that json_request(
Related branches
Changed in daisy: | |
assignee: | nobody → Brian Murray (brian-murray) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in daisy: | |
status: | In Progress → Fix Committed |
Changed in daisy: | |
status: | Fix Committed → Fix Released |