Coder Social home page Coder Social logo

Comments (2)

persquare avatar persquare commented on May 18, 2024

2017-09-08 16:51:28,040 ERROR 2286-calvin.calvin.utilities.runtime_credentials: get_domain: error while trying to read domain from Calvin config, err=argument of type 'NoneType' is not iterable

This is actually OK. It just means that Calvin's security isn't configured on your machine and it will fall back to running with security disabled. The log message should really be changed to something more informative.

2017-09-08 16:51:28,040 INFO 2286-calvin.calvin.runtime.north.calvincontrol: Control API trying to listening on: localhost:5001
DEPLOY STATUS 200, OK
Deployed application 38835e32-a853-449c-9aeb-1c402e5561c5

This is actually confirmation that your example is running...

2017-09-08 16:51:30,965 INFO 2286-calvin.calvin.runtime.north.calvin_node: All done, exiting
2017-09-08 16:51:30,980 INFO 2286-calvin.calvin.runtime.north.calvin_node: Quitting node "['calvinip://localhost:5000']"

...and this is the runtime quitting as it is supposed to do when started like this.

However, the default is for the runtime to quit after 3s (!) when started with a file argument. I suspect that your runtime simply didn't have enough time to produce output. Try changing the keep-alive time to 10s or perhaps even longer

csruntime --host localhost --keep-alive 10 hello.calvin

and see if that helps.

The ability to add a script to the csruntime command is just convenience to allow quick testing of a script, the "normal" way to start a runtime is to start it without a script argument, in which case it will keep on running forever and you feed it applications using the cscontrol command.

from calvin-base.

samsimsim avatar samsimsim commented on May 18, 2024

Thank you! It works now.

from calvin-base.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.