ontogpt icon indicating copy to clipboard operation
ontogpt copied to clipboard

About ERROR:ontogpt.engines.knowledge_engine:Error with GildaImplementation

Open yy20716 opened this issue 1 year ago • 1 comments

Hello @cmungall, I was able to install ontogpt after adjusting dependencies using poetry. I was trying to run the example your readme, i.e.

kih1pal@SYV-C-0001Y:~/ontogpt$ poetry run ontogpt extract -t gocam.GoCamAnnotations abstract.txt

It seems that something happens from ontology matching steps; it takes very long time and weird SSL issues are currently printing as errors, causing the failure of the operation. I wonder if there are ways to avoid this SSL validation issue, e.g.,

...
WARNING:root:Could not find any mappings for http://identifiers.org/hgnc/1885
WARNING:root:Could not find any mappings for http://identifiers.org/hgnc/1885
ERROR:ontogpt.engines.knowledge_engine:Error with GildaImplementation(resource=OntologyResource(slug=None, directory=None, scheme='gilda', format=None, url=None, readonly=False, provider=None, local=False, in_memory=False, data=None, implementation_class=<class 'oaklib.implementations.gilda.GildaImplementation'>, import_depth=None), strict=False, multilingual=None, preferred_language='en', autosave=True, exclude_owl_top_and_bottom=True, ontology_metamodel_mapper=None, _converter=None) for cGAS: SSL validation failed for https://gilda.s3.amazonaws.com/0.10.3/grounding_terms.tsv.gz [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
...

I guess this may come from oaklib. I wonder if there are ways to solve or avoid issues. Thank you for your help!

p.s. I also tried if " --skip-annotator gilda:" works, suggested in other posts, but it's not working yet.

yy20716 avatar Mar 29 '23 04:03 yy20716