-
Notifications
You must be signed in to change notification settings - Fork 36
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
nerves_livebook_rpi4.fw(v0.5.0) does not show a graph #156
Comments
I see below.
Hope this helps. |
I checked it with my
|
Thanks for the report. Have either of you looked into what file it's trying to read? |
As I logged the
defp local_assets_path(hash) do
Path.join([livebook_tmp_path(), "assets", encode_path_component(hash)])
end hmm I don't know where that pattern match error happens... |
We introduced user-defined JS widgets and migrated the Vega-Lite plot to use that. Each widget module has assets .tar.gz bundle generated at compile time and it is put in the When a widget is actually rendered, Livebook copies this bundle into a cache directory (because theoretically the runtime could be on another machine). @fhunleth I guess the problem is that the file system is readonly, so Livebook fails to write to |
Ahhhh, @fhunleth My
|
Oh, that makes sense. Looking again at the stacktrace I've just realised that the problem is actually in reading the So the issue is that we compile Kino when building the release, so the absolute path is specific to the machine where it was built. |
Could you try pointing Kino in {:kino, github: "livebook-dev/kino", branch: "jk-archive-path"} and checking if it helps? |
@jonatanklosko It worked 🎉
|
@mnishiguchi, @jonatanklosko, and @TORIFUKUKaiou Thank you all for finding this, debugging and fixing! I'll keep watching and make a new |
@mnishiguchi fantastic, thanks for verifying! @fhunleth if you pointed Kino dependency to GitHub, would |
Actually, will ship Kino |
Done 🚢 |
I just verified that the plotting with VegaLite notebook works now! Thanks everyone! Release coming shortly. |
Thank you all a lot! |
Hi!
Thanks for Nerves Livebook🚀🚀🚀
I like it!
nerves_livebook_rpi4.fw(v0.5.0) does not show a graph.
Environment
Current behavior
fwup nerves_livebook_rpi4.fw
It does not show a graph.
Expected behavior
It shows a graph.
The text was updated successfully, but these errors were encountered: