-
Notifications
You must be signed in to change notification settings - Fork 47
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 conversion for the password protected doc file #28
Comments
Hey @krisalay! I'm glad you found my package useful, but unfortunately, I haven't worked with password-protected files so can't advise you on this topic. However, if you find a way to do this from LibreOffice CLI you can pass any arguments you want to |
@vladgolubev Thank you for your quick response. I will try to do it using the CLI. |
@vladgolubev
Can you please let me know what the issue is? |
@krisalay I can't give any guarantees this package will work in Kubernetes It was compiled to work in AWS Lambda, as the name of the package states So, unfortunately, I can't tell what this issue is. You may find help on LibreOffice/StackOverflow/Kubernetes forums |
@vladgolubev Thanks, I will look into it. |
About that, @vladgolubev (this only working in AWS). First of all, thanks for this package. Helped me tremendously. I can report that this package works out-of-the-box in Google Cloud Functions (and I imagine Firebase), as long as I select the beta Node.js 8 runtime (because of #15). I'm using a 2048MB/2.4GHz “VM”, but the 1024MB/1.4GHz would do as well. |
Thanks for the info @ncruces! I'll add this to UPD: done |
@ncruces I have just tested for Google Cloud Functions ... And out-of-the box (i take example from the readme.md), it's not working for me :( ... How did you make the plugin working so easily ? Here is my error : "Cannot find LibreOffice. Document conversion cannot be used" Thanks in advance, |
Package as changed since I've used it last. I don't use this out-of-the-box any more. I also don't recognize that error message. Things to look for: are you using Node.js 8 Beta? I'm using the same LibreOffice binaries compiled here (lo.tar.br), so I'm sure those work. But I'm using Go instead of Node.js. Cloud Functions Go is still a closed alpha and under NDA, so it doesn't make sense to contribute my solution. I'll revisit that decision in the future. Changes I made are "documented" here. |
Thanks @ncruces for your answers !!! And I can confirm ... the plugin is still working out-of-the-box on Cloud Functions !!! :) Thanks to all !!! |
Hello,
I am trying to convert the password protected .docx file to pdf using this nodejs package.
But I am not able to figure out the way to do so. Can you please let me know the best way to achieve this functionality?
The text was updated successfully, but these errors were encountered: