aws / aws/aws-elastic-beanstalk-cli-setup

Space in path name causes installer to fail

Open
#59 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
537
Forks
226
PR merge metrics
No merged PRs in 30d

Description

**1. Please specify the following:**
- OS: Windows
- Shell CMD

- [ ] **I have reviewed the troubleshooting tips described [here]() and they do not solve my problem**

**2. Description**
The bundled installer is failing on my system due to a space in the path name.

```
c:\My Git Files>.\aws-elastic-beanstalk-cli-setup\scripts\bundled_installer

c:\My Git Files>Powershell.exe -executionpolicy remotesigned -File "c:\My Git Files\aws-elastic-beanstalk-cli-setup\scripts\\bundled_installer.ps1"

==============================================
I. Installing Python
==============================================
C:\My : The term 'C:\My' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ C:\My Git Files\aws-elastic-beanstalk-cli ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\My:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Exiting due to failure
```

Contributor guide

Open the contributing guide

Research direction

Start with scripts/bundled_installer.ps1 and the bundled_installer entry point referenced in the report. Reproduce the Windows CMD installation from a path containing spaces, then trace the Python installation command that splits at C:\My. Done means the bundled installer completes successfully when its path includes spaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.