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

EmptyPage exception when reading mode page crawled by bot #1991

Open
sentry-io bot opened this issue Apr 12, 2023 · 0 comments
Open

EmptyPage exception when reading mode page crawled by bot #1991

sentry-io bot opened this issue Apr 12, 2023 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 12, 2023

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'))
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

0 participants