Closed fwebcc closed 1 month ago
Thanks for the bug report.
It would appear this is triggered by the fact micropython-esp32-ota
is installed on a device which is not OTA-enabled. There is no otadata
partition and the device is booting from the factory
partition instead of the ota_0
or ota_1
partition. Also, note that the micropython version is pre-v1.21 (when OTA rollback support was included in all micropython builds).
While micropython-esp32-ota
is not intended to be installed on such devices, it should behave more gracefully than this. I will investigate and post an update.
I have pushed an update (version 0.3) which prevents the exception if called on a firmware which does not provide OTA support. I will close the ticket, but if you continue to see the issue, feel free to reopen, or to post further comments.