Comments (5)
Hi there! Any idea what was causing this issue for you? I'm having a the same error message on a new computer.
Thanks!
from daemonmode.jl.
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!
from daemonmode.jl.
Yup! I'm seeing this on Windows 10 with Julia 1.9.2.
from daemonmode.jl.
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().
from daemonmode.jl.
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.
from daemonmode.jl.
Related Issues (20)
- eval() does not work with DaemonMode? HOT 3
- Version 0.1.10 HOT 1
- Different output from DaemonMode when compared to native julia HOT 1
- Add SIGINT handler? HOT 1
- Error running scripts calling `@info` HOT 1
- support unix domain sockets (instead of port number) HOT 2
- Output from "display()" does not exist
- Integrating DaemonMode into Julia-vscode extension (or something similar) HOT 1
- MethodError runargs
- Poor timing on print
- Is it possible builtin this daemon mode in official julia
- Handle `-e` / `-E` arguments. HOT 1
- "DaemonMode::end" emitted when built into a sysimage HOT 2
- exit() exits the server HOT 12
- got unsupported keyword argument "async" HOT 1
- Revise does not gracefully fail
- DaemonMode performs no multiprocessing HOT 1
- DaemonMode multiprocessing without performance increase? HOT 2
- ARGS are not parse correctly with quotation marks HOT 1
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 daemonmode.jl.