Skip to content
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

LibreOffice packaged by AppImageKit failed to convert MS Word format to PDF format using command line interface #25

Closed
ghost opened this issue Jan 15, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 15, 2016

Hi,

I tested LibreOffice 5.0.4 downloaded from https://bintray.com/probono/AppImages/LibreOffice/ , as well as self built LibreOffice images according to https://github.com/probonopd/AppImageKit/wiki/Bundling-OpenOffice, both has problem when converting MS Word format to PDF format.

Steps to reproduce:

  1. prepare a MS Word document, or Excel, or PowerPoint, etc.
  2. using command line to convert the file

$ ./ooo.AppImage --convert-to pdf test_doc.doc

Expected result:
convert test_doc.doc -> test_doc.pdf using filter : writer_pdf_Export
Actual result:
Error: source file could not be loaded

According to my experience from creating portable LibreOffice for Windows, it seems this error usually happens when some part of LibreOffice installation is missing.

Any comment is great appreciated, thanks for the great work!

@probonopd
Copy link
Member

Please specify an absolute path, e.g., do not use

$ ./ooo.AppImage --convert-to pdf test_doc.doc

but instead use

$ ./ooo.AppImage --convert-to pdf /path/to/test_doc.doc

@ghost
Copy link
Author

ghost commented Jan 16, 2016

Hi @probonopd, thanks a lot for the hints!

With ./ooo.AppImage --convert-to pdf /path/to/test_doc.doc it still doesn't work, failed with

Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/.mount_9m6UIc/usr/test_doc.pdf> failed: 0x11b)

However, after specify an absolute path for output dir, it starts to work:

./ooo.AppImage --convert-to pdf /path/to/test_doc.doc --outdir /path/to/output  --headless

Please close the issue. Thank you for the great work!

@probonopd
Copy link
Member

Yes, all paths need to be absolute when using AppImages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant