-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
[tools/kconfiglib] UnicodeDecodeError: 'cp932' codec can't decode. (IDFGH-2943) #4977
Comments
Hi @lovyan03. Thank you for reporting this issue. Please give us your IDF version ( I'm guessing that your IDF version is v4.0 or older because this seems to been fixed in the upstream kconfiglib library which is shipped with IDF v4.1 and newer. Would it be possible that you check the latest IDF master branch to verify that you have no issue there? |
Hello ! I used the installer esp-idf-tools-setup-2.3.exe, and in Download ESP-IDF I chose v4.0. git describe --tags python --version I tried to synchronize ESP-IDF, but I didn't know how to use it and couldn't build it. |
Thank you. Please use your workaround until we fix this. |
Thank you ! |
That is great! I keep this issue open until this is fixed for IDF <=v4.0. |
This fix is for IDF v4.0 and earlier versions. The upstream kconfiglib included since IDF v4.1 doesn't have this issue. Closes #4977
This fix is for IDF v4.0 and earlier versions. The upstream kconfiglib included since IDF v4.1 doesn't have this issue. Closes #4977
The default code page for Japanese python is cp932, and if you don't specify the encoding when loading the file, you may get an error.
This can be solved by adding an encoding specification when the file is opened.
The text was updated successfully, but these errors were encountered: