biosemantics / etc-site-archived-do-not-use

Source code for the ETC Toolkit web application
http://etc.cs.umb.edu/etcsite/
1 stars 0 forks source link

Error Messages to the end user #157

Open hongcui opened 9 years ago

hongcui commented 9 years ago

This ticket is where I am compiling a list of places meaningful error messages need to be passed to the user. The list will likely grow:

MatrixGenerationService.isValidInput ()

rodenhausen commented 9 years ago

Methods in https://github.com/biosemantics/etc-site/blob/master/src/main/java/edu/arizona/biosemantics/etcsite/server/rpc/file/FileService.java probably need some work regarding that too to show the user if something goes wrong in file manager.

On Thu, Dec 18, 2014 at 11:03 AM, hongcui notifications@github.com wrote:

This ticket is where I am compiling a list of places meaningful error messages need to be passed to the user. The list will likely grow:

MatrixGenerationService.isValidInput ()

— Reply to this email directly or view it on GitHub https://github.com/biosemantics/etc-site/issues/157.

hongcui commented 9 years ago

In Text Caputure Parse step, user would get a Parse Failed message if one of the ontology can not be load (see below). The error message should include "ontology can't be load due to network issues, try again later''.

main edu.arizona.biosemantics.oto.common.ontologylookup.search.owlaccessor.OWLAccessorImpl ERROR - can't load ontology:C:\Users\updates\etcsite_temp\ontologies\ro.owl org.semanticweb.owlapi.model.UnloadableImportException: Could not load imported ontology: http://purl.obolibrary.org/obo/ro/annotations.owl Cause: Connection reset at ..... at edu.arizona.biosemantics.oto.common.ontologylookup.search.owlaccessor.OWLAccessorImpl.(OWLAccessorImpl.java:133) at edu.arizona.biosemantics.oto.common.ontologylookup.search.knowledge.TermOutputerUtilities.(TermOutputerUtilities.java:100) at edu.arizona.biosemantics.oto.common.ontologylookup.search.OntologyLookupClient.(OntologyLookupClient.java:66) at edu.arizona.biosemantics.common.ontology.search.FileSearcher.(FileSearcher.java:25)

rodenhausen commented 9 years ago

maybe it is an option to catch and handle the exception to allow text capture to complete (leaving out this ontology processing part)?

On Fri, Apr 10, 2015 at 10:07 AM, hongcui notifications@github.com wrote:

In Text Caputure Parse step, user would get a Parse Failed message if one of the ontology can not be load (see below). The error message should include "ontology can't be load due to network issues, try again later''.

main edu.arizona.biosemantics.oto.common.ontologylookup.search.owlaccessor.OWLAccessorImpl ERROR - can't load ontology:C:\Users\updates\etcsite_temp\ontologies\ro.owl org.semanticweb.owlapi.model.UnloadableImportException: Could not load imported ontology: http://purl.obolibrary.org/obo/ro/annotations.owl Cause: Connection reset at ..... at edu.arizona.biosemantics.oto.common.ontologylookup.search.owlaccessor.OWLAccessorImpl.(OWLAccessorImpl.java:133) at edu.arizona.biosemantics.oto.common.ontologylookup.search.knowledge.TermOutputerUtilities.(TermOutputerUtilities.java:100) at edu.arizona.biosemantics.oto.common.ontologylookup.search.OntologyLookupClient.(OntologyLookupClient.java:66) at edu.arizona.biosemantics.common.ontology.search.FileSearcher.(FileSearcher.java:25)

— Reply to this email directly or view it on GitHub https://github.com/biosemantics/etc-site/issues/157#issuecomment-91623342 .

hongcui commented 9 years ago

I agree we can skip some ontology. Would be nice to inform the user some of the ontologies were not searched.

On Fri, Apr 10, 2015 at 10:17 AM, rodenhausen notifications@github.com wrote:

maybe it is an option to catch and handle the exception to allow text capture to complete (leaving out this ontology processing part)?

On Fri, Apr 10, 2015 at 10:07 AM, hongcui notifications@github.com wrote:

In Text Caputure Parse step, user would get a Parse Failed message if one of the ontology can not be load (see below). The error message should include "ontology can't be load due to network issues, try again later''.

main

edu.arizona.biosemantics.oto.common.ontologylookup.search.owlaccessor.OWLAccessorImpl ERROR - can't load ontology:C:\Users\updates\etcsite_temp\ontologies\ro.owl org.semanticweb.owlapi.model.UnloadableImportException: Could not load imported ontology: http://purl.obolibrary.org/obo/ro/annotations.owl Cause: Connection reset at ..... at

edu.arizona.biosemantics.oto.common.ontologylookup.search.owlaccessor.OWLAccessorImpl.(OWLAccessorImpl.java:133) at

edu.arizona.biosemantics.oto.common.ontologylookup.search.knowledge.TermOutputerUtilities.(TermOutputerUtilities.java:100) at

edu.arizona.biosemantics.oto.common.ontologylookup.search.OntologyLookupClient.(OntologyLookupClient.java:66) at

edu.arizona.biosemantics.common.ontology.search.FileSearcher.(FileSearcher.java:25)

— Reply to this email directly or view it on GitHub < https://github.com/biosemantics/etc-site/issues/157#issuecomment-91623342>

.

— Reply to this email directly or view it on GitHub https://github.com/biosemantics/etc-site/issues/157#issuecomment-91625975 .

Hong Cui, Ph.D http://sirls.arizona.edu/hongcui Associate Professor, Information Technology School of Information Resource and Library Science http://sirls.arizona.edu University of Arizona

Member of Plazi.org