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
When otatool.py is run without the --output argument, such as in the example in the OTA documentation, like this :
otatool.py read_ota_partition --name=ota_0
the tool returns an unhelping error :
File "[...]esp-idf/components/partition_table/parttool.py", line 136, in _call_esptool
print('Running %s...' % (' '.join(esptool_args)))
TypeError: sequence item 5: expected str instance, NoneType found
Expected Behavior
Either
a default value for --output based on --name, such as implied in the OTA documentation : # Read OTA partition 'ota_3' and save contents to a file named 'ota_3.bin'
or a more helpful error message
Actual Behavior
See error above
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Missing default value for --output in otatool.py read_ota_partition
Missing default value for --output in otatool.py read_ota_partition (IDFGH-4756)
Feb 17, 2021
Environment
Problem Description
When otatool.py is run without the --output argument, such as in the example in the OTA documentation, like this :
the tool returns an unhelping error :
Expected Behavior
Either
# Read OTA partition 'ota_3' and save contents to a file named 'ota_3.bin'
Actual Behavior
See error above
The text was updated successfully, but these errors were encountered: