You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception Output:
CalledProcessError:
esptool -p COM3 -b 115200 --after no_reset erase_region 0x10000 0x2000' returned non-zero exit status 1.stdout: b''stderr: None
What is the Expected Behaviour?
I'm running a Python application that is installed using a pyproject wheel with pipx. I'm calling a series of subprocesscheck_output calls to erase and write to and ESP device. I keep getting the above error.
If I run the application manually/locally in my own virtual environment, it is successful. I've ensured the dependencies are identical.
More Information
Edition - Windows 11 Pro (Virtual Machine)
Version - 23H2
OS build - 22631.4460
Experience - Windows Feature Experience Pack 1000.22700.1047.0
Other Steps to Reproduce
No response
The text was updated successfully, but these errors were encountered:
What would the equivalent calls using esptool directly be?
Also, do you know if it's possible to monitor the progress of writing to flash without using subprocess call (that's the main reason I'm using it here)?
Operating System
Windows 11 VM
Esptool Version
4.8.1
Python Version
3.12.7
Full Esptool Command Line that Was Run
subprocess.check_output("esptool -p COM3 -b 115200 --after no_reset erase_region 0x10000 0x2000", shell=True).decode()
Esptool Output
What is the Expected Behaviour?
I'm running a Python application that is installed using a
pyproject wheel
withpipx
. I'm calling a series ofsubprocess
check_output
calls to erase and write to and ESP device. I keep getting the above error.If I run the application manually/locally in my own virtual environment, it is successful. I've ensured the dependencies are identical.
More Information
Edition - Windows 11 Pro (Virtual Machine)
Version - 23H2
OS build - 22631.4460
Experience - Windows Feature Experience Pack 1000.22700.1047.0
Other Steps to Reproduce
No response
The text was updated successfully, but these errors were encountered: