-
Notifications
You must be signed in to change notification settings - Fork 3
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
raised in get_results_for_interval
#1834
Comments
@alschaffer reports that this passed in production on second run. |
Maybe the Python interpreter noticed this comment on its second run?
|
Ah, crap. This is going to be a lot harder to debug if we can't reproduce. |
Ah ha! The timing of this error (17:04) is suspiciously close to when Slack reported entering DB maintenance (17:40). And the assumption of logical consistency with respect to There's a wider question here, which this ticket probably isn't the best place to discuss. |
Closing in favour of above job-runner ticket and this isn't an ehrQL-specific issue. |
analysis/measures_test_hi.py
(here) passed locally but failed in production with aTypeError
(here). Hereehrql/ehrql/measures/calculate.py
Lines 131 to 133 in f7f8e39
totals[1]
was of typeint
, butdenominator
was of typeNoneType
.Thanks for reporting this, @alschaffer.
The text was updated successfully, but these errors were encountered: