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
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
File "src/lxml/etree.pyx", line 3306, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1990, in lxml.etree._parseMemoryDocument
ParsingException: Got XML when expecting HTML and cannot parse it.
(13 additional frame(s) were not displayed)
...
File "cl/corpus_importer/management/commands/scrape_pacer_free_opinions.py", line 407, in do_everything
get_and_save_free_document_reports(courts, date_start, date_end)
File "cl/corpus_importer/management/commands/scrape_pacer_free_opinions.py", line 235, in get_and_save_free_document_reports
exc = fetch_doc_report(
File "cl/corpus_importer/management/commands/scrape_pacer_free_opinions.py", line 121, in fetch_doc_report
status, rows_to_create = get_and_save_free_document_report(pacer_court_id, start, end, log.pk) # type: ignore
File "cl/corpus_importer/tasks.py", line 390, in get_and_save_free_document_report
raise self.retry(exc=exc, countdown=5)
File "cl/corpus_importer/tasks.py", line 352, in get_and_save_free_document_report
report.query(start, end, sort="case_number")
The text was updated successfully, but these errors were encountered:
This is getting triggered by the get_free_docs command. Looks like we're getting some sort of error that's crashing it.
We should fix this because when this happens we don't get free docs for that day.
Filed by @mlissner
Sentry Issue: COURTLISTENER-80M
The text was updated successfully, but these errors were encountered: