<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Headless conversion fails: Error: Please reverify input parameters..."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=63324#c34">Comment # 34</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Headless conversion fails: Error: Please reverify input parameters..."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=63324">bug 63324</a>
              from <span class="vcard"><a class="email" href="mailto:a.mux@inwind.it" title="a.mux@inwind.it">a.mux@inwind.it</a>
</span></b>
        <pre>Hi,

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

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
(<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WORKSFORME - Headless conversion fails: Error: Please reverify input parameters..."
   href="show_bug.cgi?id=63324#c31">https://bugs.documentfoundation.org/show_bug.cgi?id=63324#c31</a>) 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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>