ontologyportal / sigmakee

Sigma Knowledge Engineering Environment
GNU General Public License v3.0
100 stars 34 forks source link

Web interface error #75

Closed Pruzny closed 1 year ago

Pruzny commented 1 year ago

I successfully built Sigma and also checked config.xml and .bashrc for any problems. but everything looks fine.

However, when I try to run Sigma to open the web version I get this output:

KBmanager.serializedOld(config): returning false (not old)
KBmanager.loadSerialized(): KBmanager has been deserialized 
WordNet.initOnce(): 'disable' is: true
Info in KBmanager.initializeOnce(): initialized is true
KBmanager.initializeOnce(): total init time in seconds: 166
KB.main() term depth of Object : 2
KB.main() term depth of Transaction : 6
KB.main() eqrel -1
KB.main() Object is shallower than Transaction

Then the execution stops. If I try to login into the sigma site I get this error.

The python interface example works great, so I don't know why web sigma doesn't. Here are my config.xml and .bashrc last lines.

apease commented 1 year ago

Hi Maximillian, I see that you're using OpenJDK. In theory that should work with Tomcat, but I haven't tried it, and that could be the problem if the command line test with KB.java works but the web interface doesn't. Have you tried installing with Oracle JDK per the README?

all the best, Adam

On 10/17/22 4:02 PM, Maximilian Harrisson wrote:

I successfully built Sigma and also checked config.xml and .bashrc for any problems. but everything looks fine.

However, when I try to run Sigma to open the web version I get this output:

|KBmanager.serializedOld(config): returning false (not old) KBmanager.loadSerialized(): KBmanager has been deserialized WordNet.initOnce(): 'disable' is: true Info in KBmanager.initializeOnce(): initialized is true KBmanager.initializeOnce(): total init time in seconds: 166 KB.main() term depth of Object : 2 KB.main() term depth of Transaction : 6 KB.main() eqrel -1 KB.main() Object is shallower than Transaction |

Then the execution stops. If I try to login into the sigma site I get this error https://pastebin.com/Wh5zEhhW.

The python interface example works great, so I don't know why web sigma doesn't. Here are my config.xml https://pastebin.com/YgKR4j4V and .bashrc last lines https://pastebin.com/qSCVMP4p.

— Reply to this email directly, view it on GitHub https://github.com/ontologyportal/sigmakee/issues/75, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQG6HOPTO2PAFIUK7E7MKTWDVL7FANCNFSM6AAAAAARHDMAOE. You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Adam Pease https://www.ontologyportal.org https://www.adampease.org https://www.youtube.com/user/peaseadam @apease_ontology on Twitter

Pruzny commented 1 year ago

Sorry, I didn't see that line about OpenJDK in the README. Now I'm using Oracle JDK and it's working.

Thanks for the help!