elwerene / libreoffice-convert

MIT License
242 stars 94 forks source link

Having issues when converting files #13

Closed vatboxJr closed 4 years ago

vatboxJr commented 4 years ago
(node:4877) UnhandledPromiseRejectionWarning: error file un supported
(node:4877) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:4877) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-1kijeej.1pn9/source..pdf'
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-131h2y9.ovkq/source..pdf'
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-f7h33.2qayw8/source..pdf'
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-1bo4kq9.n8t3/source..pdf'
Error converting file: Error: Command failed: /usr/bin/libreoffice --headless --convert-to .pdf --outdir /tmp/libreofficeConvert202007-4877-wkpi55.bi3xb /tmp/libreofficeConvert202007-4877-wkpi55.bi3xb/source
Error: source file could not be loaded
terminate called after throwing an instance of 'com::sun::star::lang::WrappedTargetRuntimeException'
Application Error

Error converting file: Error: Command failed: /usr/bin/libreoffice --headless --convert-to .pdf --outdir /tmp/libreofficeConvert202007-4877-18yn9n4.yj9s /tmp/libreofficeConvert202007-4877-18yn9n4.yj9s/source
Error: source file could not be loaded
terminate called after throwing an instance of 'com::sun::star::lang::WrappedTargetRuntimeException'
Application Error

Error converting file: Error: Command failed: /usr/bin/libreoffice --headless --convert-to .pdf --outdir /tmp/libreofficeConvert202007-4877-tq1z98.niqnb /tmp/libreofficeConvert202007-4877-tq1z98.niqnb/source
Error: source file could not be loaded
terminate called after throwing an instance of 'com::sun::star::lang::WrappedTargetRuntimeException'
Application Error

Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-m15z6e.dqc9/source..pdf'
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-15wbn6q.nmkg/source..pdf'
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-b774wb.v989l/source..pdf'
Error converting file: Error: Command failed: /usr/bin/libreoffice --headless --convert-to .pdf --outdir /tmp/libreofficeConvert202007-4877-6tu44f.g72kb /tmp/libreofficeConvert202007-4877-6tu44f.g72kb/source

Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-m3747.lakzqi/source..pdf'
Error converting file: Error: Command failed: /usr/bin/libreoffice --headless --convert-to .pdf --outdir /tmp/libreofficeConvert202007-4877-wo5v95.zbm9 /tmp/libreofficeConvert202007-4877-wo5v95.zbm9/source
Error: source file could not be loaded
terminate called after throwing an instance of 'com::sun::star::lang::WrappedTargetRuntimeException'
Application Error

Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-1ba6tcp.q9eb/source..pdf'
Error converting file: Error: ENOENT: no such file or directory, open '/tmp/libreofficeConvert202007-4877-1380jar.d0ph/source..pdf'
elwerene commented 4 years ago

Can you provide the code you are using?

elwerene commented 4 years ago

You can reopen the issue, if you provide any code/example