Giter Club home page Giter Club logo

Comments (5)

Carreau avatar Carreau commented on August 21, 2024

Zsh? tscsh ? Works locally in bash and fish, can you try single quotes ?

from nbconvert.

mertzjames avatar mertzjames commented on August 21, 2024

I'm using the Windows Command Prompt. Single quotes don't resolve the issue.

from nbconvert.

Carreau avatar Carreau commented on August 21, 2024

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.

Carreau avatar Carreau commented on August 21, 2024

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.

minrk avatar minrk commented on August 21, 2024

This is fixed by jupyter/jupyter_core#54

from nbconvert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.