Skip to content
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

Edge Simulator cannot start on Windows if username has space in it #642

Open
dogoth opened this issue Sep 21, 2022 · 2 comments
Open

Edge Simulator cannot start on Windows if username has space in it #642

dogoth opened this issue Sep 21, 2022 · 2 comments

Comments

@dogoth
Copy link

dogoth commented Sep 21, 2022

  • VSCode Version: 1.71.1
  • OS Version: Win 11 Pro
  • Extension Version: 1.25.9

Steps to Reproduce:

  1. when installing windows, choose pick a username that has a space in it. eg "John Smith"
  2. install Visual Studio Code, Azure IoT Tools
  3. start a nodejs iot edge solution (not sure if language choice here is significant)
  4. create module, use "Build and Run IoT Edge Solution in Simulator" feature

error message:
"
ERROR: Error while executing command: docker-compose -f C:\Users[username withspace]\AppData\Local.iotedgehubdev\data\data\docker-compose.yml down. Command '['docker-compose', '-f', 'C:\Users\[username', 'withspace]\AppData\Local\.iotedgehubdev\data\data\docker-compose.yml', 'down']' returned non-zero exit status 1.

Does this issue occur when all other extensions are disabled?: Yes/No

@dogoth
Copy link
Author

dogoth commented Sep 21, 2022

further down in the terminal, another hint that the space is the issue:
"No such command: withspace]\AppData\Local.iotedgehubdev\data\data\docker_compose.yml"

@dogoth
Copy link
Author

dogoth commented Sep 23, 2022

looking further into codebases of dependencies, seems that issue is in the iotedgehubdev component
i recreated this ticket in that repo:
Azure/iotedgehubdev#398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant