datamade / scrapers-us-municipal

Scrapers for US municipal governments.
MIT License
10 stars 8 forks source link

Spanish event temporarily missing companion event #67

Closed hancush closed 2 years ago

hancush commented 2 years ago
[2022-08-19 23:17:27,292] {docker.py:263} INFO - Traceback (most recent call last):
  File "/app/lametro/events.py", line 180, in _merge_events
    assert not spanish_events  # These should all be merged with an English event.
AssertionError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/pupa", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/pupa/cli/__main__.py", line 68, in main
    subcommands[args.subcommand].handle(args, other)
  File "/usr/local/lib/python3.6/site-packages/pupa/cli/commands/update.py", line 278, in handle
    return self.do_handle(args, other, juris)
  File "/usr/local/lib/python3.6/site-packages/pupa/cli/commands/update.py", line 327, in do_handle
    report['scrape'] = self.do_scrape(juris, args, scrapers)
  File "/usr/local/lib/python3.6/site-packages/pupa/cli/commands/update.py", line 175, in do_scrape
    report[scraper_name] = scraper.do_scrape(**scrape_args)
  File "/usr/local/lib/python3.6/site-packages/pupa/scrape/base.py", line 114, in do_scrape
    for obj in self.scrape(**kwargs) or []:
  File "/app/lametro/events.py", line 199, in scrape
    for event, web_event in self._merge_events(events):
  File "/app/lametro/events.py", line 183, in _merge_events
    raise UnmatchedEventError(unpaired_events)
lametro.events.UnmatchedEventError: Can't find companion for Event 2394 at 10:00 AM on 2022-08-19T00:00:00 - https://metro.legistar.com/MeetingDetail.aspx?LEGID=2394&GID=557&G=A5FAA737-A54D-4A6C-B1E8-FF70F765FA94