-
Notifications
You must be signed in to change notification settings - Fork 10
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
ENAMETOOLONG error thrown when converting big files #1
Comments
Hi there The error you described actually only occurs when the file (phantomjs.exe or the destination-path in this case) is located in a too deep nested folder.
Thanks for your feedback ~manuth |
Please reopen the issue if you have futher troubles. |
@manuth Here are the answers for your questions:
The install path of phantomjs.exe does seem very deeply nested, since it mentions the path in the error, but I have no control over that, as it is where the extension is installed. Any chance you can add a config option for a custom path to the phantomjs library? It should solve the issue if I just install phantomjs to the local project and then point the config option to that location, as the path then shouldn't be that deeply nested. I can't reopen this issue. |
Hello Graloth I could reproduce the error. Looks like it occurs when the file has a certain size. ~Manu |
I finally could find the source of the problem! I could fix the issue, so this improvement will be available in version 0.0.8 |
This commit fixes #1. Passing the whole document and its settings as a JSON-string as a console-argument caused an ENAMETOOLONG-error. The JSON-string is now saved to a file and its path is passed to PhantomJS
This commit fixes #1. Passing the whole document and its settings as a JSON-string as a console-argument caused an ENAMETOOLONG-error. The JSON-string is now saved to a file and its path is passed to PhantomJS
Decided to give the extension a try, but it seems to only want to generate HTML files.
This is the error I get when I try to convert it to PDF or PNG:
I have tried with file names as short as 3 letters, standard, no special characters, no spaces, etc. nothing works.
Like I mentioned, it works 100% with conversion to HTML.
No idea why this is happening, so I'm making an issue with it here, in case it's something that needs attention.
The text was updated successfully, but these errors were encountered: