openstates / issues

Having trouble? Looking to contribute? Issues live here!
15 stars 2 forks source link

DE-scrape failing since at least 2024-06-27 #1208

Closed openstates-bot closed 2 months ago

openstates-bot commented 2 months ago

DE-scrape has failed 5 times since 2024-06-27

Logs:

  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/scrape/base.py", line 241, in do_scrape
    self.save_object(obj)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/scrape/base.py", line 220, in save_object
    raise ve
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/scrape/base.py", line 217, in save_object
    obj.validate()
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/scrape/base.py", line 340, in validate
    raise ScrapeValueError(
openstates.exceptions.ScrapeValueError: validation of Bill 72d0a28a-3424-11ef-b6d2-0a58a9feac02 failed: 
    'A First Leg amendment must be approved by the next General Assembly to become part of the Constitution.  A Second Leg amendment becomes part of the Constitution upon passage of both Chambers of the subsequent General Assembly.' is not of type {'type': [{'type': 'string', 'pattern': '^([0-9]{4})?(-[0-9]{2}){0,2}$'}, 'date']}, 'null'
Failed validating 'type' in schema['properties']['citations']['items']['properties']['effective']:
    {'type': [{'type': [{'pattern': '^([0-9]{4})?(-[0-9]{2}){0,2}$',
                         'type': 'string'},
                        'date']},
              'null']}
On instance['citations'][0]['effective']:
    ('A First Leg amendment must be approved by the next General Assembly '
     'to become part of the Constitution.  A Second Leg amendment becomes '
     'part of the Constitution upon passage of both Chambers of the '
     'subsequent General Assembly.')
openstates-bot commented 2 months ago

closed via successful run on 2024-06-28