-
Notifications
You must be signed in to change notification settings - Fork 198
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
[Bug Report]: Error: EBUSY: resource busy or locked after PDF conversion #101
Comments
Hello @Sawalhah, thank you for reporting the issue, I also got an issue to generate a PDF on Windows. |
Any news on this issue? Still happening with current versions available and the simplest pdf generation. |
Found a workaround on Windows to get around this problem. In short, the problem arises in the exit method in the converter.js file when time folders are deleted from the Temp folder. The LibreOffice process does not have time to release the files that must be deleted in time. Therefore, it was decided to comment on the code section that removes these time folders at the time the process is closing. Instead of this path, temporary folders are saved to a text file. In a separate script, we read these paths and delete everything that should have been deleted, after which we delete this file with the paths. converter.js
cleanup_cache.js
|
I also encountered the same problem, have you solved it? |
Environment
Carbone Version: [email protected]
Node Version: Node v12.18.0
Desktop OS: Windows 10 x64
Other: LibreOffice: 7.0.2
I've started a PDF generation test, the document generated but I get an error
The text was updated successfully, but these errors were encountered: