Skip to content

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

@sentry

Description

@sentry

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions