You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the frappe-docker found in github
I did introduced some Customer data via Dashboard. Some of the customers have the name with spanish accents.
Then i tried to request the API for the data of the customer with accent in name /api/resource/Customer/{customerName} customerName is Cafeter%C3%ADa%20Rigoberto%20S.L. (uri encoded)
The server responses with 500 http code and some text identifing the error.
The server console shows:
{my_ip} - - [30/Jan/2018 13:56:44] "GET /api/resource/Customer/Cafeter%C3%ADa%20Rigoberto%20S.L. HTTP/1.1" 500 -
13:56:44 web.1 | INFO:werkzeug:{my_ip} - - [30/Jan/2018 13:56:44] "GET /api/resource/Customer/Cafeter%C3%ADa%20Rigoberto%20S.L. HTTP/1.1" 500 -
13:56:44 web.1 | Traceback (most recent call last):
13:56:44 web.1 | File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in call
13:56:44 web.1 | return super(StaticDataMiddleware, self).call(environ, start_response)
13:56:44 web.1 | File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wsgi.py", line 761, in call
13:56:44 web.1 | if path.startswith(search_path):
13:56:44 web.1 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)
What can i do?
The text was updated successfully, but these errors were encountered:
I'm using the frappe-docker found in github
I did introduced some Customer data via Dashboard. Some of the customers have the name with spanish accents.
Then i tried to request the API for the data of the customer with accent in name /api/resource/Customer/{customerName} customerName is Cafeter%C3%ADa%20Rigoberto%20S.L. (uri encoded)
The server responses with 500 http code and some text identifing the error.
The server console shows:
{my_ip} - - [30/Jan/2018 13:56:44] "GET /api/resource/Customer/Cafeter%C3%ADa%20Rigoberto%20S.L. HTTP/1.1" 500 -
13:56:44 web.1 | INFO:werkzeug:{my_ip} - - [30/Jan/2018 13:56:44] "GET /api/resource/Customer/Cafeter%C3%ADa%20Rigoberto%20S.L. HTTP/1.1" 500 -
13:56:44 web.1 | Traceback (most recent call last):
13:56:44 web.1 | File "/home/frappe/frappe-bench/apps/frappe/frappe/middlewares.py", line 15, in call
13:56:44 web.1 | return super(StaticDataMiddleware, self).call(environ, start_response)
13:56:44 web.1 | File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wsgi.py", line 761, in call
13:56:44 web.1 | if path.startswith(search_path):
13:56:44 web.1 | UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)
What can i do?
The text was updated successfully, but these errors were encountered: