simulator start fails on windows if username has space in it
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
調査の方向性
iոտedgehubdev/edgemanager.py の 70 行目付近から始め、スペースを含む Windows ユーザー名でシミュレーターのワークフローを再現します。docker-compose -f コマンドがどのように組み立てられているかを調査し、コマンドが完全なパスを 1 つの引数として扱うことを確認します。シミュレーターが正常に起動し、既存のエラーが発生しなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
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
- 主要言語
- Python
- スター
- 91
- フォーク
- 38
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/iotedgehubdev のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
Azure/iotedgehubdev#416 · コメント 1 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Azure/iotedgehubdev#415 ·
-
Not able to installオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
Azure/iotedgehubdev#413 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Azure/iotedgehubdev#412 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Azure/iotedgehubdev#411 · コメント 1 件 ·
Azure/iotedgehubdev の issue をすべて見る
似ている issue
-
[Resource]: Loreオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
hesreallyhim/awesome-claude-code#3234 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openminion/openminion#376 ·
メンテナーはふだん 1 日以内に返信
-
Type: ☹︎ Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/great-tables#1028 ·
メンテナーはふだん 1 日以内に返信
-
integration: apple_tv
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
home-assistant/core#188282 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A "since" range is worded as a career: "the past two seasons" says "regular season career (2025 on)"オープンP4: low
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jeffknupp/association#538 ·