Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appellate Docket: ParserError: String does not contain a date #717

Open
sentry-io bot opened this issue Sep 5, 2023 · 4 comments
Open

Appellate Docket: ParserError: String does not contain a date #717

sentry-io bot opened this issue Sep 5, 2023 · 4 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Sep 5, 2023

Sentry Issue: COURTLISTENER-4VQ

_RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/concurrent/futures/process.py", line 256, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/courtlistener/cl/recap/tasks.py", line 967, in parse_appellate_text
    return report.data
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/juriscraper/pacer/docket_report.py", line 71, in data
    data["docket_entries"] = self.docket_entries
                             ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/juriscraper/pacer/appellate_docket.py", line 566, in docket_entries
    de["date_filed"] = convert_date_string(date_filed_str)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/juriscraper/lib/string_utils.py", line 510, in convert_date_string
    dt = parser.parse(date_string, fuzzy=fuzzy)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
ParserError: String does not contain a date: 
(9 additional frame(s) were not displayed)
...
  File "concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
  File "concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "cl/recap/views.py", line 56, in perform_create
    await process_recap_upload(pq)
  File "cl/recap/tasks.py", line 120, in process_recap_upload
    docket = await process_recap_appellate_docket(pq.pk)
  File "cl/recap/tasks.py", line 1007, in process_recap_appellate_docket
    data = await asyncio.get_running_loop().run_in_executor(
@ERosendo
Copy link
Contributor

ERosendo commented Oct 12, 2023

I came across this issue when I debugged an error reported by one of the extension's users yesterday.

I noticed the code failed to parse the full docket report when it showed the attachment list inside the docket entry. Here's a screenshot of the report:

Screenshot 2023-10-12 at 9 19 18 AM

Here are the uploads related to this issue.

4a9414d0ee3a44bc9dd5ab58c8607f0d.txt

44c957d946834c7cac095488b45301f5.txt

@mlissner
Copy link
Member

Thanks for the detailed report. @ttys0dev, you were working on this generally. This looks like the appellate version of the thing you just fixed in district courts. Any chance you have energy to look at this one too?

@ttys0dev
Copy link
Contributor

Should be fixed by #753.

Copy link
Author

sentry-io bot commented May 7, 2024

Related:

Sentry Issue: COURTLISTENER-5DE

Filed by: @albertisfu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants