is failing when I checkout ESP-IDF v4.1

User avatar
Posts: 68
Joined: Wed Jan 30, 2019 12:00 pm
Location: Berlin
Contact: is failing when I checkout ESP-IDF v4.1

Postby fasani » Sat May 23, 2020 6:08 am

Hi there,
I'm in Ubuntu Linux, Python version 3.6.9.
Today I wanted to compile something in the esp32s2beta since I'm waiting that some S2 arrive, so I switched to:

update submodules and run pip install requirements again. But I got an error with that I could not solve:

Code: Select all

Traceback (most recent call last):
  File "/home/martin/esp/esp-idf/tools/", line 775, in <module>
  File "/home/martin/esp/esp-idf/tools/", line 692, in main
    cli = init_cli(verbose_output=checks_output)
  File "/home/martin/esp/esp-idf/tools/", line 650, in init_cli
    extensions[name] = import_module(name)
  File "/usr/lib/python3.6/importlib/", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 888, in get_code
  File "<frozen importlib._bootstrap_external>", line 455, in _validate_bytecode_header
ImportError: bad magic number in 'debug_ext': b'\x03\xf3\r\n'
So I switched back to the tagged version v4.0.1 and everything works again including

Maybe someone can enlighten me on how to test 4.1 version? Thanks in advance!
Backend developer-PHP Engineer ESP32 E-Ink Screen manager - Berlin, Germany

Posts: 1053
Joined: Wed Jun 14, 2017 9:00 pm

Re: is failing when I checkout ESP-IDF v4.1

Postby chegewara » Sun May 24, 2020 11:20 am

if you are awaiting new saola boards or kaluga, then most likely its not a S2 beta chip anymore. In that case you shouldnt use esp32s2beta branch, instead use master branch.

Who is online

Users browsing this forum: Baidu [Spider] and 18 guests