Skip to content
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

"PDF creation timeout. PDF generation script did not end." #7

Closed
mpkorstanje opened this issue Nov 20, 2014 · 9 comments
Closed

"PDF creation timeout. PDF generation script did not end." #7

mpkorstanje opened this issue Nov 20, 2014 · 9 comments
Labels

Comments

@mpkorstanje
Copy link

On Windows 7:

When trying to convert the welcome.md that comes with Atom to .pdf I get a: "PDF creation timeout. PDF generation script did not end." in the console and no pdf.

Error: PDF creation timeout. PDF generation script did not end.message: "PDF creation timeout. PDF generation script did not end."stack: (...)get stack: function () { [native code] }set stack: function () { [native code] }__proto__: d c:\Users\nlriekos\.atom\packages\markdown-pdf\lib\markdown-pdf.js:78
@travs
Copy link
Owner

travs commented Nov 20, 2014

Hmm, I am unable to recreate this error on my machine (OS X). When I get hold of a windows box I will try it out and see. Does anyone else get this error?

@mpkorstanje
Copy link
Author

I don't get on Ubuntu either.

Anything I can do to help debug?

@travs travs added the bug label Nov 21, 2014
@travs
Copy link
Owner

travs commented Nov 21, 2014

Maybe try, on the command line, converting some markdown to html with marked, and then that html to pdf with html-pdf. If the error persists then there may be a problem with one of our dependencies.

@mpkorstanje
Copy link
Author

The problem is indeed in html-pdf. Lets see how deep the Rabit hole goes.

@mpkorstanje
Copy link
Author

As it stands now html-pdf can't support Windows.

@marcbachmann
Copy link

Yes, there's a problem on windows with html-pdf where phantomjs doesn't accept a system.stdin argument. That's why it results in a timeout.
I'll have to elaborate that. Phantoms system.stdin.read() should also work on windows. So I currently don't know what's the problem.
Sorry for that

@mpkorstanje
Copy link
Author

Html-pdf has been fixed. Markdown-pdf generates pdf files now.

@marcbachmann
Copy link

Thanks for updating this issue.

@travs
Copy link
Owner

travs commented Nov 29, 2014

Thanks for the hard work guys. Just pushed a new version so this should be incorporated now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants