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)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
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:


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
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- at /build/libreoffice-fresh/src/libreoffice-

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

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
> libreoffice --version
LibreOffice 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 ***