-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose.exe up: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 10: ordinal not in range(128) docker-compose returned -1 #3817
Comments
By the sound of this bug report, it's a Python stdlib issue that's fixed in Python 3 and marked as WONTFIX for Python 2. So we can only fix this by moving Compose to Python 3. @dnephin @shin- have we tried building Python 3 binaries yet? |
Are there any workarounds or I just need to wait until Python 3 build is available? |
@rang501 It may sound like a hassle, but you could change your username to contain only ASCII characters. |
I tried it a while ago. It was working for linux, but failing for windows on appveyor. I tried to get it building, but I don't think I ever got it working. I think it was a pyinstaller issue, so it might be fixed now. We could encode the values before passing them to the stdlib functions, we do that in other places. |
I'm having a similar issue:
|
I have this Problem to.
|
@davweiss It's a bug in Python 2.7. Your options are:
|
Hi @shin- I've same problem and i've install pyton 3 on my path Windows and no result. |
@Leg3ndz It's probably a different error then. Can you share the stacktrace and which command you were running? |
Hi @shin- Finaly, i've change my Windows username :( I've recreate new user with only ASCII characters. Thank you for the solution |
Because you can choose different path with docker tool box's installing,if you choose different path,it can affect docker-compose.exe's executing ,So you MUST MODIFY %yourpath\Docker Toolbox\start.sh: export PATH="/yourpath/Docker Toolbox:$PATH" |
I had changed to language of Windows from English to Swedish (where the folder "Users" => "Användare"). When I changed back to English it worked again. I guess the whole path needs to only use ASCII characters. |
I'm getting following error while trying to do docker-compose up on Windows 10 machine:
Should be the latest release:
It's probably caused by my username, it contains character "ä". There are many similar issues, but they seem to be fixed, but not for me unfortunately.
The text was updated successfully, but these errors were encountered: