Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing default value for --output in otatool.py read_ota_partition (IDFGH-4756) #6559

Closed
Foalyy opened this issue Feb 17, 2021 · 0 comments
Closed

Comments

@Foalyy
Copy link

Foalyy commented Feb 17, 2021

Environment

  • Development Kit: none
  • Module or chip used: ESP32-WROOM-32D
  • IDF version : v4.4-dev-4-g73db14240
  • Build System: idf.py
  • Operating System: Linux
  • Using an IDE?: No
  • Power Supply: external 3.3V

Problem Description

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

@github-actions github-actions bot 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant