Open mhechthz opened 1 year ago
Hi there! Any idea what was causing this issue for you? I'm having a the same error message on a new computer.
Thanks!
Could you give a little more information? In which Operative System, and which version of Julia? I need that to be able to replicate it and fix it. Thank you in advance!
Yup! I'm seeing this on Windows 10 with Julia 1.9.2.
I seem to have the same or a similar problem on Windows 10 with Julia 1.10.1. I get simple examples (e.g. jlcall('x -> x^2',{2.1})) to run perfectly fine. But when I try to run functions from my own project, it fails with that cryptic setenv([...]): operation not supported on socket (ENOTSUP) error.
I tried both the syntax
jlcall(function_name,{inputs},'project','path/to/project','modules',{'project'})
as well as
jlcall(function_name,{inputs},'setup','path/to/setup_code.jl')
,
where I put
using Pkg
Pkg.develop(path = "path/to/project")
import project
In the first instance, my error looked similar to what mhechthz showed. In the second instance, the stacktrace shows that the error occurs in the line with Pkg.develop().
Thank you for your interest. I think the problem is the develop() because it create a new project and change the activated work dir. DaemonMode is going to use the activated project in the Daemon process, so I think it is better to do that in the server, not in the client (or the activate, It is not good to run develop() several times).
I personally usually I run the Daemon process setting previously JULIA_PROJECT, and the run the client, that does not Pkg activate (or develop). If you activate with the same project than the Daemon, it is working, but develop() is not right in my opinion, I never use develop inside a program, only activate.
While DaemonModes works at home on my provate computer, i get on my work computer in the office:
Might this be related to anti virus software? I read something about this in web.
Connection to the DeamonMode server from client seems to be established.
EDIT: With Julia 1.9 alpha the error vanishes.