Comments (7)
This appears to be a duplicate of #473. The issue is described in https://discourse.julialang.org/t/plotlyjs-0-18-11-hangs-when-trying-using-but-only-the-first-time/105636/5.
from plotlyjs.jl.
I am not sure this is the same problem
I am having similar issues on Windows 10-11 and also Ubuntu 22
When adding my package on these machines it gets stuck during the pre-compilation of DashBasePlotlyJSExt (hangs forever).
It was working just fine before Julia 1.10
from plotlyjs.jl.
That is most likely JuliaPlots/PlotlyKaleido.jl#13
from plotlyjs.jl.
Please try 0.18.13
from plotlyjs.jl.
Hi, so version 0.18.13 does help with the pre-compilation on Windows, that can be completed now.
However, when "using my_package" it now loads forever (on Windows only). I have to cancel the "using my_package" and relaunch it several times before it is able to actually load the package. This is especially a problem for the CI as because of this it still fails on Windows!
Hope this helps, and thanks for the support
Nicolas
from plotlyjs.jl.
This is the error I get now when trying to use PlotlyJS on windows (after trying to load for 360min):
serial: Error During Test at D:\a\MAGEMinApp.jl\MAGEMinApp.jl\test\runtests.jl:15
Got exception outside of a @test
LoadError: InitError: InterruptException:
Stacktrace:
[1] poptask(W::Base.IntrusiveLinkedListSynchronized{Task})
@ Base .\task.jl:974
[2] wait()
@ Base .\task.jl:983
[3] wait(c::Base.GenericCondition{Base.Threads.SpinLock}; first::Bool)
@ Base .\condition.jl:130
[4] wait
@ .\condition.jl:125 [inlined]
[5] readuntil(x::Base.PipeEndpoint, c::UInt8; keep::Bool)
@ Base .\stream.jl:1014
[6] readuntil
@ .\stream.jl:998 [inlined]
[7] #readuntil#410
@ .\io.jl:442 [inlined]
[8] readuntil
@ .\io.jl:442 [inlined]
[9] readline(s::Pipe; keep::Bool)
@ Base .\io.jl:548
[10] readline
@ .\io.jl:547 [inlined]
[11] start(; plotly_version::Missing, mathjax::Missing, mathjax_version::VersionNumber, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ PlotlyKaleido C:\Users\runneradmin\.julia\packages\PlotlyKaleido\HmwOd\src\PlotlyKaleido.jl:95
[12] start
@ C:\Users\runneradmin\.julia\packages\PlotlyKaleido\HmwOd\src\PlotlyKaleido.jl:29 [inlined]
[13] __init__()
@ PlotlyJS C:\Users\runneradmin\.julia\packages\PlotlyJS\b6MbQ\src\PlotlyJS.jl:104
[14] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
@ Base .\loading.jl:1115
[15] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::Nothing, depmods::Vector{Any})
@ Base .\loading.jl:1061
[16] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::Nothing, sourcepath::String, depmods::Vector{Any})
@ Base .\loading.jl:1391
[17] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
@ Base .\loading.jl:1494
[18] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1783
[19] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1660
[20] macro expansion
@ .\loading.jl:1648 [inlined]
[21] macro expansion
@ .\lock.jl:267 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1611
[23] include(fname::String)
@ Base.MainInclude .\client.jl:478
[24] macro expansion
@ D:\a\MAGEMinApp.jl\MAGEMinApp.jl\test\runtests.jl:16 [inlined]
[25] macro expansion
@ C:\hostedtoolcache\windows\julia\1.9.4\x64\share\julia\stdlib\v1.9\Test\src\Test.jl:1498 [inlined]
[26] top-level scope
@ D:\a\MAGEMinApp.jl\MAGEMinApp.jl\test\runtests.jl:16
[27] include(fname::String)
@ Base.MainInclude .\client.jl:478
[28] top-level scope
@ none:6
[29] eval
@ .\boot.jl:370 [inlined]
[30] exec_options(opts::Base.JLOptions)
@ Base .\client.jl:280
[31] _start()
@ Base .\client.jl:522
during initialization of module PlotlyJS
in expression starting at D:\a\MAGEMinApp.jl\MAGEMinApp.jl\test\tests.jl:4
from plotlyjs.jl.
This should be solved now. See the related comment in #473 (comment) for more details.
Edit: It does not specifically solves this in 0.18.11, you'd need to update to 0.18.13 and make sure that the dependent PlotlyKaleido is at least at version 2.2.4 (which should happen automatically if you install PlotlyJS from now on)
from plotlyjs.jl.
Related Issues (20)
- Plotting fails after a couple of plot calls HOT 1
- PlotlyJs.savefig() doesn't save static image - Kaleido is not avaiable HOT 11
- Heatmap with customdata and hovertemplate doesn't display the right info, when size(customdata)=size(z)
- PlotlyJS breaks when Julia is started with multiple threads
- Bump PLOTLYJS_VERSION
- Blank Plot when plotting in browser with VSCode setting "Julia: Use Plot Pane" unchecked
- cannot create subplots of pie HOT 2
- Add `image` Type of Trace HOT 8
- PlotlyJS.image incorrectly serializes to json the z array of size (d, rows, cols) , d=3, 4
- Not all documentation source files available in repo
- Kaleido process in package initialisation hangs HOT 26
- Time series plot with period data type HOT 1
- style not defined HOT 6
- The "using PlotlyJS" execution does not finish HOT 2
- Setting PlotlyJS as default backend for Plots HOT 1
- Kaleido not available on windows 11 with julia 1.10 HOT 6
- Windows error for PlotlyKaleido breaks precompilation HOT 8
- "Kaleido startup failed" in docker container HOT 1
- densitymapbox doesn't generate a valid visualization HOT 14
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 plotlyjs.jl.