synchrony / smsn

Semantic Synchrony. An experiment in cognitive and sensory augmentation.
Other
179 stars 15 forks source link

warnings I get under (what is as far as I can detect) normal correct functioning #52

Open JeffreyBenjaminBrown opened 7 years ago

JeffreyBenjaminBrown commented 7 years ago
jeff@jbb-lenovo:~$ sudo docker logs 6ed74e342d05 | egrep -i "warn|err"
[sudo] password for jeff: 
[WARN] GremlinExecutor - Initialization script conf/smsn.yaml did not return a Map - no global bindings specified
[WARN] GremlinExecutor - Initialization script conf/smsn.yaml did not return a Map - no global bindings specified
[WARN] AbstractEvalOpProcessor - Exception processing a script on request [RequestMessage{, requestId=null, op='eval', processor='session', args={language=smsn, session=undefined, gremlin={"action":"net.fortytwo.smsn.server.actions.UpdateView","view":"+ :eqQvJIIL2pUibZXb: after moving one voice, move a different one\n+ :POJgZHl0DkDm1cGD: good even the bad\n  source: public","viewFormat":"wiki","filter":{"minSource":"private","defaultSource":"public","minWeight":0.0,"defaultWeight":0.5},"root":"hCBF2GwC8WwXaCLg","height":1,"style":"forward"}}}].
        at net.fortytwo.smsn.brain.io.wiki.WikiParser.parseError(WikiParser.java:118)
joshsh commented 7 years ago

Somehow, you ended up pushing these four lines as a view update:

+ :eqQvJIIL2pUibZXb: after moving one voice, move a different one
+ :POJgZHl0DkDm1cGD: good even the bad
  source: public

Do you have any idea how this happened?

JeffreyBenjaminBrown commented 7 years ago

Ah, cool. Yeah, I tried to update its source to public but left off the @ symbol.

JeffreyBenjaminBrown commented 7 years ago

Do you not get the other two warnings?

joshsh commented 7 years ago

Which warnings are those? I just see the parse error.

JeffreyBenjaminBrown commented 7 years ago
[WARN] GremlinExecutor - Initialization script conf/smsn.yaml did not return a Map - no global bindings specified
joshsh commented 7 years ago

Can you paste your smsn.yaml?

JeffreyBenjaminBrown commented 7 years ago

It's the docker-smsn one.

joshsh commented 7 years ago

The YAML is valid. I see the source of that error message in GremlinExecutor, but I'm not sure why it happens (why the bindings for smsn.yaml are not successfully loaded). I think we will need to try to reproduce it with JVM debugging enabled.