[GH-ISSUE #829] [BUG] ERROR:app:Exception on /config #521

Closed
opened 2026-02-25 20:35:57 +03:00 by kerem · 3 comments
Owner

Originally created by @mzch on GitHub (Aug 23, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/829

Describe the bug

ERROR:app:Exception on /config

Aug 22 23:04:09 n06 start.sh[507]: ERROR:app:Exception on /config [POST]
Aug 22 23:04:09 n06 start.sh[507]: Traceback (most recent call last):
Aug 22 23:04:09 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line
2525, in wsgi_app
Aug 22 23:04:09 n06 start.sh[507]:     response = self.full_dispatch_request()
Aug 22 23:04:09 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line
1822, in full_dispatch_request
Aug 22 23:04:09 n06 start.sh[507]:     rv = self.handle_user_exception(e)
Aug 22 23:04:09 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line
1820, in full_dispatch_request
Aug 22 23:04:09 n06 start.sh[507]:     rv = self.dispatch_request()
Aug 22 23:04:09 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line
1796, in dispatch_request
Aug 22 23:04:09 n06 start.sh[507]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
Aug 22 23:04:09 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/app/routes.py", line
 79, in decorated
Aug 22 23:04:09 n06 start.sh[507]:     _ = pickle.load(session_file)
Aug 22 23:04:09 n06 start.sh[507]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 1: invalid continuation
byte
Aug 22 23:04:10 n06 start.sh[507]: WARNING:app: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. Click 'configuration'
  2. Set Country 'Japan'
  3. Interface Language 'Japanese'
  4. Click Apply

Deployment Method

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

Version of Whoogle Search

  • Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc)
  • Version 0.7.4
  • Not sure

Desktop (please complete the following information):

  • OS: macOS 12.5.1
  • Browser Chrome
  • Version 104.0.5112.101

Additional context
Python: 3.10.6
Server OS: Debian 11.4

Originally created by @mzch on GitHub (Aug 23, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/829 **Describe the bug** ERROR:app:Exception on /config ``` Aug 22 23:04:09 n06 start.sh[507]: ERROR:app:Exception on /config [POST] Aug 22 23:04:09 n06 start.sh[507]: Traceback (most recent call last): Aug 22 23:04:09 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 2525, in wsgi_app Aug 22 23:04:09 n06 start.sh[507]: response = self.full_dispatch_request() Aug 22 23:04:09 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1822, in full_dispatch_request Aug 22 23:04:09 n06 start.sh[507]: rv = self.handle_user_exception(e) Aug 22 23:04:09 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request Aug 22 23:04:09 n06 start.sh[507]: rv = self.dispatch_request() Aug 22 23:04:09 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request Aug 22 23:04:09 n06 start.sh[507]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) Aug 22 23:04:09 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/app/routes.py", line 79, in decorated Aug 22 23:04:09 n06 start.sh[507]: _ = pickle.load(session_file) Aug 22 23:04:09 n06 start.sh[507]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 1: invalid continuation byte Aug 22 23:04:10 n06 start.sh[507]: WARNING:app: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. Click 'configuration' 2. Set Country 'Japan' 3. Interface Language 'Japanese' 4. Click Apply **Deployment Method** - [ ] Heroku (one-click deploy) - [ ] Docker - [ ] `run` executable - [x] pip/pipx - [ ] Other: [describe setup] **Version of Whoogle Search** - [ ] Latest build from [source] (i.e. GitHub, Docker Hub, pip, etc) - [x] Version 0.7.4 - [ ] Not sure **Desktop (please complete the following information):** - OS: macOS 12.5.1 - Browser Chrome - Version 104.0.5112.101 **Additional context** Python: 3.10.6 Server OS: Debian 11.4
kerem 2026-02-25 20:35:57 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@mzch commented on GitHub (Aug 23, 2022):

I tried to search in Japanese, the same error occurred.

<!-- gh-comment-id:1223597625 --> @mzch commented on GitHub (Aug 23, 2022): I tried to search in Japanese, the same error occurred.
Author
Owner

@mzch commented on GitHub (Aug 23, 2022):

When I enabled only Open Links in New Tab, the following error happened.

Aug 22 23:21:37 n06 start.sh[507]: ERROR:app:Exception on /config [POST]
Aug 22 23:21:37 n06 start.sh[507]: Traceback (most recent call last):
Aug 22 23:21:37 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 2525, in wsgi_app
Aug 22 23:21:37 n06 start.sh[507]:     response = self.full_dispatch_request()
Aug 22 23:21:37 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1822, in full_dispatch_request
Aug 22 23:21:37 n06 start.sh[507]:     rv = self.handle_user_exception(e)
Aug 22 23:21:37 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request
Aug 22 23:21:37 n06 start.sh[507]:     rv = self.dispatch_request()
Aug 22 23:21:37 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request
Aug 22 23:21:37 n06 start.sh[507]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
Aug 22 23:21:37 n06 start.sh[507]:   File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/app/routes.py", line 79, in decorated
Aug 22 23:21:37 n06 start.sh[507]:     _ = pickle.load(session_file)
Aug 22 23:21:37 n06 start.sh[507]: ValueError: could not convert string to int
Aug 22 23:21:37 n06 start.sh[507]: WARNING:app: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.
<!-- gh-comment-id:1223604971 --> @mzch commented on GitHub (Aug 23, 2022): When I enabled only `Open Links in New Tab`, the following error happened. ``` Aug 22 23:21:37 n06 start.sh[507]: ERROR:app:Exception on /config [POST] Aug 22 23:21:37 n06 start.sh[507]: Traceback (most recent call last): Aug 22 23:21:37 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 2525, in wsgi_app Aug 22 23:21:37 n06 start.sh[507]: response = self.full_dispatch_request() Aug 22 23:21:37 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1822, in full_dispatch_request Aug 22 23:21:37 n06 start.sh[507]: rv = self.handle_user_exception(e) Aug 22 23:21:37 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1820, in full_dispatch_request Aug 22 23:21:37 n06 start.sh[507]: rv = self.dispatch_request() Aug 22 23:21:37 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/flask/app.py", line 1796, in dispatch_request Aug 22 23:21:37 n06 start.sh[507]: return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) Aug 22 23:21:37 n06 start.sh[507]: File "/srv/whoogle/.pyenv/versions/3.10.6/lib/python3.10/site-packages/app/routes.py", line 79, in decorated Aug 22 23:21:37 n06 start.sh[507]: _ = pickle.load(session_file) Aug 22 23:21:37 n06 start.sh[507]: ValueError: could not convert string to int Aug 22 23:21:37 n06 start.sh[507]: WARNING:app: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. ```
Author
Owner

@mzch commented on GitHub (Aug 23, 2022):

Sorry, when I switched python to 3.11.0rc0, I've got no error.

<!-- gh-comment-id:1223621476 --> @mzch commented on GitHub (Aug 23, 2022): Sorry, when I switched python to 3.11.0rc0, I've got no error.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#521
No description provided.