jolly-midnight-72759
01/12/2021, 7:02 PM[GLOBAL]
pythonpath = ["%(buildroot)s/pants-plugins"]
jolly-midnight-72759
01/12/2021, 7:03 PMpants.option.config.Config.ConfigValidationError: Invalid config entries detected. See log for details on which entries to update or remove.
but no details on what config is wrong. I have not found a log file.hundreds-father-404
01/12/2021, 7:07 PMjolly-midnight-72759
01/12/2021, 7:10 PM% ./pants --version cb/chartbeat (CICD-8/pants-v2 :zap:) ip-10-5-0-2
14:10:10.38 [INFO] initializing pantsd...
14:10:11.24 [INFO] pantsd initialized.
14:10:11.29 [ERROR] Invalid config entries detected. See log for details on which entries to update or remove.
(Specify --no-verify-config to disable this check.)
Traceback (most recent call last):
File "/Users/raul/.cache/pants/setup/bootstrap-Darwin-x86_64/2.2.0rc2_py38/lib/python3.8/site-packages/pants/bin/daemon_pants_runner.py", line 158, in single_daemonized_run
runner = LocalPantsRunner.create(
File "/Users/raul/.cache/pants/setup/bootstrap-Darwin-x86_64/2.2.0rc2_py38/lib/python3.8/site-packages/pants/bin/local_pants_runner.py", line 156, in create
options.verify_configs(options_bootstrapper.config)
File "/Users/raul/.cache/pants/setup/bootstrap-Darwin-x86_64/2.2.0rc2_py38/lib/python3.8/site-packages/pants/option/options.py", line 264, in verify_configs
raise Config.ConfigValidationError(
pants.option.config.Config.ConfigValidationError: Invalid config entries detected. See log for details on which entries to update or remove.
(Specify --no-verify-config to disable this check.)
jolly-midnight-72759
01/12/2021, 7:11 PMoptions_bootstrapper.config
?jolly-midnight-72759
01/12/2021, 7:12 PMbootstrapper
in it.hundreds-father-404
01/12/2021, 7:13 PMI might be able to eye-ball the issueThis isn't sustainable at all. Intent is to unblock you and then we can figure out why the bad entry isn't being printed anymore
jolly-midnight-72759
01/12/2021, 7:14 PMjolly-midnight-72759
01/12/2021, 7:15 PMpants_distdir_legacy_paths
jolly-midnight-72759
01/12/2021, 7:15 PMjolly-midnight-72759
01/12/2021, 7:16 PMignore_pants_warning
settings is probably the problemjolly-midnight-72759
01/12/2021, 7:16 PMignore...
setting on a particular run?hundreds-father-404
01/12/2021, 7:23 PMMy ignore_pants_warning settings is probably the problemOh, that could be the culprit! Yes,
./pants --ignore-pants-warnings='[]' --version
. Note the quotesjolly-midnight-72759
01/12/2021, 7:26 PMhundreds-father-404
01/12/2021, 7:27 PMjolly-midnight-72759
01/12/2021, 7:27 PM./pants --vesion || ./pants --ignore-pants-warnings='[]' --version
\o/jolly-midnight-72759
01/12/2021, 7:28 PMjolly-midnight-72759
01/12/2021, 7:28 PMpants.toml
file. 😊jolly-midnight-72759
01/12/2021, 7:28 PMjolly-midnight-72759
01/12/2021, 7:29 PMjolly-midnight-72759
01/12/2021, 7:30 PM--ignore...
works.
Good developers always test!)