elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

Error #115

Closed skashequr closed 4 months ago

skashequr commented 4 months ago

let pdfBuf = await libre.convertAsync(docxBuf, ext, undefined); when i write this code then crash my surver and throw Error converting file: Error: Could not find soffice binary and Error: ENOTEMPTY: directory not empty, rmdir 'C:\Users\USER\AppData\Local\Temp\libreofficeConvert_-9776-EAsVmro1lFpe'

elwerene commented 4 months ago

duplicate of https://github.com/elwerene/libreoffice-convert/issues/114

elwerene commented 4 months ago

@skashequr please stop opening new issues

skashequr commented 4 months ago

How can i handle this issue? Can you guide me?

On Sat, Feb 17, 2024 at 3:07 PM René Rössler @.***> wrote:

@skashequr https://github.com/skashequr please stop opening new issues

— Reply to this email directly, view it on GitHub https://github.com/elwerene/libreoffice-convert/issues/115#issuecomment-1949909258, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA732JHHLPBF7E653AYKTPDYUBXMDAVCNFSM6AAAAABDNFB5I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEYDSMRVHA . You are receiving this because you were mentioned.Message ID: @.***>

elwerene commented 4 months ago

Please install libreoffice in /Applications (Mac), with your favorite package manager (Linux), or with the msi (Windows).

https://github.com/elwerene/libreoffice-convert/blob/master/Readme.md

skashequr commented 4 months ago

I already install LibreOffice_24.2.0_Win_x86-64 this application .Now my convert is working.What is the solution when I deploy my backend code is not working?

On Sat, Feb 17, 2024 at 3:32 PM René Rössler @.***> wrote:

Please install libreoffice in /Applications (Mac), with your favorite package manager (Linux), or with the msi (Windows).

https://github.com/elwerene/libreoffice-convert/blob/master/Readme.md

— Reply to this email directly, view it on GitHub https://github.com/elwerene/libreoffice-convert/issues/115#issuecomment-1949915198, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA732JD7P7A4M6HDQN2YSGLYUB2JVAVCNFSM6AAAAABDNFB5I6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZHEYTKMJZHA . You are receiving this because you were mentioned.Message ID: @.***>

elwerene commented 4 months ago

That depends on your server setup. I'm sorry I can not give an easy answer to this. You might need to ask your it