Coder Social home page Coder Social logo

Comments (5)

HaraldGustafsson avatar HaraldGustafsson commented on May 18, 2024

Hi,
calvinip is the uri schema currently implemented for connecting nodes over ip. It is expected to have successfully manged to register this transport plugin. Since it is missing in the dictionary (unknown key) it has failed. This could be for a number of reasons e.g. missing requirements, faulty configuration file (framework should be twisted) or perhaps that we have not tested enough on Windows (seems you run on Windows). I would expect the last to be the problem. Unfortunately I'm not at a computer to be able to verify the problem. Maybe someone else in the team could check it out.

from calvin-base.

HaraldGustafsson avatar HaraldGustafsson commented on May 18, 2024

I have hopefully fixed this issue when running on Windows (with today's commit on the master branch). Let me know if it works so we can close this bug.

from calvin-base.

deven2014 avatar deven2014 commented on May 18, 2024

Yes. It seems the bugs have been fixed. I updated calvin_network.py and ran the test script, the errors 'Unhandled Error' and 'exceptions.KeyError: 'calvinip'' had gone.
But I notice there a statement 'select.error: (10022, 'An invalid argument was supplied')' , what is that mean?
Test result:
D:\calvin-base-master\calvin\scripts>csdeploy test1.calvin
2015-07-24 14:12:07,157 INFO calvin.calvin.runtime.north.calvincontrol: Listening on: localhost:5001
Traceback (most recent call last):
File "c:\python27\scripts\csdeploy-script.py", line 9, in
load_entry_point('calvin==0.1', 'console_scripts', 'csdeploy')()
File "C:\Python27\lib\site-packages\calvin-0.1-py2.7.egg\calvin\Tools\deploy_app.py", line 173, in main
select.select([], [], [], timeout)
select.error: (10022, 'An invalid argument was supplied')
2015-07-24 14:12:07,578 INFO calvin.StandardOut: StandardOut: 1
2015-07-24 14:12:07,687 INFO calvin.StandardOut: StandardOut: 2
2015-07-24 14:12:07,796 INFO calvin.StandardOut: StandardOut: 3
2015-07-24 14:12:07,905 INFO calvin.StandardOut: StandardOut: 4
2015-07-24 14:12:08,015 INFO calvin.StandardOut: StandardOut: 5
2015-07-24 14:12:08,124 INFO calvin.StandardOut: StandardOut: 6

from calvin-base.

olaan avatar olaan commented on May 18, 2024

It appears that passing 3 empty lists to select.select() gives this error under Windows. Since the select here simply a wait, I think the error is non-critical.

-----Original Message-----
From: deven2014 [[email protected]]
Received: fredag, 24 jul 2015, 14:18
To: EricssonResearch/calvin-base [[email protected]]
Subject: Re: [calvin-base] run the test scripts receive some error info (#6)

Yes. It seems the bugs have been fixed. I updated calvin_network.py and ran the test script, the errors 'Unhandled Error' and 'exceptions.KeyError: 'calvinip'' had gone.
But I notice there a statement 'select.error: (10022, 'An invalid argument was supplied')' , what is that mean?
Test result:
D:\calvin-base-master\calvin\scripts>csdeploy test1.calvin
2015-07-24 14:12:07,157 INFO calvin.calvin.runtime.north.calvincontrol: Listening on: localhost:5001
Traceback (most recent call last):
File "c:\python27\scripts\csdeploy-script.py", line 9, in
load_entry_point('calvin==0.1', 'console_scripts', 'csdeploy')()
File "C:\Python27\lib\site-packages\calvin-0.1-py2.7.egg\calvin\Tools\deploy_app.py", line 173, in main
select.select([], [], [], timeout)
select.error: (10022, 'An invalid argument was supplied')
2015-07-24 14:12:07,578 INFO calvin.StandardOut: StandardOut: 1
2015-07-24 14:12:07,687 INFO calvin.StandardOut: StandardOut: 2
2015-07-24 14:12:07,796 INFO calvin.StandardOut: StandardOut: 3
2015-07-24 14:12:07,905 INFO calvin.StandardOut: StandardOut: 4
2015-07-24 14:12:08,015 INFO calvin.StandardOut: StandardOut: 5
2015-07-24 14:12:08,124 INFO calvin.StandardOut: StandardOut: 6


Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-124501543.

from calvin-base.

deven2014 avatar deven2014 commented on May 18, 2024

OK, Thank you for your help. I am trying to do another test(deploy 2 actors in different runtimes and connect the two actor) also met some problem. I refer in another issue. So I think I can close this issue 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.