elwerene / libreoffice-convert

MIT License
253 stars 96 forks source link

Error converting file: Error: Command failed #72

Closed haiduong2905 closed 2 years ago

haiduong2905 commented 2 years ago

i get this Error. Error converting file: Error: Command failed: "C:\Program Files\LibreOffice\program\soffice.exe" -env:UserInstallation=file://C:\Users\DEV_CR~1\AppData\Local\Temp\soffice-6052-5bec0zaQKRBk --headless --convert-to .pdf --outdir C:\Users\DEV_CR~1\AppData\Local\Temp\libreofficeConvert_-6052-iBxGkJXLM0NO C:\Users\DEV_CR~1\AppData\Local\Temp\libreofficeConvert_-6052-iBxGkJXLM0NO\source

elwerene commented 2 years ago

It seems you don't have libreoffice installed.

Am 8. Januar 2022 10:36:47 MEZ schrieb haiduong2905 @.***>:

i get this Error. Error converting file: Error: Command failed: "C:\Program Files\LibreOffice\program\soffice.exe" -env:UserInstallation=file://C:\Users\DEV_CR~1\AppData\Local\Temp\soffice-6052-5bec0zaQKRBk --headless --convert-to .pdf --outdir C:\Users\DEV_CR~1\AppData\Local\Temp\libreofficeConvert_-6052-iBxGkJXLM0NO C:\Users\DEV_CR~1\AppData\Local\Temp\libreofficeConvert_-6052-iBxGkJXLM0NO\source

-- Reply to this email directly or view it on GitHub: https://github.com/elwerene/libreoffice-convert/issues/72 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

haiduong2905 commented 2 years ago

i installed and received notify The application cannot be started. The configuration file "C:\Program Files\LibreOffice\program\bootstrap.ini" is corrupt.

elwerene commented 2 years ago

Did you try to start libreoffice manually? It seems your Installation is corrupted

ivysrono commented 2 years ago

Same error. I have try to start libreoffice manually, and it's OK.

Win10 x64 LibreOffice 7.2.5 x64 libreoffice-convert 1.3.5 NodeJs 16.13.1

ccoenen commented 2 years ago

I have the same problem as described in here. LibreOffice is installed, and bootstrap.ini can't be found.