Ask Your Question
0

Convert Docx to PDF with Windows 7 and Libreoffice 6.2

asked 2019-02-14 13:56:03 +0200

THaeusler gravatar image

The following command will result to nothing. No error, no file. There is no instance of soffice running in taskmanager before im starting (Computer ist restartet fresh) The Command work fine with Libre Office 5

"C:\Program Files (x86)\LibreOffice\program\soffice.exe" --convert-to pdf f:\Test.docx --outdir f:

The Paths are existing und f: is writeable for all.

Any ideas? Thx Tom

edit retag flag offensive close merge delete

Comments

Well - f: is not a proper absolute path - for Windows, it's a "current path on drive f:". Possibly the current path on f: is not the one you expect.

f:\ is the correct path of root directory on drive f:, and starting from 6.1.3, it's allowed to end path with backslash on Windows (tdf#120249). Previously, using f:/ also would work.

Not sure it's the real problem here, though.

There's tdf#112536, which prevents correct output to console. It's fixed in 6.3; you could use a daily build to test the problem with normal output (note that to have that normal output, you need to use ...\soffice, not ...\soffice.exe to pick soffice.com).

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-14 14:04:20 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-02-14 15:22:36 +0200

THaeusler gravatar image

I have also tried f:\, doesnd make sense. Is there an verbose / debuging switch.

Thx Tom

edit flag offensive delete link more

Comments

Also tried: "C:\Program Files (x86)\LibreOffice\program\soffice" --convert-to pdf:writer_pdf_Export "f:\Test.docx" --outdir "f:\"

THaeusler gravatar imageTHaeusler ( 2019-02-14 15:31:52 +0200 )edit

Yesterday installed: LibreOffice_6.2.0_Win_x64.msi

THaeusler gravatar imageTHaeusler ( 2019-02-14 15:33:07 +0200 )edit

Sigh. Have you read my comment carefully? The problem that soffice doesn't output to console is only fixed in not-yet-released 6.3 - so the only way to guarantee the output is downloading and installing daily build. Install it temporarily - to debug the problem; when you nailed it down (and hopefully fixed), you'd return to a released version.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-14 15:36:15 +0200 )edit

Only can find 6.2 @ Server for download (Win x86_64). have you an link 4me pls?

THaeusler gravatar imageTHaeusler ( 2019-02-14 15:55:40 +0200 )edit

Found it, sry

THaeusler gravatar imageTHaeusler ( 2019-02-14 15:56:52 +0200 )edit

Now i get the following error:

Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///f://Test.pdf> failed: 0x31c(Error Area:Io Class:NotExists Code:28))
Command:
"C:\Program Files (x86)\LibreOfficeDev 6\program\soffice" --headless --convert-to pdf f:\Test.docx --outdir f:\

Does it mean, that soffice cat read the file, but if i openit by hand, it works. Thx 4u help

THaeusler gravatar imageTHaeusler ( 2019-02-14 16:14:42 +0200 )edit

And how does this differ if you use simple f: instead of f:\?

Does it work if you save not to root, but to some subdirectory?

Looks like a problem with processing roots. Will check if you file a bug report.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-14 17:40:34 +0200 )edit

youre wright, to an subdir it works fine ! So onnly to root is an Problem, in this version

THaeusler gravatar imageTHaeusler ( 2019-02-14 18:35:05 +0200 )edit

Filed tdf#123474 for you.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-15 05:23:52 +0200 )edit

Fixed in 6.3.

Mike Kaganski gravatar imageMike Kaganski ( 2019-02-15 13:09:57 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-02-14 13:56:03 +0200

Seen: 72 times

Last updated: Feb 14