ontoportal-lirmm / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
0 stars 7 forks source link

erroneous generated diff output folder #13

Closed syphax-bouazzouni closed 2 years ago

syphax-bouazzouni commented 2 years ago

We have a bug in generating the output folder. Logs of CO_020

E, [2022-02-25T14:13:46.468545 #7913] ERROR -- : ["Bubastis diff for http://data.bioontology.org/ontologies/CO_020/submissions/5 failed - LinkedData::Diff::MkdirException: Output folder /srv/ooportal/data/repository/CO_020/5/ folder cannot be created."]

Log of CO_121

E, [2022-02-25T14:34:45.753063 #9470] ERROR -- : ["Bubastis diff for http://data.bioontology.org/ontologies/CO_121/submissions/3 failed - LinkedData::Diff::MkdirException: Output folder /srv/ooportal/data/repository/CO_121/3/ folder cannot be created."]

It's an error in generating the output folder name , see code exemple below

image
syphax-bouazzouni commented 2 years ago

Fixed Logs of CO_020

I, [2022-03-01T18:28:08.609012 #31037]  INFO -- : ["Java call [java -DentityExpansionLimit=1500000 -Xmx20480M -jar /srv/ontoportal/ncbo_cron_deployments/shared/bundle/ruby/2.6.0/bundler/gems/ontologies_linked_data-6e034079590d/bin/bubastis.jar -ontology1 /srv/ontoportal/data/repository/CO_020/4/nt -ontology2 /srv/ontoportal/data/repository/CO_020/5/nt -output /srv/ontoportal/data/repository/CO_020/5/bubastis_diff.xml -format xml]"]
I, [2022-03-01T18:28:10.455826 #31037]  INFO -- : ["Bubastis diff finished OK."]

Log CO_121

I, [2022-03-01T18:29:54.722062 #31373]  INFO -- : ["Java call [java -DentityExpansionLimit=1500000 -Xmx20480M -jar /srv/ontoportal/ncbo_cron_deployments/shared/bundle/ruby/2.6.0/bundler/gems/ontologies_linked_data-6e034079590d/bin/bubastis.jar -ontology1 /srv/ontoportal/data/repository/CO_121/2/owl -ontology2 /srv/ontoportal/data/repository/CO_121/3/nt -output /srv/ontoportal/data/repository/CO_121/3/bubastis_diff.xml -format xml]"]
I, [2022-03-01T18:29:56.068914 #31373]  INFO -- : ["Bubastis diff finished OK."]