Advertisement
Guest User

error

a guest
Dec 18th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.81 KB | None | 0 0
  1. ipython nbconvert --to html --config cfg.py --template basic test.ipynb
  2. [NbConvertApp] Using existing profile dir: u'/home/arymanus/.ipython/profile_default'
  3. [NbConvertApp] Converting notebook test.ipynb to html
  4. [NbConvertApp] Support files will be in test_files/
  5. Traceback (most recent call last):
  6.   File "/usr/local/bin/ipython", line 6, in <module>
  7.     start_ipython()
  8.   File "/usr/local/lib/python2.7/dist-packages/IPython/__init__.py", line 120, in start_ipython
  9.     return launch_new_instance(argv=argv, **kwargs)
  10.   File "/usr/local/lib/python2.7/dist-packages/IPython/config/application.py", line 564, in launch_instance
  11.     app.start()
  12.   File "/usr/local/lib/python2.7/dist-packages/IPython/terminal/ipapp.py", line 367, in start
  13.     return self.subapp.start()
  14.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/nbconvertapp.py", line 268, in start
  15.     self.convert_notebooks()
  16.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/nbconvertapp.py", line 301, in convert_notebooks
  17.     output, resources = exporter.from_filename(notebook_filename, resources=resources)
  18.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 151, in from_filename
  19.     return self.from_notebook_node(nbformat.read(f, 'json'), resources=resources, **kw)
  20.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/templateexporter.py", line 209, in from_notebook_node
  21.     nb_copy, resources = super(TemplateExporter, self).from_notebook_node(nb, resources, **kw)
  22.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 123, in from_notebook_node
  23.     nb_copy, resources = self._preprocess(nb_copy, resources)
  24.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/exporters/exporter.py", line 274, in _preprocess
  25.     nbc, resc = preprocessor(nbc, resc)
  26.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/preprocessors/base.py", line 47, in __call__
  27.     return self.preprocess(nb,resources)
  28.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/preprocessors/base.py", line 71, in preprocess
  29.     worksheet.cells[index], resources = self.preprocess_cell(cell, resources, index)
  30.   File "/usr/local/lib/python2.7/dist-packages/IPython/nbconvert/preprocessors/base.py", line 91, in preprocess_cell
  31.     raise NotImplementedError('should be implemented by subclass')
  32. NotImplementedError: should be implemented by subclass
  33.  
  34. If you suspect this is an IPython bug, please report it at:
  35.     https://github.com/ipython/ipython/issues
  36. or send an email to the mailing list at ipython-dev@scipy.org
  37.  
  38. You can print a more detailed traceback right now with "%tb", or use "%debug"
  39. to interactively debug it.
  40.  
  41. Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
  42.     c.Application.verbose_crash=True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement