pierrepo / PBxplore

A suite of tools to explore protein structures with Protein Blocks :snake:
https://pbxplore.readthedocs.org/en/latest/
MIT License
28 stars 17 forks source link

Crash while building doc with Jupyter-nbconvert 4.2.0 #123

Closed pierrepo closed 8 years ago

pierrepo commented 8 years ago

Here is a the message from Travis:

Jupyter-nbconvert version: 4.2.0
./notebooks/Assignement.ipynb ./notebooks/Assignement
[NbConvertApp] Converting notebook ./notebooks/Assignement.ipynb to markdown
[NbConvertApp] Executing notebook with kernel: python2
[NbConvertApp] Writing 28816 bytes to ./notebooks/./notebooks/Assignement.md
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7.9/bin/jupyter-nbconvert", line 11, in <module>
    sys.exit(main())
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/traitlets/config/application.py", line 596, in launch_instance
    app.start()
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 293, in start
    self.convert_notebooks()
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 457, in convert_notebooks
    self.convert_single_notebook(notebook_filename)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 429, in convert_single_notebook
    write_results = self.write_single_notebook(output, resources)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/nbconvert/nbconvertapp.py", line 390, in write_single_notebook
    output, resources, notebook_name=notebook_name)
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/nbconvert/writers/files.py", line 127, in write
    with io.open(dest, 'w', encoding='utf-8') as f:
IOError: [Errno 2] No such file or directory: './notebooks/./notebooks/Assignement.md'

Full error log is here https://travis-ci.org/pierrepo/PBxplore/jobs/123852391 This error does not occur with jupyter-nbconvert 4.1.0