Bug 82265 - convert-to does not work in LibreOffice 4.3.0.4 for documents with multiline paragraphs
Summary: convert-to does not work in LibreOffice 4.3.0.4 for documents with multiline ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Libreoffice (show other bugs)
Version: 4.3.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact: Florian Reisinger
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2014-08-06 20:34 UTC by Dieter Schmeer
Modified: 2015-01-17 23:20 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Used test document (10.51 KB, text/plain)
2014-08-06 20:34 UTC, Dieter Schmeer
Details
File with error information (3.67 KB, text/xml)
2014-08-06 20:35 UTC, Dieter Schmeer
Details

Description Dieter Schmeer 2014-08-06 20:34:34 UTC
Created attachment 104179 [details]
Used test document

Call the following on command line:
"c:\Program Files (x86)\LibreOffice 4\program\swriter.exe" --headless --convert-to doc "test3.odt"
No PDF file is generated, only the file WERAB7E.tmp.WERInternalMetadata.xml.
In Version 4.2.x.x, this still worked.
It seems the problem occurs for all documents containing a paragraph which is longer than one line. If you shorten all paragraphs to have only one line it works.
Comment 1 Dieter Schmeer 2014-08-06 20:35:26 UTC
Created attachment 104180 [details]
File with error information
Comment 2 Joel Madero 2014-08-07 04:53:30 UTC
Just tested with:
Ubuntu 14.04 x64
LibreOffice 4.3.0.4

I cannot confirm - converts fine.

Note: "c:\Program Files (x86)\LibreOffice 4\program\swriter.exe" --headless --convert-to doc "test3.odt" converts to a DOC not a pdf.

To convert to a PDF you need to replace "doc" with "pdf" in the above line.
Comment 3 Dieter Schmeer 2014-08-07 05:39:07 UTC
Sorry, "doc" was a copy and paste error, because I also tried converting to doc.
On my Windows installation, neither pdf nor doc works, both conversions fail.
Can anybody please try to confirm this on Windows?
Comment 4 michaelp 2014-08-14 22:27:06 UTC
I seem to be experiencing the same problem. Headless conversion to pdf is failing silently (ie not outputting any errors, but not generating the pdf). LO 3.6 and 4.2 are working, but 4.3.0.4 and 4.3.1.1 (ie the release candidate) are both failing.
Comment 5 Robinson Tryon (qubit) 2014-08-15 03:14:03 UTC
(In reply to comment #4)
> I seem to be experiencing the same problem. Headless conversion to pdf is
> failing silently (ie not outputting any errors, but not generating the pdf).
> LO 3.6 and 4.2 are working, but 4.3.0.4 and 4.3.1.1 (ie the release
> candidate) are both failing.

Hi michael,
On what OS are you testing?
Comment 6 michaelp 2014-08-17 23:12:15 UTC
I'm using Linux, but our clients are also having problems in Windows. The Linux distribution is a bit old - it's running under Ubuntu Lucid (10.04)
Comment 7 pablo.olmos 2014-08-28 14:52:43 UTC
I am having the same problem while trying to convert a docx file on Windows 7 (64bit with service pack 1) with version 4.3.1.2: Headless conversion to pdf is failing silently (ie not outputting any errors, but not generating the pdf).
Comment 8 Florian Reisinger 2014-08-28 16:31:03 UTC
Working with 4.3.0.4 and your test document

Can you enter "echo Exit Code is %errorlevel%" (without the ").
If the exit code is "9009" the file does not exist (at least in my case here)
So cannot reproduce
Comment 9 michaelp 2014-09-02 01:40:13 UTC
On Linux, I get a result code of 0, but nothing has happened. It seems to exit with 0 regardless of whether the source file (ie the file I'm trying to convert) exists or not.
Comment 10 tommy27 2015-01-04 15:13:29 UTC
status NEW since confirmations in comment 4 and comment 7
however it would be interesting to know from affected users if the issue persists in latest 4.3.5.2 release
Comment 11 Dieter Schmeer 2015-01-17 23:16:37 UTC
Update for newer LibreOffice Versions 4.3.5.2 and 4.4.0.2:
The command line
"c:\Program Files (x86)\LibreOffice 4\program\swriter.exe" --headless --convert-to pdf "test3.odt"
does still not create a pdf file, the is no output file at all, the command silently fails.

echo Exit Code is %errorlevel%
outputs an exit code of 0.

If I remove some letters in test3.odt until there is only one line of text it works fine.

OS is Windows 7 x64 with all current updates installed. Version 4.2.8 still works fine.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.