-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 137: ordinal not in range(128) (IDFGH-1584) #3841
Comments
English Ubuntu: no Problem. |
+1 same problem with german ubuntu 4.15.0-55-generic NAME="Ubuntu" |
Russian Ubuntu 18.04.2 But: |
In the file idf_tools.py if you replace the line: by: will solve the problems |
Hello @aarizaq after this change it work. . ./export.sh idf.py build |
Sorry for the delay, we will fix the bug soon. |
Environment
IDF version (run
git describe --tags
to find it):v4.0-dev-1342-g84982ae2e
Build System: [CMake]
Operating System: [Linux]
Problem Description
when doing
. $HOME/esp/esp-idf/export.sh
i get following error message:
franz@franz-Lenovo-V130-14IKB:~$ . $HOME/esp/esp-idf/export.sh
Adding ESP-IDF tools to PATH...
Traceback (most recent call last):
File "/home/franz/esp/esp-idf/tools/idf_tools.py", line 1256, in
main(sys.argv[1:])
File "/home/franz/esp/esp-idf/tools/idf_tools.py", line 1252, in main
action_func(args)
File "/home/franz/esp/esp-idf/tools/idf_tools.py", line 874, in action_export
tool.find_installed_versions()
File "/home/franz/esp/esp-idf/tools/idf_tools.py", line 491, in find_installed_versions
ver_str = self.check_version(self.get_export_paths(version))
File "/home/franz/esp/esp-idf/tools/idf_tools.py", line 435, in check_version
in_str = version_cmd_result.decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 137: ordinal not in range(128)
Expected Behavior
no Error Message
Actual Behavior
Error Message
The text was updated successfully, but these errors were encountered: