marvin-ai/marvin-python-toolbox

Encoding when using Docker

Opened this issue · 0 comments

Description
When running the docker httpserver there is an exception with messages that contains accents:

RECEIVE FAILURE!!! UNKNOWN: Exception calling application: 'ascii' codec can't encode character u'\xe9' in position 10: ordinal not in range(128)class io.grpc.StatusRuntimeException

When running the httpserver locally the engine is capable of processing accents without encoding exceptions.

To Reproduce
2. Submit a post to predictor in a docker environment with accents on the message

Expected behavior
Be able to handle accents.

Desktop (please complete the following information):

  • Docker container
  • Python 3.6