Comments (5)
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.
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.
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.
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.
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)
- Missing documentation for `context` and `data` actors HOT 1
- Problematic simultaneous runtimes HOT 35
- Deleting Applications doesn't seem to work HOT 5
- MQTT readme file not up to date
- Port tests call fixtures directly
- BaseException.message used in tests.
- Draft of stand-alone actorstore HOT 1
- cscontrol connection refused (err:111) distributed environment HOT 5
- 'Did not received reply for msg id within 5 seconds' HOT 16
- Sensor Virtual Weather Not Found HOT 6
- Unknown actor type HOT 1
- ImportError: DLL load failed: The specified procedure could not be found. Import win32api
- Replication of components is not working
- Suggested methods for adding non actor functionalities HOT 5
- Error running script on windows, path delimiter issue HOT 1
- On Windows: ImportError: No module named win32api HOT 6
- Force rpcudp version to 2.0 HOT 1
- error: pyasn1 0.1.9 is installed but pyasn1<0.5.0,>=0.4.1 is required by set(['pyasn1-modules']) HOT 16
- web3 integration HOT 2
- Application with raspberry pi and sensors to send data HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calvin-base.