Bug 134807 - General input/output error exporting to pdf
Summary: General input/output error exporting to pdf
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.1 rc
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-14 19:13 UTC by sfbarbee@gmail.com
Modified: 2020-07-16 19:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
letter (114.69 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-16 16:00 UTC, sfbarbee@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sfbarbee@gmail.com 2020-07-14 19:13:07 UTC
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)
Comment 1 Xisco Faulí 2020-07-16 10:33:53 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 sfbarbee@gmail.com 2020-07-16 16:00:22 UTC
Created attachment 163129 [details]
letter
Comment 3 sfbarbee@gmail.com 2020-07-16 16:07:43 UTC
I just tried again, after performing a couple of upgrades.

I see LibreOffice was upgraded yesterday to

libreoffice 7.0.0.1-941.5

I performed another update today and LibreOffice was upgraded to

libreoffice 7.0.0.1-942.2

along with several other updates provided for openSuSE Tumbleweed.

The problem is now fixed after upgrading.

I tried gui and cli for conversion, and both work without error.
Comment 4 Timur 2020-07-16 18:30:31 UTC
fixed is when commit is present, here we never confirmed, so I set status ID.
Comment 5 sfbarbee@gmail.com 2020-07-16 19:31:19 UTC
Is anyone able to replicate?
I attached sample doc.