Error: conan profile detect --force
@memsharded is already working on this.
Since Aug 21, 2023.
Assessment
This issue has not been assessed yet.
Description
when i run conan profile detect --force, it reports errors as following:
Found gcc 11.2
gcc>=5, using the major as version
Traceback (most recent call last):
File "C:\Program Files\Python\Python310\lib\site-packages\conan\cli\cli.py", line 272, in main
cli.run(args)
File "C:\Program Files\Python\Python310\lib\site-packages\conan\cli\commands\profile.py", line 65, in profile_detect
detected_profile = conan_api.profiles.detect()
File "C:\Program Files\Python\Python310\lib\site-packages\conan\api\subapi\profiles.py", line 97, in detect
settings = detect_defaults_settings()
File "C:\Program Files\Python\Python310\lib\site-packages\conans\client\conf\detect.py", line 393, in detect_defaults_settings
_detect_compiler_version(result)
File "C:\Program Files\Python\Python310\lib\site-packages\conans\client\conf\detect.py", line 221, in _detect_compiler_version
libcxx = _detect_gcc_libcxx(version, "g++")
File "C:\Program Files\Python\Python310\lib\site-packages\conans\client\conf\detect.py", line 188, in _detect_gcc_libcxx
error, out_str = detect_runner("%s main.cpp -std=c++11" % executable)
File "C:\Program Files\Python\Python310\lib\site-packages\conans\util\runners.py", line 72, in detect_runner
line = proc.stdout.readline()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xfc in position 71: illegal multibyte sequence
ERROR: 'gbk' codec can't decode byte 0xfc in position 71: illegal multibyte sequence
how to solve this problem?
- Dominant language
- Python
- Stars
- 126
- Forks
- 65
- Avg merge
- 11h 3m
- Merged PRs (30d)
- 4
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from conan-io/examples2
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Running example2 compressor tutorial on UCRT64May be free again @memsharded claimed this 830 days ago, and no pull request is open. Open
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
-
White window is showed and closed in imgui exampleMay be free again @czoido claimed this 1018 days ago, and no pull request is open. Open
conan-io/examples2#131 · 7 comments · 2 reactions · 1 assignee ·
-
[question] self.export_sources_folder in def export_sources(self) methodMay be free again @memsharded claimed this 1222 days ago, and no pull request is open. Openquestion
All issues in conan-io/examples2
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Possibly taken @cestercian claimed this today. Opencomp/cli P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#162259 · 1 comment ·
Maintainers usually reply within 1 day
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
conan-io/conan-center-index#31597 ·
Maintainers usually reply within 1 day
-
bug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AOSSIE-Org/PictoPy#1802 · 2 comments ·
Maintainers usually reply within 3 days
-
community-request
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-NeMo/Run#727 ·
Maintainers usually reply within 1 day