Livebook and its possible uses #534
Replies: 17 comments
-
Hey 👋 , I am currently integrating I am struggling to find a way to resolve this conflict. Can anyone provide some insight on how to address this issue? I added the following lines to {:livebook, "~> 0.13.2"},
{:kino, "~> 0.13.2"},
{:vega_lite, "~> 0.1"} Here is the output of . . .
Because your app depends on livebook ~> 0.13.2 which depends on phoenix_live_view 1.0.0-rc.5, phoenix_live_view 1.0.0-rc.5 is required.
So, because your app depends on phoenix_live_view ~> 0.20.0, version solving failed. After upgrading the . . .
Because flop_phoenix >= 0.22.7 depends on phoenix_live_view ~> 0.20.4 and flop_phoenix >= 0.21.2 and < 0.22.7 depends on phoenix_live_view ~> 0.19.0 or ~> 0.20.0, flop_phoenix >= 0.21.2 requires phoenix_live_view ~> 0.19.0 or ~> 0.20.0.
And because your app depends on flop_phoenix ~> 0.22, phoenix_live_view ~> 0.19.0 or ~> 0.20.0 is required.
So, because your app depends on phoenix_live_view ~> 1.0.0-rc.5, version solving failed.
** (Mix) Hex dependency resolution failed |
Beta Was this translation helpful? Give feedback.
-
I don't think including If you still want to include it directly, either:
|
Beta Was this translation helpful? Give feedback.
-
Running a standalone node locally and connecting it to a running instance of Either elixir or deps needs to be upgraded. Here's a screenshot for reference: |
Beta Was this translation helpful? Give feedback.
-
Unfortunately we cannot upgrade elixir to the latest version on |
Beta Was this translation helpful? Give feedback.
-
May I know the legacy reasons? I have upgraded the Elixir version in the Dockerfile to |
Beta Was this translation helpful? Give feedback.
-
I have deployed and checked in Raspberry Pi as well, and it is working fine there as well. @gBillal Would you like to have a look? |
Beta Was this translation helpful? Give feedback.
-
When it comes to the Standalone livebook node in local machine and connecting runtime with edge device, It won't function on edge devices because the device doesn't have You might be curious about how |
Beta Was this translation helpful? Give feedback.
-
Do I understand correctly, that to use Livebook on a Pi, any dependencies would have to have been included in the firmware build? Is that true only if we were using nerves? (which at the moment we're not), or is this some other limitation related to a Pi that even with a regular OS (Debian, PiOS), Mix cannot be used? |
Beta Was this translation helpful? Give feedback.
-
It is true when integrating using an It has nothing to do with nerves. The Pi OS will be trimmed compared to a regular OS. In our case, the Production release of This blog contains the difference between an I said partially true because in |
Beta Was this translation helpful? Give feedback.
-
I prefer using |
Beta Was this translation helpful? Give feedback.
-
Hi For livebook with attached mode, you cannot install dependencies, however you can do the following:
|
Beta Was this translation helpful? Give feedback.
-
Hello @gBillal , Are you saying that some of the production kits contain old Debian versions that may cause issues? We are not changing the Debian version, only upgrading the Elixir/Erlang version. So, I don't think there would be any issue in that case. Is there any way we can test that? Also, in |
Beta Was this translation helpful? Give feedback.
-
This will be possible in "Standalone Mode", but for that, a livebook has to be set up on the laptop. @marcoherbst explained that he expects to integrate the livebook into the ex_nvr dashboard. This will not be possible if we go with |
Beta Was this translation helpful? Give feedback.
-
Elixir 1.17 docker images are all based on the newer debian version and if that image is used to build arm64 releases, the external dependencies (like Anyway you can work on a new branch, upgrade elixir and any dependencies you need and create a release from there. Unfortunately we cannot upgrade right now. |
Beta Was this translation helpful? Give feedback.
-
@gBillal Is it possible to upgrade Elixir to version |
Beta Was this translation helpful? Give feedback.
-
As I said above, this work won't make it to the main branch. So you're free to work on a branch, upgrade to any version and create a release from there where we can test it on some devices. we'll upgrade Elixir once we're no longer using old raspbian version on our side. |
Beta Was this translation helpful? Give feedback.
-
Related: https://elixirforum.com/t/til-accessing-a-nerves-device-from-livebook/67028 |
Beta Was this translation helpful? Give feedback.
-
Wondering how best to take advantage of Livebook in combination with ExNVR. It seems to offer promise as a method of interactive documentation and possibly for internal tools (as per livebook teams). Potentially bundled or some other method for easy remote access and to execute code locally to the device.
Some possible uses:
Superficially at least, it seems the livebook teams people believe this sort of thing is reasonable:
Beta Was this translation helpful? Give feedback.
All reactions