Giter VIP home page Giter VIP logo

Comments (5)

josevalim avatar josevalim commented on August 15, 2024 1

@jyc ping :)

from kino.

josevalim avatar josevalim commented on August 15, 2024

Can you provide the stacktrace as well?

Even if not consistent, can you provide the code? Or can you tell us if it happens if you have a very simple GenServer as children? The reason I ask is because when we re-execute a cell, we terminate all previous children. So I can think of two options here:

  1. Livebook has a bug
  2. Your GenServer is starting another GenServer (or another process) inside of it and that one is not terminated correctly

from kino.

jyc avatar jyc commented on August 15, 2024

Sorry for the delay! I will provide a stacktrace the next time it happens! The structure of the code looks like this:

Elixir cell 1: define a GenServer
Elixir cell 2: start that GenServer using Kino.start_child!/1, assign it a name
Elixir cell 3: call that GenServer by name

The GenServer does not start any other GenServers, but it does call other ones, also by name, if that matters!

from kino.

jonatanklosko avatar jonatanklosko commented on August 15, 2024

Do you call Kino.start_child!/1 directly in the code cell, or from within some other process?

Also, for the reference, what Kino and Livebook versions do you use?

from kino.

jyc avatar jyc commented on August 15, 2024

Do you call Kino.start_child!/1 directly in the code cell, or from within some other process?

Directly in the code cell!

Also, for the reference, what Kino and Livebook versions do you use?

v0.12.1

I've been using Elixir for a component of my current project that I haven't touched in a month, because I've been working on other components. So unfortunately I don't have any new stacktraces to give you. But I expect to get back to the Elixir part soon!

from kino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.