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
It seems that the problem is that response doesn't contain '\x04' at all.
Instead it contains the full file content:
ValueError: notenoughvaluestounpack (expected2, got1), response=b'OK# This file is executed on every boot (including wake-boot from deepsleep)\n#import esp\n#esp.osdebug(None)\n#import webrepl\n#webrepl.start'
(Got it by adding response var to the exception message).
Perhaps the problem is with this line:
response=serial.read_until(b"\x04>") # Read until prompt.
That reads until '\x04' not including?
Also, something weird with the "OK" string.
Maybe the problem is that my firmware is not compatible with Mu Editor?
Operating System Version
Windows 11
Mu Version
1.2
Other Info
ESP32 Firmware version: esp32-20230426-v1.20.0
(Downloaded from here
Editor Log
No response
The text was updated successfully, but these errors were encountered:
What were you trying to do?
Copying a file from esp32 to my PC
What steps did you take to trigger the issue?
I tried to copy boot.py to my PC
What did you expect to happen?
The file should succeed writing to the PC
What actually happened?
I got an error, looking at the logs (and adding traceback info to base.py), I got this:
It seems that the problem is that response doesn't contain '\x04' at all.
Instead it contains the full file content:
(Got it by adding response var to the exception message).
Perhaps the problem is with this line:
That reads until '\x04' not including?
Also, something weird with the "OK" string.
Maybe the problem is that my firmware is not compatible with Mu Editor?
Operating System Version
Windows 11
Mu Version
1.2
Other Info
ESP32 Firmware version: esp32-20230426-v1.20.0
(Downloaded from here
Editor Log
No response
The text was updated successfully, but these errors were encountered: