Ontology not loading correctly?

50 views
Skip to first unread message

justin...@gmail.com

unread,
Jan 31, 2015, 2:31:40 AM1/31/15
to lum...@googlegroups.com


I am setting up a cluster to run lumify on so I may have missed something. But when I start jetty I get the error below. Did I miss something in the setup?

Thanks


io.lumify.core.exception.LumifyException: Could not find relationship by intent: entityHasImage

        at io.lumify.core.model.ontology.OntologyRepositoryBase.getRequiredRelationshipByIntent(OntologyRepositoryBase.java:879)

        at io.lumify.core.model.ontology.OntologyRepositoryBase.getRequiredRelationshipIRIByIntent(OntologyRepositoryBase.java:886)

        at io.lumify.web.routes.workspace.WorkspaceHelper.<init>(WorkspaceHelper.java:59)

        at io.lumify.web.routes.workspace.WorkspaceHelper$$FastClassByGuice$$95ee75ce.newInstance(<generated>)

        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)

        at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)

Matthias Loepfe

unread,
Feb 1, 2015, 7:00:00 AM2/1/15
to lum...@googlegroups.com
I had the same and filed an issue on github: https://github.com/lumifyio/lumify/issues/539

justin...@gmail.com

unread,
Feb 2, 2015, 12:44:33 AM2/2/15
to lum...@googlegroups.com
I was able to resolve this error but I still don't know what caused it to begin with. The error will go away if you load the dev ontology that defines entityHasImage.

Joe Ferner

unread,
Feb 2, 2015, 7:56:35 AM2/2/15
to
Should be fixed now.

You may still see errors, but the web app will start, because by default graph property workers and long running processes will run as separate threads in the web container. During the first start these processes will be looking for an ontology. You can either ignore these errors, load an ontology using the web interface, then restart the web server. Or, you can use the configuration options to load an ontology (see https://github.com/lumifyio/lumify/blob/master/docs/ontology.md#loading-an-ontology-via-configuration).
Reply all
Reply to author
Forward
0 new messages