You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to run this weave example on a Genie.jl server. However, it seems to block for some reason and not progress at all after a point. I can't even seem to Ctrl+C/Ctrl+D quit the process either. htop tells me that the julia process is still using my system resources though.
I also seem to be able to run the weave example normally from a REPL. Could someone help me figure out what's going on here and how I could fix this?
Error stacktrace
No error stacktrace since the REPL itself becomes unresponsive.
To reproduce
Download the Weave example (name it, say, x.jmd)
Create an environment with Genie, Weave and HTTP added as dependencies.
Run -
using Weave
using Genie, Genie.Router, Genie.Renderer.Json, Genie.Requests
using HTTP
route("/weave") doweave("x.jmd"; out_path=:pwd)
returnend
Genie.startup(async =false)
Open up your browser and go to localhost:8080
Keep an eye on the Genie server running, to see the block and non-responsiveness happen in real-time.
Expected behavior
The weave successfully completes operation without blocking and generates an HTML file.
Additional context
Please include the output of julia> versioninfo()
Julia Version 1.7.0-beta4
Commit d0c90f37ba (2021-08-2412:35 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU:Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
WORD_SIZE:64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, skylake)
using Weave
using Genie, Genie.Router, Genie.Renderer.Json, Genie.Requests
weave("x.jmd"; out_path=pwd()*"/public/")
route("/") do
serve_static_file("x.html")
end
Genie.startup(async = false)
Describe the bug
I'm trying to run this weave example on a Genie.jl server. However, it seems to block for some reason and not progress at all after a point. I can't even seem to Ctrl+C/Ctrl+D quit the process either.
htop
tells me that thejulia
process is still using my system resources though.I also seem to be able to run the weave example normally from a REPL. Could someone help me figure out what's going on here and how I could fix this?
Error stacktrace
No error stacktrace since the REPL itself becomes unresponsive.
To reproduce
x.jmd
)Genie
,Weave
andHTTP
added as dependencies.localhost:8080
Expected behavior
The
weave
successfully completes operation without blocking and generates an HTML file.Additional context
Please include the output of
julia> versioninfo()
and
pkg> st
The text was updated successfully, but these errors were encountered: