query_configΒΆ

query_config is a script in CIMEROOT/scripts.

$ ./query_config --help
Traceback (most recent call last):
  File "/home/titters/devel/E3SM/cime/master/scripts/./query_config", line 486, in <module>
    _main_func(__doc__)
  File "/home/titters/devel/E3SM/cime/master/scripts/./query_config", line 464, in _main_func
    grids, compsets, components, machines, long_output, xml, files = parse_command_line(
  File "/home/titters/devel/E3SM/cime/master/scripts/./query_config", line 233, in parse_command_line
    files[comp_interface] = Files(comp_interface=comp_interface)
  File "/home/titters/devel/E3SM/cime/master/scripts/Tools/../../scripts/lib/CIME/XML/files.py", line 28, in __init__
    EntryID.__init__(self, infile, schema=schema)
  File "/home/titters/devel/E3SM/cime/master/scripts/Tools/../../scripts/lib/CIME/XML/entry_id.py", line 17, in __init__
    GenericXML.__init__(self, infile, schema, read_only=read_only)
  File "/home/titters/devel/E3SM/cime/master/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 79, in __init__
    self.read(infile, schema)
  File "/home/titters/devel/E3SM/cime/master/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 137, in read
    self.validate_xml_file(infile, schema)
  File "/home/titters/devel/E3SM/cime/master/scripts/Tools/../../scripts/lib/CIME/XML/generic_xml.py", line 704, in validate_xml_file
    os.path.isfile(xmllint),
  File "/opt/hostedtoolcache/Python/3.10.2/x64/lib/python3.10/genericpath.py", line 30, in isfile
    st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType