freelawproject / courtlistener

A fully-searchable and accessible archive of court data including growing repositories of opinions, oral arguments, judges, judicial financial records, and federal filings.
https://www.courtlistener.com
Other
550 stars 151 forks source link

Free Opinion Importer: TypeError: 'NoneType' object is not subscriptable #4681

Open sentry-io[bot] opened 1 week ago

sentry-io[bot] commented 1 week ago

Five of these so far. Looks like probably an easy one, but I haven't dug in.

Sentry Issue: COURTLISTENER-8KW

TypeError: 'NoneType' object is not subscriptable
  File "cl/corpus_importer/tasks.py", line 923, in delete_pacer_row
    return [data["rd_pk"]]

Filed by @mlissner

quevon24 commented 1 week ago

hmm, apparently the TaskData returned from get_and_process_free_pdf was empty. I need to take a look to see what happened in the previous step.