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

[BUG] Favicon uncaught exception #1121

Closed
2 of 8 tasks
seirdotexe opened this issue Feb 20, 2024 · 0 comments
Closed
2 of 8 tasks

[BUG] Favicon uncaught exception #1121

seirdotexe opened this issue Feb 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@seirdotexe
Copy link

seirdotexe commented Feb 20, 2024

Describe the bug
When a favicon isn't found, an uncaught exception is thrown.

ERROR:app:Exception on /favicon.ico [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1458, in dispatch_request
    self.raise_routing_exception(req)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1440, in raise_routing_exception
    raise request.routing_exception  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/ctx.py", line 353, in match_request
    result = self.url_adapter.match(return_rule=True)  # type: ignore
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/werkzeug/routing/map.py", line 624, in match
    raise NotFound() from None
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

To Reproduce
Steps to reproduce the behavior:

  1. Search anything

Deployment Method

  • Heroku (one-click deploy)
  • Docker
  • run executable
  • pip/pipx
  • Other: [describe setup]

Version of Whoogle Search

  • Latest build from Docker
  • Version [version number]
  • Not sure

Desktop (please complete the following information):

  • OS: Windows 11 x64
  • Browser: Firefox 123.0b9 (64-bit)

Additional context
Also reported in #1100 (comment)

@seirdotexe seirdotexe added the bug Something isn't working label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant