Crash due to HTTP 410 error retrieving non-existent person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bugtimetracker |
New
|
Undecided
|
Unassigned |
Bug Description
bugtimetracker crashed while importing data from the 'cloudberry' project. This project contains a bug (bug 440760) that references a user that is no longer in launchpad (~cody-
Code in question:
Debug output from bugtimetracker:
https:/
DEBUG: Processing entry: 2010-05-10 10:27:49.985875, u'cloudberry: status', u'Fix Released', u'Fix Committed'
DEBUG: Attribute changed: u'cloudberry', None, u'status'
DEBUG: u'status' updated from u'Fix Released' to u'Fix Committed'
DEBUG: Processing entry: 2010-04-30 05:22:10.832638, u'cloudberry: assignee', u'Cody A.W. Somerville (cody-somerville)', u'Cody A.W. Somerville (cody-cody-
DEBUG: Attribute changed: u'cloudberry', None, u'assignee'
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
if not cancel_
File "/usr/lib/
self.
File "/usr/lib/
bug_
File "/usr/lib/
lp_entry, match)
File "/usr/lib/
old_assignee = Person(
File "/usr/lib/
return super(Entry, self)._
File "/usr/lib/
return self.lp_
File "/usr/lib/
self.
File "/usr/lib/
representation = self._root.
File "/usr/lib/
response, content = self._request(url, extra_headers=
File "/usr/lib/
raise error
ClientError: HTTP Error 410: Gone
In the snippet above, changing 'except NotFound' to 'except' was enough to fix the error in my testing.