openstates / issues

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

TN-events failing since at least 2024-10-02 #1237

Closed openstates-bot closed 1 month ago

openstates-bot commented 1 month ago

TN-events has failed 5 times since 2024-10-02

Logs:

    sys.exit(main())
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/cli/update.py", line 600, in main
    report = do_update(args, other, juris)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/cli/update.py", line 404, in do_update
    report["import"] = do_import(juris, args)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/cli/update.py", line 270, in do_import
    report.update(event_importer.import_directory(datadir))
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/importers/base.py", line 265, in import_directory
    return self.import_data(json_stream())
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/importers/base.py", line 305, in import_data
    obj_id, what = self.import_item(data)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/importers/base.py", line 341, in import_item
    obj = self.get_object(data)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/openstates/importers/events.py", line 67, in get_object
    return self.model_class.objects.get(**spec)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/root/.cache/pypoetry/virtualenvs/openstates-scrapers-vRcYrsYN-py3.9/lib/python3.9/site-packages/django/db/models/query.py", line 439, in get
    raise self.model.MultipleObjectsReturned(
openstates.data.models.event.Event.MultipleObjectsReturned: get() returned more than one Event -- it returned 2!
openstates-bot commented 1 month ago

closed via successful run on 2024-10-07