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
The first cell has a tag parameters. When I execute the following
papermill --help-notebook test_papermill.ipynb
I got the following error
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/pytorch_p36/bin/papermill", line 8, in
sys.exit(papermill())
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/cli.py", line 237, in papermill
sys.exit(display_notebook_help(click_ctx, notebook_path, parameters_final))
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/inspection.py", line 67, in display_notebook_help
nb = _open_notebook(notebook_path, parameters)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/inspection.py", line 19, in _open_notebook
return load_notebook_node(input_path)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/iorw.py", line 411, in load_notebook_node
nb_upgraded = nbformat.v4.upgrade(nb)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/v4/convert.py", line 39, in upgrade
_warn_if_invalid(nb, from_version)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/v4/convert.py", line 21, in _warn_if_invalid
validate(nb, version=version)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 276, in validate
relax_add_props=relax_add_props):
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 298, in iter_validate
validator = get_validator(version, version_minor, relax_add_props=relax_add_props)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 69, in get_validator
schema_json = _get_schema_json(v, version=version, version_minor=version_minor)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 103, in _get_schema_json
schema_path = os.path.join(os.path.dirname(v.file), v.nbformat_schema[(None, None)])
KeyError: (None, None)
The text was updated successfully, but these errors were encountered:
My nobebook
test_papermill.ipynb
looks likeThe first cell has a tag
parameters
. When I execute the followingTraceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/pytorch_p36/bin/papermill", line 8, in
sys.exit(papermill())
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/cli.py", line 237, in papermill
sys.exit(display_notebook_help(click_ctx, notebook_path, parameters_final))
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/inspection.py", line 67, in display_notebook_help
nb = _open_notebook(notebook_path, parameters)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/inspection.py", line 19, in _open_notebook
return load_notebook_node(input_path)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/papermill/iorw.py", line 411, in load_notebook_node
nb_upgraded = nbformat.v4.upgrade(nb)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/v4/convert.py", line 39, in upgrade
_warn_if_invalid(nb, from_version)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/v4/convert.py", line 21, in _warn_if_invalid
validate(nb, version=version)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 276, in validate
relax_add_props=relax_add_props):
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 298, in iter_validate
validator = get_validator(version, version_minor, relax_add_props=relax_add_props)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 69, in get_validator
schema_json = _get_schema_json(v, version=version, version_minor=version_minor)
File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/nbformat/validator.py", line 103, in _get_schema_json
schema_path = os.path.join(os.path.dirname(v.file), v.nbformat_schema[(None, None)])
KeyError: (None, None)
The text was updated successfully, but these errors were encountered: