VSCode Version: 1.71.1
OS Version: Win 11 Pro
Extension Version: 1.25.9
Steps to Reproduce:
when installing windows, choose pick a username that has a space in it. eg "John Smith"
install Visual Studio Code, Azure IoT Tools
start a nodejs iot edge solution (not sure if language choice here is significant)
create module, use "Build and Run IoT Edge Solution in Simulator" feature
error message:
"
ERROR: Error while executing command: docker-compose -f C:\Users\John Smith\AppData\Local.iotedgehubdev\data\data\docker-compose.yml down. Command '['docker-compose', '-f', 'C:\Users\John', 'Smith\AppData\Local.iotedgehubdev\data\data\docker-compose.yml', 'down']' returned non-zero exit status 1.
"
further down an extra clue
"
"No such command: Smith\AppData\Local.iotedgehubdev\data\data\docker_compose.yml"
"
this suggests that the issue is the space during filename declaration to the command for docker-compose, the space maknig it treat the second half as a argument
VSCode Version: 1.71.1 OS Version: Win 11 Pro Extension Version: 1.25.9
Steps to Reproduce:
error message: " ERROR: Error while executing command: docker-compose -f C:\Users\John Smith\AppData\Local.iotedgehubdev\data\data\docker-compose.yml down. Command '['docker-compose', '-f', 'C:\Users\John', 'Smith\AppData\Local.iotedgehubdev\data\data\docker-compose.yml', 'down']' returned non-zero exit status 1. "
further down an extra clue " "No such command: Smith\AppData\Local.iotedgehubdev\data\data\docker_compose.yml" "
this suggests that the issue is the space during filename declaration to the command for docker-compose, the space maknig it treat the second half as a argument
looks to be issue here: https://github.com/Azure/iotedgehubdev/blob/d3bffb36c71041b636a1093514d960ceda9168b4/iotedgehubdev/edgemanager.py#L70
the argument to -f needs to be in quotes