You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have 28 .ipynb and .md files for my JB, and one of them is called 12_Asymptotics.ipynb. It has 2125 lines, and contains a series of simulation. It takes about 18 minutes to finish executing the ipynb file.
[Problem]
After calling jb build to create my JB with all files, I get warning messages:
WARNING: Execution Failed: /Users/myname/Documents/My_Simulation/Python/JupyterBooks/book_etrics/docs/12_Asymptotics.ipynb
WARNING: Couldn't find cache key for notebook file docs/12_Asymptotics.ipynb. Outputs will not be inserted.
Last execution failed with traceback saved in /Users/myname/Documents/My_Simulation/Python/JupyterBooks/book_etrics/_build/html/reports/12_Asymptotics.log
jb clean . —all does not help. I tried many times.
On the other hand, my JB seems to show all outputs (figures, equations, etc) of 12_Asymptotics.ipynb, despite that the error message says “Outputs will not be inserted”. Indeed, after calling
jb clean . —all
jb build .
the same warning messages are shown, but all outputs seem to be included in my JB.
On the other hand, after modifying the .ipynb file and excuting
jb clean .
jb build .
the same warning messages are shown and the 12_Asymptotics.ipynb part of my JB is NOT updated.
Below is the content of the 12_Asymtotics.log file, which says TimeoutError: Cell execution timed out.
Traceback (most recent call last):
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/jupyter_cache/executors/basic.py", line 157, in execute
executenb(nb_bundle.nb, cwd=tmpdirname)
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 737, in executenb
return ep.preprocess(nb, resources, km=km)[0]
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 405, in preprocess
nb, resources = super(ExecutePreprocessor, self).preprocess(nb, resources)
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/base.py", line 69, in preprocess
nb.cells[index], resources = self.preprocess_cell(cell, resources, index)
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 438, in preprocess_cell
reply, outputs = self.run_cell(cell, cell_index, store_history)
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 571, in run_cell
if self._passed_deadline(deadline):
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 541, in _passed_deadline
self._handle_timeout()
File "/Users/myname/anaconda3/envs/JupyterBook/lib/python3.8/site-packages/nbconvert/preprocessors/execute.py", line 504, in _handle_timeout
raise TimeoutError("Cell execution timed out")
TimeoutError: Cell execution timed out
The text was updated successfully, but these errors were encountered:
[The File in Question]
I have 28
.ipynb
and.md
files for my JB, and one of them is called 12_Asymptotics.ipynb. It has 2125 lines, and contains a series of simulation. It takes about 18 minutes to finish executing the ipynb file.[Problem]
After calling
jb build
to create my JB with all files, I get warning messages:jb clean . —all
does not help. I tried many times.On the other hand, my JB seems to show all outputs (figures, equations, etc) of 12_Asymptotics.ipynb, despite that the error message says “Outputs will not be inserted”. Indeed, after calling
the same warning messages are shown, but all outputs seem to be included in my JB.
On the other hand, after modifying the
.ipynb
file and excutingthe same warning messages are shown and the 12_Asymptotics.ipynb part of my JB is NOT updated.
Below is the content of the 12_Asymtotics.log file, which says
TimeoutError: Cell execution timed out
.The text was updated successfully, but these errors were encountered: