Open Ossifragus opened 2 years ago
Just found that things work in VSCode, but not in the repl nor emacs with vterm.
If I start julia from a terminal, then it works. Maybe this is a problem for emacs julia-repl with vterm. I will test further.
I do not fully understand the cause, but the problem is related to using X server with gksqt. Here is a workaround:
ENV["GKSwstype"]="nul"
weave("00.jl", cache=:off, out_path="output/")
ENV["GKSwstype"]="gksqt"
The first line ENV["GKSwstype"]="nul"
activates the NULL device so that X server will not be requested. After this, weave("00.jl", cache=:off, out_path="output/")
works as expected. The third line ENV["GKSwstype"]="gksqt"
activates gksqt in case some plots need to be displayed.
ENV["GKSwstype"]="nul"
I can report this walk-around does work.
I just got hit by this bug too, when I tried to run Weave from my terminal. The fix worked though.
It seems that there had not been any bug-fixing for quite a while. I wonder if the project has been abandoned? Can we make some donations so as to motivate the maintainer to fix some bugs?
@newptcai I am pretty sure that the project is still maintained. I mean so many people use Weave for everything. It might just be that a lot of the code is pretty stable? That is what I am hoping. I still use Weave for so many things, not sure what would replace it.
I do not fully understand the cause, but the problem is related to using X server with gksqt. Here is a workaround:
ENV["GKSwstype"]="nul" weave("00.jl", cache=:off, out_path="output/") ENV["GKSwstype"]="gksqt"
The first line
ENV["GKSwstype"]="nul"
activates the NULL device so that X server will not be requested. After this,weave("00.jl", cache=:off, out_path="output/")
works as expected. The third lineENV["GKSwstype"]="gksqt"
activates gksqt in case some plots need to be displayed.
Thanks, this helped me when my plots were hanging!
description
Weave hangs if plots are includes.
versions
The weaving hangs at