You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/conans/client/profile_loader.py", line 121, in read_profile
return _load_profile(text, profile_path, default_folder)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/conans/client/profile_loader.py", line 140, in _load_profile
profile, included_vars = read_profile(include, cwd, default_folder)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/conans/client/profile_loader.py", line 116, in read_profile
profile_path = get_profile_path(profile_name, default_folder, cwd)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/conans/client/profile_loader.py", line 104, in get_profile_path
raise ConanException("Profile not found: %s" % profile_name)
conans.errors.ConanException: Profile not found: base/centos7
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/pyenv/versions/3.6.14/bin/run_create_in_docker", line 11, in <module>
load_entry_point('conan-package-tools==0.35.1', 'console_scripts', 'run_create_in_docker')()
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/cpt/run_in_docker.py", line 64, in run
lockfile=lockfile)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/cpt/runner.py", line 65, in __init__
self._profile = load_profile(profile_abs_path, cache)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/cpt/profiles.py", line 88, in load_profile
client_cache.profiles_path)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/conans/client/profile_loader.py", line 140, in _load_profile
profile, included_vars = read_profile(include, cwd, default_folder)
File "/opt/pyenv/versions/3.6.14/lib/python3.6/site-packages/conans/client/profile_loader.py", line 125, in read_profile
raise ConanException("Error reading '%s' profile: %s" % (profile_name, exc))
The text was updated successfully, but these errors were encountered:
Description of Problem, Request, or Question
when using profile includes, as described in the docs and using docker, cpt doesn't find the included profile.
This seems to because the runner reads the profile before installing config
conan-package-tools/cpt/runner.py
Line 65 in 7eff1ff
Alternatively, it could try to resolve the includes when setting
CPT_PROFILE
.Environment Details
Steps to reproduce (Include if Applicable)
use a config in which a profile includes another one
Build logs (Include if Available)
The text was updated successfully, but these errors were encountered: