This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Errors occur in Japanese queries #477
Unanswered
mochidukiyukimi
asked this question in
Help
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"UnicodeEncodeError" occurs when trying to process a Japanese query.
Probably a wsgi error.
Traceback (most recent call last): File "/opt/python/detalib/debugger.py", line 131, in wrap return func(event, context) File "/var/task/_entry.py", line 14, in handler return handle(event, main) File "/opt/python/detalib/handler.py", line 32, in handle return handlers.handle_bare_wsgi(event, main, context) File "/opt/python/detalib/handlers.py", line 32, in handle_bare_wsgi return resolve(main.app, event) File "/opt/python/detalib/adapters/wsgi/__init__.py", line 149, in resolve result = app(get_environ(event), response.start_response) File "/opt/python/flask/app.py", line 2548, in __call__ return self.wsgi_app(environ, start_response) File "/opt/python/flask/app.py", line 2520, in wsgi_app ctx = self.request_context(environ) File "/opt/python/flask/app.py", line 2437, in request_context return RequestContext(self, environ) File "/opt/python/flask/ctx.py", line 309, in __init__ request = app.request_class(environ) File "/opt/python/werkzeug/wrappers/request.py", line 115, in __init__ query_string=environ.get("QUERY_STRING", "").encode("latin1"), [2022-09-14T20:16:19+09:00] [ERROR] UnicodeEncodeError: 'latin-1' codec can't encode characters in position 2-4: ordinal not in range(256)
Beta Was this translation helpful? Give feedback.
All reactions