RTXteam / RTX-KG2

Build system for the RTX-KG2 biomedical knowledge graph, part of the ARAX reasoning system (https://github.com/RTXTeam/RTX)
MIT License
34 stars 9 forks source link

Error in rule Ontologies_Conversion #368

Open acevedol opened 4 months ago

acevedol commented 4 months ago

Recurring issue on kg290build.rtx.ai

[Wed Feb 21 16:37:57 2024]
Error in rule Ontologies_Conversion:
    jobid: 8
    output: /home/ubuntu/kg2-build/kg2-ont-nodes.jsonl, /home/ubuntu/kg2-build/kg2-ont-edges.jsonl
    log: /home/ubuntu/kg2-build/build-multi-ont-kg.log (check log file(s) for error message)
    shell:
        bash -x /home/ubuntu/kg2-code/build-multi-ont-kg.sh /home/ubuntu/kg2-build/kg2-ont-nodes.jsonl /home/ubuntu/kg2-build/kg2-ont-edges.jsonl  > /home/ubuntu/kg2-build/build-multi-ont-kg.log 2>&1
        (exited with non-zero exit code)
Traceback (most recent call last):
  File "/home/ubuntu/kg2-code/multi_ont_to_kg_jsonl.py", line 1261, in <module>
    ont_urls_and_files = tuple(kg2_util.safe_load_yaml_from_string(kg2_util.read
_file_to_string(ont_load_inventory_file)))
  File "/home/ubuntu/RTX-KG2/kg2_util.py", line 411, in safe_load_yaml_from_stri
ng
    return yaml.safe_load(io.StringIO(yaml_string))
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/__init__.py", lin
e 162, in safe_load
    return load(stream, SafeLoader)
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/__init__.py", line 114, in load
    return loader.get_single_data()
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/composer.py", line 55, in compose_document
    node = self.compose_node(None, None)
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/composer.py", line 82, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/composer.py", line 110, in compose_sequence_node
    while not self.check_event(SequenceEndEvent):
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/parser.py", line 98, in check_event
    self.current_event = self.state()
  File "/home/ubuntu/kg2-venv/lib/python3.7/site-packages/yaml/parser.py", line 393, in parse_block_sequence_entry
    "expected <block end>, but found %r" % token.id, token.start_mark)
yaml.parser.ParserError: while parsing a block collection
  in "<file>", line 1, column 1
expected <block end>, but found '<block sequence start>'
  in "<file>", line 126, column 2