Crash upon access of legislator detail

Description

A legislator that appears in the sponsors list of the following bill seems invalid. Visiting their detail page causes an error page to appear.

The bill can be located here:

http://openstates.org/api/v1/bills/COB00002586/?apikey=389044ff21224df38e3c5273ab8e5c57

The legislator is:

{
"leg_id":
"COL000049",
"name":
"KERR",
"type":
"primary"
},

Here is the request that fails:

http://openstates.org/api/v1/legislators/COL000049/?apikey=389044ff21224df38e3c5273ab8e5c57

Here is the message we are seeing tonight:

Piston/0.2.3rc1 (Django 1.6.2) crash report: Traceback (most recent call last): File "/projects/openstates/virt/src/billy/billy/web/api/handlers.py", line 91, in new_read return rc.NOT_FOUND File "/projects/openstates/virt/src/django-piston/piston/utils.py", line 55, in _getattr_ class HttpResponseWrapper(HttpResponse): File "/projects/openstates/virt/src/django-piston/piston/utils.py", line 82, in HttpResponseWrapper content = property(HttpResponse._get_content, _set_content) AttributeError: type object 'HttpResponse' has no attribute '_get_content'

Thanks so much for any information you have. We tend to see this message on the bills API when we ask for too much information at once – i.e. beyond a few months data.

Status

Assignee

Paul Tagliamonte

Reporter

Anonymous

Components

Priority

High
Configure