Jupyter notebook download to pdf 500 internal server error






















Could we update this issue with our actionable next-step on this one? To me it seems like:. I don't think we should add a full Latex distribution to our default image because it increases the size too much.

This would be an nbconvert issue, I think, since that's where it decides what outputs are available or not. However, removing a menu item might be more confusing than the current informative error message. I suspect will instead get users saying "Why did the download as PDF button disappear? Any conda-installed notebook should have pandoc as a dependency which means all images now , which is used for all formats other than html.

It is only PDF at this point that requires the extra layer of latex that might not be present. Neither do I, but that's definitely a bug somewhere :. When do you get this error and what is the error that you see? I agree that the end result of this should be "if a user attempts and fails at 'download as pdf', we catch it and give them a link to instructions for how to enable this". Is that requirement not satisfied, then? I think that repo might not be the greatest to test this out with since it had been last-built in july.

I just pushed a tiny commit to re-trigger a build, and I now get minrk 's error! This is a different problem from what happens if you click "download as PDF". A quick question: yuvipanda mentioned that pandoc adds like 1GB to the base image I'm wondering where that's coming from.

I was looking into the Pandoc bindaries, and they're somewhere around like mb, nothing close to the 1GB. Does it have extra dependencies somewhere? Specifically, I wonder if pandoc downloads a distribution of Latex which would certainly add some cruft to the base image.

If that's the thing that's causing the big images, what if we tried using weasyprint instead of latex for the PDF creation? Maybe this would require a change in nbconvert, but it might be a bit simpler now that pandoc supports. I'm not sure which image you are using now. Reference to recent issue activity on pandoc repo. Trying to export a notebook as PDF from a Binder session just now led to this error:. But it also seems reasonable to tell users that if they want people to export via latex, they need to explicitly install in the environment.

I think the problem here is that the "export as PDF" option is available in default Binder, even though it doesn't work. Skip to content. Star 1. New issue. Jump to bottom. Copy link. I received the following error: Since pandoc is used by nbconvert, shouldn't it be installed in the default image?

Is this use-case common enough that we should document it in binder-examples? Learn more. How can I fix " : Internal Server Error" on jupyter notebook due to 'tornado. Ask Question. Asked 2 years, 8 months ago. Active 8 months ago. Viewed 24k times. But when I try to open an existing notebook or when I create a new notebook I receive a " : Internal Server Error" in the browser and the following message on the terminal: [E Improve this question.

Pika the Master of the Whales 3, 8 8 gold badges 24 24 silver badges 40 40 bronze badges. See quickfix on github. Add a comment. Active Oldest Votes. Solution is here. Improve this answer. I re-installed nbcovert using command.

If you don't have conda then you can use pip instead. Khurram Majeed Khurram Majeed 2, 6 6 gold badges 36 36 silver badges 57 57 bronze badges. Awesome it worked. I have installed the 5. Josh Josh 33 5 5 bronze badges. Also, I removed the environment and recreated it with the modified environment. DavidLindoAtichati then accept the answer.

It also worked for me, thanks a lot Josh — M. Foivos Foivos 29 4 4 bronze badges. While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference.

Link-only answers can become invalid if the linked page changes. This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post ; instead, provide answers that don't require clarification from the asker.

Phantom Phantom 63 4 4 bronze badges. Maybe some more details, that will help OP and future readers. After installing Jupyter with command: pip install jupyter got the error when attempting to create new notebook. Fixed it by reinstalling Jupyter with command: pip3 install jupyter. Sign up or log in Sign up using Google. Sign up using Facebook.



0コメント

  • 1000 / 1000