Comments (5)
Zsh? tscsh ? Works locally in bash and fish, can you try single quotes ?
from nbconvert.
I'm using the Windows Command Prompt. Single quotes don't resolve the issue.
from nbconvert.
Windows Command Prompt
Gnnn that will be painful to track. It might be a more global jupyter/traitlets issue.
Will try to find who could have a windows machine to debug...
from nbconvert.
From gitter:
@sccolbert said:
It looks like it may be something with how the jupyter script is passing along args. I get the same error as the issue if I use jupyter nbconvert, but if I invoke the module directly, I get this: https://gist.github.com/sccolbert/4105b6e24e0ca42cf2cd
I went down the path of invoking directly, just so I could debug the thing, since jupyter starts a new background shell
(the error in the gist is appropriate, since my version of the nb file is an empty { })
but running the jupyter command directly does error: https://gist.github.com/sccolbert/82f6f4e629768dea1ef1
The problem is what the jupyter command is passing to os.execvp: https://github.com/jupyter/jupyter_core/blob/master/jupyter_core/command.py#L132
printing that on the command of interest, we get:
jupyter-nbconvert ['nbconvert', '0 - name.ipynb', '--to', 'slides', '--post', 'serve']
notice that the second arg is no longer quoted
Q.E.D.
Not sure what the best solution is, short of traversing the args and re-quoting the ones with spaces before exec'ing the subprocess
from nbconvert.
This is fixed by jupyter/jupyter_core#54
from nbconvert.
Related Issues (20)
- pytest is failing in two `tests/test_nbconvertapp.py` units (7.11.0 - 7.16.0) HOT 2
- Reveal.js slideshow export should skip `{ "slide_type": "-" }` cells HOT 1
- Setting PDFExporter.enabled = False disables the PDFExporter but does not remove it from the "File -> Download As" menu HOT 2
- Support `pandas.Styler` object HOT 3
- nbconvert fails when notebook contains empty "Raw NBConvert"cell
- error: Execution was interrupted, reason: internal c++ exception breakpoint(-5)
- nbconvert to PDF fails if there are two adjacent spaces in the filename (MacOS)
- Convert to MyST HOT 1
- Word wrapping for print view in HTML output
- Can someone help me out with why my images wont display on my pdf print
- Error in docs example: Using nbconvert as a library: KeyError: 'template_paths' HOT 1
- Section numbering in HTML
- Nbconvert >= 7.14 produces error in Sphinx build HOT 9
- Allow pre-fetching of css files? HOT 2
- matplotlib widgets not interactive when exported to html
- Rendering to HTML generates an error in bleach.clean HOT 5
- No way to disable traceback colors when executing notebook HOT 1
- Jupyter Magic stops `CellExecutionError` handling from working
- jupyter/nbconvert/templates only has latex HOT 5
- Unable to convert .ipynb to .pdf on Mac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbconvert.