Closed juner closed 3 years ago
This issue was reproduced even if Windows System Locale
wasen-US
.
I can reproduce this issue in mac os
[295 ms] Remote-Containers 0.187.0 in VS Code 1.58.1 (2aeda6b18e13c4f4f9edf6667158a6b8d408874b).
[295 ms] Start: Resolving Remote
[298 ms] Setting up container for folder or workspace: ***********************************************.code-workspace
[311 ms] Start: Check Docker is running
[311 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[650 ms] Server API version: 1.41
[670 ms] Start: Run: docker-compose version --short
[1464 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=* --filter label=com.docker.compose.service=api
[1775 ms] Start: Run: docker-compose -f *********************************************/docker-compose.yml config
[2367 ms]
[2367 ms] Python-dotenv could not parse statement starting at line 55
Traceback (most recent call last):
File "docker-compose", line 3, in <module>
File "compose/cli/main.py", line 81, in main
File "compose/cli/main.py", line 197, in perform_command
File "compose/metrics/decorator.py", line 18, in wrapper
File "compose/cli/main.py", line 441, in config
UnicodeEncodeError: 'ascii' codec can't encode character '\u201c' in position 2030: ordinal not in range(128)
[37346] Failed to execute script docker-compose
[2367 ms] Exit code 255
[2371 ms] Command failed: docker-compose -f ********************************************/docker-compose.yml config
We used to run docker-compose -f ***/docker-compose.yml config --services
and then dropped --services
in 0.184.0 because we sometimes need to inspect the full configuration.
Can you run docker-compose -f ***/docker-compose.yml config
from the command line?
@chrmarti
PS ***********> docker-compose -f c:\************************\errord_devcontainer20210709\docker-compose.yml config
services:
php:
build:
args:
INSTALL_NODE: "true"
NODE_VERSION: lts/*
VARIANT: '7'
context: c:\************************\errord_devcontainer20210709\.container
environment:
APP_TITLE: PHPサンプル🌟
volumes:
- c:\************************\errord_devcontainer20210709:/var/www/html:rw
version: '3.7'
PS C:\***********>
FYI, rolling back to 0.183.0 fix the problem
Including a workaround in 0.188.2 (currently requires VS Code Insiders). Could both of you seeing this verify the workaround in that version? I'm considering to also it for VS Code 1.58.
It worked.
@chrmarti When I checked it on another computer, it didn't work.
@juner Thanks, I have updated the fix and am releasing 0.188.3 for VS Code Insiders.
Released for VS Code 1.58 with Remote-Containers 0.187.1.
thank you very much!
UnicodeEncodeError: 'cp932' codec can't encode character '\U0001f31f' in position 259: illegal multibyte sequence
occurs after v0.184.0. (* I also confirmed it in v0.187.0 )ms-vscode-remote.remote-containers
): v0.184.0detail
Steps to Reproduce:
ja-JP
Open Folder in Container
.This did not occur with
v0.183.0
.Does this issue occur when you try this locally?:
Yes
Does this issue occur when you try this locally and all extensions are disabled?:
Yes