2011-09-20 13:10:58 |
Benji York |
description |
A lazr.restful change I made assumes that all exceptions have a __traceback__ attribute. Some don't, so we get these OOPSes:
181 AttributeError: 'LaunchpadTimeoutError' object has no attribute
'__traceback__'
GET: 176 POST: 5 Robots: 0 Local: 5
71 https://api.launchpad.net/1.0/ubuntu
(Distribution:EntryResource:searchTasks)
OOPS-2087AO27, OOPS-2087AO29, OOPS-2087AO9, OOPS-2087AP3, OOPS-2087AQ79
52 https://api.launchpad.net/devel/ubuntu
(Distribution:EntryResource:searchTasks)
OOPS-2087AO28, OOPS-2087AP6, OOPS-2087AQ58, OOPS-2087AR51, OOPS-2087AS26
47 https://api.launchpad.net/1.0/%7Eubuntu-security-sponsors
(Person:EntryResource:searchTasks)
OOPS-2087A46, OOPS-2087AO5, OOPS-2087AO58, OOPS-2087AP15, OOPS-2087AP54
The fix is relatively simple and in-progress. |
A lazr.restful change I made assumes that all exceptions have a __traceback__ attribute. Some don't (specifically LaunchpadTimeoutError manages not to), so we get these OOPSes:
181 AttributeError: 'LaunchpadTimeoutError' object has no attribute
'__traceback__'
GET: 176 POST: 5 Robots: 0 Local: 5
71 https://api.launchpad.net/1.0/ubuntu
(Distribution:EntryResource:searchTasks)
OOPS-2087AO27, OOPS-2087AO29, OOPS-2087AO9, OOPS-2087AP3, OOPS-2087AQ79
52 https://api.launchpad.net/devel/ubuntu
(Distribution:EntryResource:searchTasks)
OOPS-2087AO28, OOPS-2087AP6, OOPS-2087AQ58, OOPS-2087AR51, OOPS-2087AS26
47 https://api.launchpad.net/1.0/%7Eubuntu-security-sponsors
(Person:EntryResource:searchTasks)
OOPS-2087A46, OOPS-2087AO5, OOPS-2087AO58, OOPS-2087AP15, OOPS-2087AP54
The fix is relatively simple and in-progress. |
|