Skip to content

Instantly share code, notes, and snippets.

@sccolbert
Created September 16, 2015 01:23
Show Gist options
  • Save sccolbert/4105b6e24e0ca42cf2cd to your computer and use it in GitHub Desktop.
Save sccolbert/4105b6e24e0ca42cf2cd to your computer and use it in GitHub Desktop.
[traitletsargs] C:\Users\Chris\Development>python -m nbconvert.__main__ "0 - nam
e.ipynb" --to slides --post serve
[NbConvertApp] Converting notebook 0 - name.ipynb to slides
Traceback (most recent call last):
File "C:\Anaconda\envs\traitletsargs\lib\runpy.py", line 162, in _run_module_a
s_main
"__main__", fname, loader, pkg_name)
File "C:\Anaconda\envs\traitletsargs\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\__main__.py",
line 2, in <module>
main()
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\jupyter_core\applicatio
n.py", line 267, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\traitlets\config\applic
ation.py", line 592, in launch_instance
app.start()
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\nbconvertapp.
py", line 286, in start
self.convert_notebooks()
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\nbconvertapp.
py", line 409, in convert_notebooks
self.convert_single_notebook(notebook_filename)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\nbconvertapp.
py", line 380, in convert_single_notebook
output, resources = self.export_single_notebook(notebook_filename, resources
)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\nbconvertapp.
py", line 332, in export_single_notebook
output, resources = self.exporter.from_filename(notebook_filename, resources
=resources)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbconvert\exporters\exp
orter.py", line 166, in from_filename
return self.from_notebook_node(nbformat.read(f, as_version=4), resources=res
ources, **kw)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbformat\__init__.py",
line 141, in read
return reads(fp.read(), as_version, **kwargs)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbformat\__init__.py",
line 76, in reads
nb = convert(nb, as_version)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbformat\converter.py",
line 46, in convert
converted = convert_function(nb)
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\nbformat\v2\convert.py"
, line 41, in upgrade
for cell in nb.cells:
File "C:\Anaconda\envs\traitletsargs\lib\site-packages\ipython_genutils\ipstru
ct.py", line 134, in __getattr__
raise AttributeError(key)
AttributeError: cells
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment