jtmoon79 / jtmoon79/PythonEmbed4Win
passing single-digit version fails
Open
Beginner friendly
Nobody has claimed this yet.
bug
- Dominant language
- PowerShell
- Stars
- 70
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
PS> .\PythonEmbed4Win.ps1 -Verbose -Version 3
PythonEmbed4Win.ps1: at <ScriptBlock>, PythonEmbed4Win.ps1: line 1150
at <ScriptBlock>, <No file>: line 1
PythonEmbed4Win.ps1: Cannot convert value "3" to type "System.Version". Error: "Version string portion was too short or too long. (Parameter 'input')
Though it's a bit silly to pass -Version 3, it shouldn't crash like this.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the command shown in the issue, then inspect PythonEmbed4Win.ps1 around line 1150 where the System.Version conversion fails. Confirm the behavior for -Version 3 and verify that the command completes without the conversion error while preserving normal version handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100