-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: could not spawn displaz #14
Comments
This issue is happening probably because of the file |
Did you install displaz itself (https://github.com/c42f/displaz), and is it accessible in your path? |
Hi @c42f , I had everything installed correctly, but not in the system path. I did read the I then erased Maybe there is a bug in the way this variable is being used? Is it deprecated? I am closing the issue for now. |
Ok, that makes sense. You've got a few options here:
|
Thanks @c42f , I solved it with the PATH for now, but it seems that the DISPLAZ_CMD approach is not working, worth checking it in another machine. |
Seems to work for me, for instance, I can break it by adding julia> ENV["DISPLAZ_CMD"] = "asdf"
"asdf"
julia> using Displaz
julia> plot3d(randn(3,1000))
ERROR: could not spawn `asdf -script -add -server default -label 'Points [1000 vertices]' -shader generic_points.glsl -rmtemp /tmp/juliayz39mb.ply`: no such file or directory (ENOENT)
in _jl_spawn(::String, ::Array{String,1}, ::Ptr{Void}, ::Base.Process, ::RawFD, ::RawFD, ::RawFD) at ./process.jl:321
in #412 at ./process.jl:478 [inlined]
in setup_stdio(::Base.##412#413{Cmd,Ptr{Void},Base.Process}, ::Tuple{RawFD,RawFD,RawFD}) at ./process.jl:466
in #spawn#411(::Nullable{Base.ProcessChain}, ::Function, ::Cmd, ::Tuple{RawFD,RawFD,RawFD}, ::Bool, ::Bool) at ./process.jl:477
in run at ./process.jl:591 [inlined]
in #plot3d#9(::Array{Int64,1}, ::Array{Float64,1}, ::Array{Int64,1}, ::Void, ::Array{Int64,1}, ::Bool, ::Array{Any,1}, ::Function, ::Displaz.DisplazWindow, ::Array{Float64,2}) at /home/cfoster/.julia/v0.5/Displaz/src/Displaz.jl:326
in plot3d(::Displaz.DisplazWindow, ::Array{Float64,2}) at /home/cfoster/.julia/v0.5/Displaz/src/Displaz.jl:279
in #plot3d#15(::Array{Any,1}, ::Function, ::Array{Float64,2}) at /home/cfoster/.julia/v0.5/Displaz/src/Displaz.jl:346
in plot3d(::Array{Float64,2}) at /home/cfoster/.julia/v0.5/Displaz/src/Displaz.jl:346 |
Oh, I was just creating a variable |
No problem at all. I should improve the documentation to make this clearer. The functions are individually documented, but the overview in the README is very sparse. |
When I try to run the simple example in the README:
The text was updated successfully, but these errors were encountered: