Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EmptyPage exception when reading mode page crawled by bot #1991

@sentry

Description

@sentry

This was only a bot access but the fact that it got here suggested there was a rendered next/previous link where there shouldn't have been.

Sentry Issue: H2O-9X

EmptyPage: That page contains no results
(3 additional frame(s) were not displayed)
...
  File "main/views.py", line 239, in wrapper
    return func(request, *args, **kwargs)
  File "django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "main/views.py", line 2812, in as_printable_html
    page = paginator.page(page)
  File "django/core/paginator.py", line 76, in page
    number = self.validate_number(number)
  File "django/core/paginator.py", line 58, in validate_number
    raise EmptyPage(_('That page contains no results'))

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