{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/7712","labels_url":"https://api.github.com/repos/ipython/ipython/issues/7712/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/7712/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/7712/events","html_url":"https://github.com/ipython/ipython/issues/7712","id":56961085,"number":7712,"title":"\"Download as PDF\" feature shows unhelpful error message and requires big dependency","user":{"login":"rsmith31415","id":599274,"avatar_url":"https://avatars.githubusercontent.com/u/599274?v=3","gravatar_id":"","url":"https://api.github.com/users/rsmith31415","html_url":"https://github.com/rsmith31415","followers_url":"https://api.github.com/users/rsmith31415/followers","following_url":"https://api.github.com/users/rsmith31415/following{/other_user}","gists_url":"https://api.github.com/users/rsmith31415/gists{/gist_id}","starred_url":"https://api.github.com/users/rsmith31415/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsmith31415/subscriptions","organizations_url":"https://api.github.com/users/rsmith31415/orgs","repos_url":"https://api.github.com/users/rsmith31415/repos","events_url":"https://api.github.com/users/rsmith31415/events{/privacy}","received_events_url":"https://api.github.com/users/rsmith31415/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-02-08T18:14:19Z","updated_at":"2015-03-04T19:08:14Z","closed_at":null,"body":"This is more a feature request because I tested the \"download as PDF\" feature in Ubuntu 14.10 using the new notebook (Ipython 3) and it works great. The problem is that when I tried it for the first time, I didn't have the required dependencies and received an error saying `! LaTeX Error: File 'adjustbox.sty' not found`. I tried to bypass this issue installing only adjustbox.sty but ultimately  I had to install `texlive-latex-extra`. \r\n\r\nThe issue is that this requires an installation of, at least, 584 MB. That is a big dependency for a very specific feature. So there are a couple of suggestions:\r\n\r\n1. Show a more straightforward error message when a dependency such as adjustbox is not found in the 500 error page of the notebook. Currently, the error says: `nbconvert failed: PDF creating failed`\r\n\r\n2. In the long-term, it would be great to convert to PDF using a web service in the same way that Google Drive when downloading a PDF from a document.\r\n"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/77223574","html_url":"https://github.com/ipython/ipython/issues/7712#issuecomment-77223574","issue_url":"https://api.github.com/repos/ipython/ipython/issues/7712","id":77223574,"user":{"login":"jdfreder","id":3292874,"avatar_url":"https://avatars.githubusercontent.com/u/3292874?v=3","gravatar_id":"","url":"https://api.github.com/users/jdfreder","html_url":"https://github.com/jdfreder","followers_url":"https://api.github.com/users/jdfreder/followers","following_url":"https://api.github.com/users/jdfreder/following{/other_user}","gists_url":"https://api.github.com/users/jdfreder/gists{/gist_id}","starred_url":"https://api.github.com/users/jdfreder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdfreder/subscriptions","organizations_url":"https://api.github.com/users/jdfreder/orgs","repos_url":"https://api.github.com/users/jdfreder/repos","events_url":"https://api.github.com/users/jdfreder/events{/privacy}","received_events_url":"https://api.github.com/users/jdfreder/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T19:08:14Z","updated_at":"2015-03-04T19:08:14Z","body":"Maybe something as simple as a rename from \"PDF\" to \"Latex PDF\" and a more verbose error message would suffice.  Right now the HTML message is \"500: Internal server error\" with nothing indicating that it's a dependency problem (except in the server console, which the user may not have access to)."}}