-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server error when downloading PDF via LaTeX #2974
Comments
what version of notebook and nbconvert do you have? |
Yes, I receive the same error on my Mac. The version of my notebook is: 5.2.0 and nbconvert: 5.3.1 Furthermore, these are all the packages installed in my python environment:
The error is the same in python 2.7.13, 2.7.14, 3.5.4 and 3.6. |
|
For now I'd recommend running |
|
Ok… tracked down the problem! @takluyver @gabyx what was the aim in passing in "path" to the resources metadata? I don't think it has the meaning that you intended Path is used by nbconvert to communicate the directory in which various events are supposed to occur: see this code path, basename = os.path.split(filename)
notebook_name = basename[:basename.rfind('.')]
resources['metadata']['name'] = notebook_name
resources['metadata']['path'] = path You are passing it in as the actual file that is being converted, which is causing this error. A fix PR is on its way. |
This works for me (for Debian/Ubuntu): https://nbconvert.readthedocs.io/en/latest/install.html#installing-tex |
Worked for me as well. Thanks |
Same issue still not resolved |
Hi @Harish-Code-Goud, This issue is quite old, and more current information should be provided. Thanks. |
hi @kevin-bates |
I'm not seeing any issues with download as pdf via latex. Since this functionality leverages the nbconvert application, I suggest checking your version of Should you still have problems or are unable to determine what's going on, you may need to open an issue in the nbconvert repo. In doing a quick scan of existing nbconvert issues, this might be related to: jupyter/nbconvert#1099 since some of the more recent comments touch on an |
I have installed a clear version of Python 3.6 and ran the following
$ pip install notebook
to install jupyter on my Windows machine.When I try to download my notebook as PDF via LaTeX I receive the following error:
nbconvert was installed as a dependency with jupyter. Furthermore, I have MikTex installed for LaTeX.
Worth mentioning, I have tried this with different python versions and on my Mac as well.
Hopefully someone could shed some light on this error.
Originally opened as jupyter/nbconvert#697 by @MustiDarsh, migration requested by @mpacer
The text was updated successfully, but these errors were encountered: