Comments (8)
I've implemented UID Generation in scope of this issue at Commit f5d02ae as well
from ck-crowdnode.
I did a few minor fixes for Windows. Server starts and receives commands. However, I do not have directory C:\Tmp, so server crashes when I try to push file. I guess this will be fixed with the configuration file (issue #5) and detection of %Temp% directory on Windows (when setting default configuration). However, it is still useful not to crash with seg fault, if there is a problem with writing.
When adding C:\Tmp, it starts working and file is pushed correctly, However the returned string is not recognized by CK (I think it has '\n' as string rather than character), so I receive the following error:
CK error: Access to remote CK repository failed ({
)!
Is it possible to check that the returned string on Windows has '\n' as character, please (I think this is the problem)?
Thanks a lot!
from ck-crowdnode.
Is it possible to check that the returned string on Windows has '\n' as character, please (I think this is >the problem)?
There is the same result message format build with
cJSON_Print(resultJSON)
But I noticed that "pull" command process result string without issue
"push" just print response as is:
{ "return": "0", "compileUUID": "39a9e854-8496-11e6-8029-912d40471f21" }
from ck-crowdnode.
However, I do not have directory C:\Tmp, so server crashes when I try to push file
fixed at commit 1f1a7d5
from ck-crowdnode.
I've added dummy "shell" command implementation at commit efd8bea.
It could be used now to check if command result is ok.
Command example:
call ck shell remote-ck-node:: --filename=ck-master.zip --secretkey=c4e239b4-8471-11e6-b24d-cbfef11692ca --cmd="echo \"test\""
result message:
{ "return": "0", "return_code": 0, "stdout": "some program std out", "stderr": "some program stderr" }
from ck-crowdnode.
This looks fine. But just curious - you do not need "--filename" here, right?
from ck-crowdnode.
This looks fine. But just curious - you do not need "--filename" here, right?
Yes for sure will remove from example in next commit
from ck-crowdnode.
It's now working on Windows - thanks a lot!!!
from ck-crowdnode.
Related Issues (11)
- Create downloadables (e.g. the Windows installer) in CI HOT 5
- query CK crowdnode status from CK machine module HOT 3
- making ck-crowdnode-server available via Windows app store HOT 1
- Check the code with PVS Studio
- problem compiling with VS2017 - not urgent
- server crashes after push command HOT 2
- big file was not recorded properly during push HOT 5
- adding configuration file HOT 4
- Adding secret_key file ... HOT 3
- extra improvements 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 ck-crowdnode.