Skip to content

Sometimes results of cells execution are not propagated to model (missing document_id) #23

Open
@krassowski

Description

@krassowski

This may not be a bug in jupyter-server-nbmodel, but certainly does have an impact on it.

Sometimes cells appear not to be executed at all - the execution counter is not set and the outputs are not shown.

image

However, inspecting with dev tools I see requests being sent:

image

When shared models are used it is the responsibility of the server extension to set the values, but maybe it does not do that?

I think this might be due to missing documentId. When if fails, this line leads assigns undefined:

const documentId = notebook.sharedModel.getState('document_id');

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions