Giter Club home page Giter Club logo

Comments (8)

DVEfremov avatar DVEfremov commented on July 17, 2024

I've implemented UID Generation in scope of this issue at Commit f5d02ae as well

from ck-crowdnode.

gfursin avatar gfursin commented on July 17, 2024

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.

DVEfremov avatar DVEfremov commented on July 17, 2024

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.

DVEfremov avatar DVEfremov commented on July 17, 2024

However, I do not have directory C:\Tmp, so server crashes when I try to push file
fixed at commit 1f1a7d5

from ck-crowdnode.

DVEfremov avatar DVEfremov commented on July 17, 2024

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.

gfursin avatar gfursin commented on July 17, 2024

This looks fine. But just curious - you do not need "--filename" here, right?

from ck-crowdnode.

DVEfremov avatar DVEfremov commented on July 17, 2024

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.

gfursin avatar gfursin commented on July 17, 2024

It's now working on Windows - thanks a lot!!!

from ck-crowdnode.

Related Issues (11)

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.