Skip to content

jupyter: notebook appears to be stuck loading (when using raw view) #4265

@williamstein

Description

@williamstein
  1. Open any Jupyter notebook.
  2. In the view menu, select "Show notebook as... Raw .ipynb (file)"
  3. Close the notebook.
  4. Open it again and see this "Loading" spinner forever:
    image

The reason is because the part of the store containing this raw view isn't initially set, and is actually only updated if that menu item is actively selected.

WORKAROUND: Select anything from the "Show notebook as..." submenu.

Fix: If the component sees that the raw file isn't available, call an action to compute it.

Related work: I should move this raw view functionality to a separate frame (not the body of the notebook). A related problem is that this raw view doesn't get updated as the document changes, so we also need to do make that happen, precisely when this frame is being displayed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions