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

[TW#26443] Unable to run gen_empty_partition.py with python3 #2457

Closed
h1aji opened this issue Sep 22, 2018 · 0 comments
Closed

[TW#26443] Unable to run gen_empty_partition.py with python3 #2457

h1aji opened this issue Sep 22, 2018 · 0 comments
Assignees

Comments

@h1aji
Copy link

h1aji commented Sep 22, 2018

I am getting this error when I am trying to compile my project:

Traceback (most recent call last):
  File "/home/hmurad/esp/esp-idf/components/app_update/gen_empty_partition.py", line 79, in <module>
    r = main()
  File "/home/hmurad/esp/esp-idf/components/app_update/gen_empty_partition.py", line 70, in main
    generate_blanked_file(size, args.output)
  File "/home/hmurad/esp/esp-idf/components/app_update/gen_empty_partition.py", line 47, in generate_blanked_file
    output += b"\xFF"
TypeError: can only concatenate str (not "bytes") to str

I assume size needs to be bytes instead of str

@Alvin1Zhang Alvin1Zhang changed the title Unable to run gen_empty_partition.py with python3 [TW#26443] Unable to run gen_empty_partition.py with python3 Sep 23, 2018
@dobairoland dobairoland self-assigned this Sep 23, 2018
@igrr igrr closed this as completed in baca210 Sep 25, 2018
catalinio pushed a commit to catalinio/pycom-esp-idf that referenced this issue Jun 28, 2019
0xFEEDC0DE64 pushed a commit to 0xFEEDC0DE64/esp-idf that referenced this issue May 5, 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

2 participants