Bug 88425

Summary: Headless conversion from ODG to PNG no longer works [Hard to reproduce]
Product: LibreOffice Reporter: Kerry Hjertaas <kerry.hjertaas>
Component: LibreofficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO --- QA Contact:
Severity: normal    
Priority: medium CC: qubit, todventtu
Version: 4.3.5.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard: needsWindows
i915 platform: i915 features:
Attachments: Test ODG file (a blue rectangle) to replicate this problem

Description Kerry Hjertaas 2015-01-14 22:15:28 UTC
Created attachment 112255 [details]
Test ODG file (a blue rectangle) to replicate this problem

The following command works fine and generates a PNG of the attached ODG file in 4.2.8.2 (the file is a blue rectangle).

soffice --headless --invisible --convert-to png test.odg ./

This same command produces no output with version 4.3.5.2 of libre office.  No errors appear on the console. No output PNG is created.

This was installed using the .msi installer on Windows 7 in both cases.
Comment 1 Robinson Tryon (qubit) 2015-01-14 23:25:44 UTC
Comment on attachment 112255 [details]
Test ODG file (a blue rectangle) to replicate this problem

fix mimetype
Comment 2 Robinson Tryon (qubit) 2015-01-14 23:36:33 UTC
TESTING on Ubuntu 14.04 + Lo 4.4.0.2

(In reply to Kerry Hjertaas from comment #0)
> Created attachment 112255 [details]
> Test ODG file (a blue rectangle) to replicate this problem
> 
> The following command works fine and generates a PNG of the attached ODG
> file in 4.2.8.2 (the file is a blue rectangle).
> 
> soffice --headless --invisible --convert-to png test.odg ./
> 

My command-line conversion is a bit more verbose, but it's doing basically the same thing:

qubit@loopbackoffice:~/libreoffice/builds/LibreOffice_4.4.0.2_Linux_x86-64_deb$ ./DEBS/install/opt/libreoffice4.4/program/soffice -env:UserInstallation=file:////home/qubit/libreoffice/builds/LibreOffice_4.4.0.2_Linux_x86-64_deb --headless --invisible --convert-to png /home/qubit/scratch/libreoffice/bugs/88425/test.odg ./
convert /home/qubit/scratch/libreoffice/bugs/88425/test.odg -> /home/qubit/libreoffice/builds/LibreOffice_4.4.0.2_Linux_x86-64_deb/test.png using draw_png_Export

Opening the resulting test.png showed a blue rectangle. I had the same success when testing with LO 4.3.5.2, so
NOREPRO from me.

Whiteboard -> needsWindows
Comment 3 Beluga 2015-01-16 19:16:36 UTC
PNG generated fine for me.

Win 7 64-bit, LibO Version: 4.4.0.2
Build ID: a3603970151a6ae2596acd62b70112f4d376b99

and Version: 4.5.0.0.alpha0+
Build ID: 4c93c341be1425401112eed3581e8b8a6308880d
TinderBox: Win-x86@42, Branch:master, Time: 2015-01-16_01:53:40
Comment 4 Robinson Tryon (qubit) 2015-01-16 19:23:50 UTC
(In reply to Kerry Hjertaas from comment #0)
> The following command works fine and generates a PNG of the attached ODG
> file in 4.2.8.2 (the file is a blue rectangle).
> 
> soffice --headless --invisible --convert-to png test.odg ./
> 
> This same command produces no output with version 4.3.5.2 of libre office. 
> No errors appear on the console. No output PNG is created.

Please try the latest 4.4.0 rc 2:
https://www.libreoffice.org/download/libreoffice-fresh/?version=4.4.0&lang=en-US

Status -> NEEDINFO
Comment 5 MM 2015-01-18 21:49:54 UTC
No problems with v4.3.5.2 under windows 7 x64.
Comment 6 Robinson Tryon (qubit) 2015-01-18 22:12:01 UTC
(In reply to MM from comment #5)
> No problems with v4.3.5.2 under windows 7 x64.

Close enough to OP's testing, so:
Summary -> [hard to repro]

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.