Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JeffreyBenjaminBrown opened this issue Jun 17, 2017 · 8 comments

Comments

@JeffreyBenjaminBrown
Copy link
Member

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)
@JeffreyBenjaminBrown JeffreyBenjaminBrown changed the title warnings I get under (what looks like) normal correct functioning warnings I get under (what is as far as I can detect) normal correct functioning Jun 17, 2017
@joshsh
Copy link
Member

joshsh commented Jun 18, 2017

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
Copy link
Member Author

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

@JeffreyBenjaminBrown
Copy link
Member Author

Do you not get the other two warnings?

@joshsh
Copy link
Member

joshsh commented Jun 18, 2017

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

@JeffreyBenjaminBrown
Copy link
Member Author

[WARN] GremlinExecutor - Initialization script conf/smsn.yaml did not return a Map - no global bindings specified

@joshsh
Copy link
Member

joshsh commented Jun 20, 2017

Can you paste your smsn.yaml?

@JeffreyBenjaminBrown
Copy link
Member Author

It's the docker-smsn one.

@joshsh
Copy link
Member

joshsh commented Jun 20, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants