jupyter / jupyter/notebook

NB-Extensions not loading correctly after notebook refresh / copy

Open
#3,036 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Occasionally after refreshing or copying (i.e. using "make a copy" from the file menu) my notebook, the nbextensions fail to load correctly. In general these notebooks are pretty large, 10-100s of MB. I wonder if this is related to saving issues. Not having the extensions becomes very bothersome as, with large notebooks, I really rely on the TOC and collapsible headers for navigation.

If I create and open a new notebook, the extensions load just fine.

I eventually end up fixing this by some combination of turning the extensions off and on again, refreshing the notebook, restarting jupyter, and if all else fails making a new notebook and copying the large notebook contents into it.

I'm using jupyter version 4.3.0, notebook version 5.2.1.

I'm using these extensions at the moment:
![image](https://user-images.githubusercontent.com/4393192/32674364-1b9473d6-c610-11e7-8124-42045baf2ff8.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with a large notebook after refresh and “make a copy,” using Jupyter 4.3.0 and Notebook 5.2.1 with the extensions shown in the issue. Compare extension loading with a newly created notebook and check whether toggling extensions, refreshing, or restarting changes the result. Done means the extensions reliably load after refresh and copy operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, jupyter-notebook
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.