When flashing a BetaFPV Nano (2400TX) 2.4Ghz to ELRS Version 2.0 for the first time via USB, the software is built and flashed.
Current Behavior
Configurator builds software for the first time. Creates platformio environment within user home directory. (User home directory contains a space in the name). Firmware is properly built. At flash, an error occurs, and the Flash fails.
Flash error
'C:\Users\User' is not recognized as an internal or external command,
operable program or batch file.
Error: spawn C:\Users\User Name\.platformio\penv\Scripts\platformio.exe ENOENT
It appears that the command to be executed is not properly escaped and the Space in the User Directory Name causes an error.
Steps to Reproduce
Install a Fresh copy of ExpressLRS Configurator 1.3.7 for Windows.
Build an IMS Domain, all other options default.
1.
'C:\Users\User' is not recognized as an internal or external command,
operable program or batch file.
Error: spawn C:\Users\User Name\.platformio\penv\Scripts\platformio.exe ENOENT
2.
3.
4.
Possible Solution (Not obligatory)
Context
Can not update module to 2.0
Your Environment
Operating System and version: Windows 11 Pro (21H2 - 22000.493)
When flashing a BetaFPV Nano (2400TX) 2.4Ghz to ELRS Version 2.0 for the first time via USB, the software is built and flashed.
Current Behavior
Configurator builds software for the first time. Creates platformio environment within user home directory. (User home directory contains a space in the name). Firmware is properly built. At flash, an error occurs, and the Flash fails.
It appears that the command to be executed is not properly escaped and the Space in the User Directory Name causes an error.
Steps to Reproduce
Install a Fresh copy of ExpressLRS Configurator 1.3.7 for Windows.
Build an IMS Domain, all other options default.
1.
2.
3.
4.
Possible Solution (Not obligatory)
Context
Can not update module to 2.0
Your Environment