Bug 63324

Summary: Headless conversion fails: Error: Please reverify input parameters...
Product: LibreOffice Reporter: gdwarner
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: high CC: ana, riccardo.magliocchetti, sergey, tlaubr
Version: 4.0.2.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: docker config file
libreoffice draw file which demonstrates issue

Description gdwarner 2013-04-09 16:32:09 UTC
Here is the command I'm running:

[gwarner@arch system_test]$ soffice --headless --convert-to html:HTML test_plan.doc

convert /home/gwarner/p4/_sw/test/system_test/test_plan.doc -> /home/gwarner/p4/_sw/test/system_test/test_plan.html using HTML
Error: Please reverify input parameters...


System Details: Archlinux x86_64

Exporting from the GUI (Save As... -> html) works fine.

When I run the command on a machine with Ubuntu x86 with Libreoffice 3.6.2.2, it works as intended.
Comment 1 Laubrino 2013-05-03 15:44:11 UTC
Similar problem here:

soffice.bin --headless --convert-to pdf document.docx
convert /root/document.docx -> /root/document.pdf using writer_pdf_Export
Error: Please reverify input parameters...

and no document is created.

If I run it without the "--headless", it works! The pdf document is created.

LibreOffice 4.0.1.2
Debian linux 7.0
uname: Linux xxx 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux
Comment 2 Michael Meeks 2013-05-06 12:58:25 UTC
Riccardo - are you aware of this one ? :-)
Comment 3 Laubrino 2013-05-06 13:19:51 UTC
I did some more research. I have libreoffice 3.5 and 4.0 installed on the same linux (Ubuntu 12.04). 

With libreoffice 3.5 it works and the pdf is generated in headless mode. With 4.0 version it doesn't work in headless mode.

It happens only with the one particular docx document (which I cannot share for privacy reasons, unfortunately)
Comment 4 Laubrino 2013-05-06 13:33:56 UTC
And I also tested on Windows in headless mode and it works in 3.6 and 4.0 as well.
Comment 5 Riccardo Magliocchetti 2013-05-06 16:22:46 UTC
(In reply to comment #2)
> Riccardo - are you aware of this one ? :-)

Never used / touched convert-to but i'll try to take a look at this later today.
Comment 6 Riccardo Magliocchetti 2013-06-06 20:12:30 UTC
(In reply to comment #0)
> Here is the command I'm running:
> 
> [gwarner@arch system_test]$ soffice --headless --convert-to html:HTML
> test_plan.doc

Can you share your doc file please?
Comment 7 Florian Manschwetus 2013-07-13 19:04:14 UTC
This also doesn't work for odg to svg
Comment 8 Florian Manschwetus 2013-07-13 19:05:09 UTC
Sorry forgot to mention lo 4.1.0.2 linux amd64
Comment 9 Riccardo Magliocchetti 2013-07-14 12:33:32 UTC
(In reply to comment #8)
> Sorry forgot to mention lo 4.1.0.2 linux amd64

Thanks for confirming, but what we are tracking here is something document specific although the error libo is returning is pretty generic and possibly has nothing to do with parameters :) Please upload the broken document and post the exactly command line invocation you have tried.
Comment 10 Sergey Pashinin 2013-08-12 12:13:00 UTC
I want to add that I have this bug. And it is not document specific but platform specific (Windows) for me.

I can not convert any doc/docx documents.

LO just writes something like:

Convert "D:/a.docx" -> "D:/a.docx"   (yes, same extension, but I wanted "pdf")
Error: Please reverify input parameters...

On GNU/Linux - everything is fine.

LO - 4.0.2, 4.1
Comment 11 Ana Nelson 2014-04-23 01:05:59 UTC
I am seeing this error, or one that acts just like it, on 4.1.3 on Ubuntu (in a Docker instance). I've also tested on 4.2 and it is still present (but 4.1.3 is the current version installed via apt-get).

docuser@f475eb7a9f39:~$ libreoffice --version
LibreOffice 4.1.3.2 410m0(Build:2)

png conversion works just fine:

docuser@f475eb7a9f39:~$ libreoffice --headless --convert-to png example.odg 
convert /home/docuser/example.odg -> /home/docuser/example.png using draw_png_Export
docuser@f475eb7a9f39:~$ ls
example.odg  example.png  libreoffice

But svg conversion fails:

docuser@f475eb7a9f39:~$ libreoffice --headless --convert-to svg example.odg 
convert /home/docuser/example.odg -> /home/docuser/example.svg using draw_svg_Export
Error: Please reverify input parameters...

I will attach my example odg file and Dockerfile, but any odg file seems to have this problem.
Comment 12 Ana Nelson 2014-04-23 01:07:13 UTC
Created attachment 97790 [details]
docker config file
Comment 13 Ana Nelson 2014-04-23 01:07:39 UTC
Created attachment 97791 [details]
libreoffice draw file which demonstrates issue
Comment 14 Ana Nelson 2014-04-23 01:12:39 UTC
... And if there's any debugging I can do, or anything else to help move this forward, please let me know. This is a very important feature for me.
Comment 15 Robert Niedosmialek 2014-05-23 13:16:51 UTC
Is there any progress on this bug as I have just come upon it in 4.2.4.2 version? I can save a ODP to SVG with the UI but from the command line it fails and it does not matter what ODP/PPT/PPTX I use.
Comment 16 Chris C 2014-07-07 22:03:10 UTC
This is still open on the current version on Ubuntu. Please notice the error: "Error: Please reverify input parameters..." it looks like it is a parsing error on the command line. It should not be difficult to fix.
Comment 17 Riccardo Magliocchetti 2014-07-08 07:18:17 UTC
(In reply to comment #16)
> This is still open on the current version on Ubuntu. Please notice the
> error: "Error: Please reverify input parameters..." it looks like it is a
> parsing error on the command line. It should not be difficult to fix.

Unfortunately it's not that simple, that message is printed for every exception raised.
Comment 18 Björn Michaelsen 2014-08-21 12:21:13 UTC
(This is an automated message.)

LibreOffice development currently prioritizes bugs with the so called MAB (most annoying bugs) -- as this bug has not run through that process (including writing a short rationale for this bug being a candidate and other who are watching the tracker bug silently approving that rationale etc.) its priority is set to high. Note this is effectively no change in the urgency assigned to this bug, as we are currently not making a difference between high and highest and severity is untouched.

You can find out more about MABs and how the process works by contacting libreoffice qa on irc:

 http://webchat.freenode.net/?channels=libreoffice-qa

The QA wiki page also gives you hints on how to get in contact with the team (if IRC fails you, your next best choice is the mailing list):

 https://wiki.documentfoundation.org/QA

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.