You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[07/May/2019 00:53:45] WARNING - influencetx.openstates.utils:118: Processing HB 1506 [07/May/2019 00:53:45] WARNING - influencetx.openstates.utils:144: Finding Legislator: Perez, in House [07/May/2019 00:53:45] WARNING - influencetx.openstates.utils:144: Finding Legislator: Johnson, in House Traceback (most recent call last): File "manage.py", line 34, in <module> ... File "/usr/src/app/influencetx/openstates/utils.py", line 121, in deserialize_openstates_bill sponsor_models = deserialize_sponsor_names(adapted_data['chamber'], adapted_data.get('sponsors', [])) File "/usr/src/app/influencetx/openstates/utils.py", line 194, in deserialize_sponsor_names legislator = find_legislator_by_last_name(chamber, aname) File "/usr/src/app/influencetx/openstates/utils.py", line 148, in find_legislator_by_last_name last_name=name File "/usr/local/lib/python3.7/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 384, in get (self.model._meta.object_name, num) influencetx.legislators.models.MultipleObjectsReturned: get() returned more than one Legislator -- it returned 3!
The text was updated successfully, but these errors were encountered:
[07/May/2019 00:53:45] WARNING - influencetx.openstates.utils:118: Processing HB 1506 [07/May/2019 00:53:45] WARNING - influencetx.openstates.utils:144: Finding Legislator: Perez, in House [07/May/2019 00:53:45] WARNING - influencetx.openstates.utils:144: Finding Legislator: Johnson, in House Traceback (most recent call last): File "manage.py", line 34, in <module> ... File "/usr/src/app/influencetx/openstates/utils.py", line 121, in deserialize_openstates_bill sponsor_models = deserialize_sponsor_names(adapted_data['chamber'], adapted_data.get('sponsors', [])) File "/usr/src/app/influencetx/openstates/utils.py", line 194, in deserialize_sponsor_names legislator = find_legislator_by_last_name(chamber, aname) File "/usr/src/app/influencetx/openstates/utils.py", line 148, in find_legislator_by_last_name last_name=name File "/usr/local/lib/python3.7/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py", line 384, in get (self.model._meta.object_name, num) influencetx.legislators.models.MultipleObjectsReturned: get() returned more than one Legislator -- it returned 3!
The text was updated successfully, but these errors were encountered: