Python UnicodeDecodeError using Eclipse plugin 2019-12-R
Posted: Mon Mar 02, 2020 1:06 am
After removing everything and onWin10 system
getting eclipse-2019-12-R,
downloading again the esp-idf tools setup,
installing idf with download v4.0 (first choice not the release/4.0 which is the third choice)
installing again idf plugin from latest
installing idf tools inside eclipse
and creatin program from examples blink
i get the next error of fail running confgen.py
getting eclipse-2019-12-R,
downloading again the esp-idf tools setup,
installing idf with download v4.0 (first choice not the release/4.0 which is the third choice)
installing again idf plugin from latest
installing idf tools inside eclipse
and creatin program from examples blink
i get the next error of fail running confgen.py
Building in: D:\WorkSpaces\esp32Eclipse\blink\build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=C:\esp32\esp-idf\tools\cmake\toolchain-esp32.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DIDF_TARGET=esp32 D:\WorkSpaces\esp32Eclipse\blink
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.24.0.windows.2")
-- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/esp32/tools/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp32/tools/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/esp32/tools/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/esp32/tools/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/esp32/tools/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Project version: 1
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
Python requirements from C:\esp32\esp-idf\requirements.txt are satisfied.
Traceback (most recent call last):
File "C:/esp32/esp-idf/tools/kconfig_new/confgen.py", line 571, in <module>
main()
File "C:/esp32/esp-idf/tools/kconfig_new/confgen.py", line 230, in main
config = kconfiglib.Kconfig(args.kconfig)
File "C:\esp32\esp-idf\tools\kconfig_new\kconfiglib.py", line 653, in __init__
self._parse_block(None, # end_token
File "C:\esp32\esp-idf\tools\kconfig_new\kconfiglib.py", line 1632, in _parse_block
self._parse_block(_T_ENDMENU,
File "C:\esp32\esp-idf\tools\kconfig_new\kconfiglib.py", line 1584, in _parse_block
prev_node = self._parse_block(None, # end_token
File "C:\esp32\esp-idf\tools\kconfig_new\kconfiglib.py", line 1584, in _parse_block
prev_node = self._parse_block(None, # end_token
File "C:\esp32\esp-idf\tools\kconfig_new\kconfiglib.py", line 1551, in _parse_block
while self._has_tokens or self._next_line():
File "C:\esp32\esp-idf\tools\kconfig_new\kconfiglib.py", line 1186, in _next_line
self._line = self._file.readline()
File "C:\esp32\tools\.espressif\python_env\idf4.0_py3.8_env\lib\encodings\cp1253.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8c in position 3728: character maps to <undefined>
CMake Error at C:/esp32/esp-idf/tools/cmake/kconfig.cmake:208 (message):
Failed to run confgen.py
(python;C:/esp32/esp-idf/tools/kconfig_new/confgen.py;--kconfig;C:/esp32/esp-idf/Kconfig;--sdkconfig-rename;C:/esp32/esp-idf/sdkconfig.rename;--config;D:/WorkSpaces/esp32Eclipse/blink/sdkconfig;--defaults;D:/WorkSpaces/esp32Eclipse/blink/sdkconfig.defaults;--env-file;D:/WorkSpaces/esp32Eclipse/blink/build/config.env).
Error 1
Call Stack (most recent call first):
C:/esp32/esp-idf/tools/cmake/build.cmake:441 (__kconfig_generate_config)
C:/esp32/esp-idf/tools/cmake/project.cmake:337 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "D:/WorkSpaces/esp32Eclipse/blink/build/CMakeFiles/CMakeOutput.log".
cmake --build . -- -v
ninja: error: loading 'build.ninja': The system cannot find the file specified.
Build complete (0 errors, 0 warnings): D:\WorkSpaces\esp32Eclipse\blink\build