-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
TypeError: %d format: a number is required, not NoneType #35
Comments
To some extent, this should already be fixed. In the version of Thus, when However, maybe it would be more principled on the |
Yeah, feels like just returning None would make sense. A little fix in CL to ignore supra citations in queries might be good too? |
Okay, I misread our inheritance scheme, On the CL side, I agree that that would be a good change, but it will be simpler to do once the new version of eyecite is merged. Then we can just check for |
We use Sentry to get stacktraces and variable values on CourtListener. This is coming from a live user on CourtListener:
I'm on vacation this week (last one for a bit, promise), so I won't look at this too much, but it seems to be because the user queried using a Supra that got parsed incorrectly such that the Volume was None.
The query that triggered it is:
https://www.courtlistener.com/?q=Williamson%20v.%20Tucker%2C%20supra%2C%20645%20F.2d%20
Sentry Issue: COURTLISTENER-17K
@mattdahl, any chance you want to take a look and have a minute? Inside CL, this is coming from a feature that looks for citations inside people's queries, so it can give them an info box. You can see an example of it working normally here:
https://www.courtlistener.com/?q=558%20U.S.%20310
And I'm filing in eyecite, but I don't actually know if this is CL or eyecite. Of course we could work around it in CL, but maybe it's worth pushing upstream.
The text was updated successfully, but these errors were encountered: