Skip to content
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

Init function blocked by kaleido #352

Closed
Grobycn opened this issue Sep 15, 2020 · 2 comments
Closed

Init function blocked by kaleido #352

Grobycn opened this issue Sep 15, 2020 · 2 comments

Comments

@Grobycn
Copy link

Grobycn commented Sep 15, 2020

When using PlotlyJS, it get stuck.

Run .julia/artifacts/eaf6781d8951eda81e75724d9c53b719e680ff30/kaleido/kaleido plotly --disable-gpu works fine and output:

[0915/194811.964419:WARNING:resource_bundle.cc(435)] locale_file_path.empty() for locale
[0915/194811.996039:WARNING:resource_bundle.cc(435)] locale_file_path.empty() for locale
[0915/194812.006628:WARNING:resource_bundle.cc(435)] locale_file_path.empty() for locale
{"code": 0, "message": "Success", "result": null, "version": "0.0.3"}
[0915/194812.079053:WARNING:resource_bundle.cc(435)] locale_file_path.empty() for locale

But PlotlyBase._start_kaleido_process() blocked at line 48: res = readline(P.stdout)

I think it's better to start kaleido when needed.

@thchr
Copy link
Contributor

thchr commented May 22, 2023

I think this is also causing hangs on CI, e.g., https://github.com/thchr/Brillouin.jl/actions/runs/4795212583/jobs/9044116886#step:6:238.

From a Slack conversation in pkg-usage (copied over here), this seems to be related to this part of the _start_kaleido_process() which does not seem to exit the process. This causes Julia to hang, waiting for the process to finish, stalling precompilation at that point.

It seems like this issue could potentially be causing consistent CI-failures for any non-Windows dependency of PlotlyJS.jl on Julia master?

@disberd
Copy link
Member

disberd commented Mar 5, 2024

This should be solved now. See the related comment in #473 (comment) for more details

@disberd disberd closed this as completed Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants