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
If you try to use get_apps() you will raise an exception : UnicodeEncodeError: 'ascii' codec can't encode characters in position 95-96: ordinal not in range(128)
The tricky part is that the actual call to marathon achieve through requests here succeed. But if response.text contains any non-ascii char, this call :
#How to reproduce
Create an app with non-ascii character in labels for exemple :
If you try to use
get_apps()
you will raise an exception :UnicodeEncodeError: 'ascii' codec can't encode characters in position 95-96: ordinal not in range(128)
The tricky part is that the actual call to marathon achieve through requests here succeed. But if
response.text
contains any non-ascii char, this call :will fail.
See logs starting form here : https://github.com/thefactory/marathon-python/blob/master/marathon/client.py#L93
The text was updated successfully, but these errors were encountered: