Trouble parsing NEF: TypeError: decoding to str: need a bytes-like object, NoneType found
Sentry Issue: COURTLISTENER-2YY
TypeError: decoding to str: need a bytes-like object, NoneType found
(2 additional frame(s) were not displayed)
...
File "cl/recap/tasks.py", line 1550, in process_recap_email
data = report.data
File "juriscraper/pacer/email.py", line 46, in data
"email_recipients": self._get_email_recipients(),
File "juriscraper/pacer/email.py", line 358, in _get_email_recipients
return self._get_email_recipients_with_links(" ".join(recipient_lines))
File "juriscraper/pacer/email.py", line 309, in _get_email_recipients_with_links
f"{re.escape(end_point)}.*$",
File "re.py", line 276, in escape
pattern = str(pattern, 'latin1')
This error is the same as #2145 and #553 I checked all the emails related to this error and all of them are NDA. That we need to add support to parse them.
Alberto, you said this was "the same as" two other issues, which are now resolved. Does that mean this is resolved, or is there more here?
I've confirmed and yes this error was triggered when we didn't have support for NDAs.
There is a similar error 2243, that is being raised when receiving a notification that updates entries metadata, I'll add some comments about my findings on it.
For now, this might be closed.