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

TypeError: '>=' not supported between instances of 'NoneType' and 'tuple' #1043

Open
sentry-io bot opened this issue Dec 18, 2023 · 1 comment
Open

Comments

@sentry-io
Copy link

sentry-io bot commented Dec 18, 2023

Sentry Issue: BUILDHUB2-5

TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
(1 additional frame(s) were not displayed)
...
  File "whitenoise/middleware.py", line 57, in __call__
    response = self.process_request(request)
  File "whitenoise/middleware.py", line 68, in process_request
    return self.serve(static_file, request)
  File "whitenoise/middleware.py", line 72, in serve
    response = static_file.get_response(request.method, request.META)
  File "whitenoise/responders.py", line 45, in get_response
    if self.is_not_modified(request_headers):
  File "whitenoise/responders.py", line 185, in is_not_modified
    return parsedate(last_requested) >= self.last_modified

TypeError: '>=' not supported between instances of 'NoneType' and 'tuple'
@jcristau
Copy link
Contributor

This was fixed by evansd/whitenoise#287 in 5.3.0, but we're using 5.2.0.

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

1 participant