Bug 150860 - Failed to convert txt to pdf
Summary: Failed to convert txt to pdf
Status: RESOLVED DUPLICATE of bug 150846
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-08 15:01 UTC by alexo
Modified: 2022-09-08 15:23 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alexo 2022-09-08 15:01:15 UTC
Description:
Converting from txt to pdf in headless used to work, but now does not.

Steps to Reproduce:
1. I have a text document (can create one with `echo "Hello world" >> /tmp/sample.txt`
2. Run conversion (headless) `libreoffice --headless --convert-to "pdf" /tmp/sample.txt --outdir /tmp` (For testing, I also added --safe-mode and got the same results)

Actual Results:
convert /tmp/sample.txt -> /tmp/sample.pdf using filter : writer_pdf_Export
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/sample.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16) at /build/libreoffice-fresh/src/libreoffice-7.4.0.3/sfx2/source/doc/sfxbasemodel.cxx:3207 at /build/libreoffice-fresh/src/libreoffice-7.4.0.3/sfx2/source/doc/sfxbasemodel.cxx:1783)

Expected Results:
A pdf to be produced (/tmp/sample.pdf)


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
> libreoffice --version
LibreOffice 7.4.0.3 40(Build:3)

(Just in case I selected the wrong version above)

I don't think this is OpenGL related, but just in case
> glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 515.65.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 515.65.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 515.65.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Comment 1 Mike Kaganski 2022-09-08 15:23:59 UTC

*** This bug has been marked as a duplicate of bug 150846 ***