[Libreoffice-bugs] [Bug 63324] Headless conversion fails: Error: Please reverify input parameters...

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 4 23:15:25 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=63324

--- Comment #34 from a.mux at inwind.it ---
Hi,

I know this is old but I just stumbled on this bug report while looking for a
solution to a similar problem at
https://github.com/ether/etherpad-lite/pull/3783#issuecomment-609097882.

In my case the problem was with quoting of the parameters when using via the
shell vs when invoking via execve().

At least, I'd like to signal that publicface's message
(https://bugs.documentfoundation.org/show_bug.cgi?id=63324#c31) has a problem
of quoting BEFORE even triggering the real problem on libreoffice.


"Modern" version of his command shows a misleading error because of the wrong
escaping:

$ libreoffice6.4 -env:UserInstallation=file:///tmp/libreoffice-1 --headless
--nolockcheck --convert-to csv:Text \(encoded\):UTF8 --infilter=MS Excel
97:44,34,76,1,,1033,true,true,false,false KGI_Discontinued.xls
Error: source file could not be loaded
Error: source file could not be loaded
Error: source file could not be loaded
convert /tmp/KGI_Discontinued.xls -> /tmp/KGI_Discontinued.csv using filter :
Text
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///tmp/KGI_Discontinued.csv> failed: 0xc10(Error Area:Io Class:Write
Code:16))


That command should really have been:

$ libreoffice6.4 -env:UserInstallation=file:///tmp/libreoffice-1 --headless
--nolockcheck --convert-to "csv:Text (encoded):UTF8" --infilter="MS Excel
97:44,34,76,1,,1033,true,true,false,false" KGI_Discontinued.xls
convert /tmp/KGI_Discontinued.xls -> /tmp/KGI_Discontinued.csv using filter :
Text (encoded):UTF8
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///tmp/KGI_Discontinued.csv> failed: 0xc10(Error Area:Io Class:Write
Code:16))


It still fails, but probably now it's a question of finding the right
parameters for conversion.

In my case I was converting to HTML with "XHTML Writer File:UTF8", and using
the right escaping solved the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200404/14ead794/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list