OpenEnergyPlatform / ontology

Repository for the Open Energy Ontology (OEO)
Creative Commons Zero v1.0 Universal
111 stars 23 forks source link

Protégé fails to import OMO #620

Closed l-emele closed 3 years ago

l-emele commented 3 years ago

Description of the issue

Since merging PR #616 Protégé fails to open the OEO. It stops working while trying to open OMO, see last line of this screenshot:

grafik

Protégé just hangs at this step, the only possibility is to force terminate Protégé.

Ideas of solution

If you already have ideas for the solution describe them here

Workflow checklist

jannahastings commented 3 years ago

Oh dear! It works for me without even pausing for a second :-(. Protege saves all the "special" problems for you @l-emele !

What happens if you go to http://purl.obolibrary.org/obo/omo.owl in a web browser? (You should get redirected to a file)

l-emele commented 3 years ago

My browser redirects to this URL: https://raw.githubusercontent.com/information-artifact-ontology/ontology-metadata/v2020-06-08/omo.owl The content in the browser look seems to be the correct owl file.

sfluegel05 commented 3 years ago

I also can't replicate your problem. When I try to open the ontology, everything works fine.

l-emele commented 3 years ago

I just did a test: On a local branch, I replaced in the oeo-shared.omn the URL http://purl.obolibrary.org/obo/omo.owl with the URL https://raw.githubusercontent.com/information-artifact-ontology/ontology-metadata/v2020-06-08/omo.owl. Protégé then starts and loads everything without problems.

So we can narrow down the problem that the redirect is causing the problem. Maybe because the original URL is a http, the redirected on a https?

l-emele commented 3 years ago

We had issues before with redirects, see #426.

jannahastings commented 3 years ago

I seem to remember something about some redirection problem in the OWL API that was fixed in a recent version. Just double checking which version of Protege you are using?

l-emele commented 3 years ago

I am currently using Version 5.5.0 Build beta-4.

According to https://protege.stanford.edu/products.php#desktop-protege, the latest version is 5.5.0 (without beta). I'll download now that version and test whether this causes the problem, too.

l-emele commented 3 years ago

Using version 5.5.0 (stable) solves the problem. I documented in https://github.com/OpenEnergyPlatform/ontology/wiki/Prot%C3%A9g%C3%A9 that this version should be used.

I'll close this issue now.