<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - General input/output error exporting to pdf"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134807">134807</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>General input/output error exporting to pdf
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.0.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sfbarbee@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
>From the gui the error is reported as:

Error saving the document <file name>:
General Error.
General input/output error.

>From the cli, it reports:

libreoffice --writer --convert-to pdf <source doc> --outdir <dest dir>
convert <source doc> -> <dest doc> using filter : writer_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file://<dest doc>> failed: 0xc10(Error Area:Io Class:Write Code:16)
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:3153
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:1735)


Steps to Reproduce:
1. libreoffice --writer --convert-to pdf <doc path> --outdir <dest dir>
2.
3.

Actual Results:
libreoffice --writer --convert-to pdf /home/test.docx --outdir /home/

convert /home/test.docx -> /home/test.pdf using filter : writer_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///home/test.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16)
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:3153
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:1735)


Expected Results:
Should create doc, like epub conversion does.

libreoffice --writer --convert-to epub /home/test.docx --outdir /home/
convert /home/test.docx -> /home/test.epub using filter : EPUB
Overwriting: /home/test.epub



Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
With libreoffice-7.0.0.0.beta2-lp152.937.1.x86_64 on openSuSE Leap 15.2, the
export works. 
With libreoffice-7.0.0.1-941.4.x86_64 on openSuSE Tumbleweed, the export fails

The same error is produced with calc

libreoffice --calc --convert-to pdf /home/test.xlsx --outdir /home/
convert /home/test.xlsx -> /home/test.pdf using filter : calc_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///home/test.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16)
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:3153
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:1735)


Also, because of the "Please verify input parameters", I reversed the order of
the input file and outdir, but error persists.

libreoffice --writer --convert-to pdf --outdir /home/ /home/test.docx
convert /home/test.docx -> /home/test.pdf using filter : writer_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///home/test.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16)
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:3153
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:1735)


This also fails for regular text files.

libreoffice --writer --convert-to pdf /home/test.txt --outdir /home/
convert /home/test.txt -> /home/test.pdf using filter : writer_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store
<file:///home/test.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16)
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:3153
/home/abuild/rpmbuild/BUILD/libreoffice-7.0.0.1/sfx2/source/doc/sfxbasemodel.cxx:1735)</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>