[Bug]: DOCX to PDF fails

Open
#1,011 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Marouane-elfadli is already working on this.

Since Nov 2, 2026.

  • #1015 by @Marouane-elfadli — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
backend, desktop

Research direction

The timeout is raised in ProcessRunner.RunAsync (src/Filee.Engines/Infrastructure/ProcessRunner.cs) and reached through LibreOfficeConverter.RunAsync and ConvertOnceAsync in src/Filee.Engines/Office/LibreOfficeConverter.cs. Start by reproducing the DOCX-to-PDF conversion with the attached file and comparing it with the command-line soffice run. Pull request #1015 is already open against this issue, so check it before starting any work.

Written by the indexing model from the issue text.

Description

bug
What happened?

Hello,

I'm trying Filee to convert multiple formats, however, it's failing converting DOCX files to PDF. Sometimes, it gives "Missing document fonts: Arial (CS
Gövde)" message, although the document does not contain Arial font.

The document that is not converted to PDF with Filee can be converted from command line without errors using following command:
soffice --headless --convert-to pdf "C:\test\word_to_pdf.docx" --outdir "C:\test"

Any help would be appreciated.

Best regards.

What did you expect?

No response

Steps to reproduce
  1. CTRL+Press file to reveal Donut toolbar, select PDF
  2. Progress stuck around 90% throwing error message
Files involved

word_to_pdf.docx

Filee version

2.2.0

Operating system

Windows 11 Pro 26H2

Engines page status
Image
Log
14:43:06.740 INFO RadialController: Converting 1 file(s) with preset to-pdf
14:46:06.787 WARN JobQueue: Converting C:\test\word_to_pdf.docx failed
System.TimeoutException: soffice.exe did not finish within 180 s.
   at Filee.Engines.Infrastructure.ProcessRunner.RunAsync(String executable, IEnumerable`1 arguments, TimeSpan timeout, CancellationToken cancellationToken, String workingDirectory, IDictionary`2 environment, Action`1 onOutput, Nullable`1 stallTimeout) in D:\a\Filee\Filee\src\Filee.Engines\Infrastructure\ProcessRunner.cs:line 90
   at Filee.Engines.Office.LibreOfficeConverter.RunAsync(String soffice, Int32 slot, String filter, String outDir, String input, CancellationToken cancellationToken) in D:\a\Filee\Filee\src\Filee.Engines\Office\LibreOfficeConverter.cs:line 310
   at Filee.Engines.Office.LibreOfficeConverter.ConvertOnceAsync(String soffice, Int32 slot, String filter, String workDirectory, String input, IProgress`1 progress, CancellationToken cancellationToken) in D:\a\Filee\Filee\src\Filee.Engines\Office\LibreOfficeConverter.cs:line 179
   at Filee.Engines.Office.LibreOfficeConverter.ConvertAsync(ConversionStep step, IProgress`1 progress, CancellationToken cancellationToken) in D:\a\Filee\Filee\src\Filee.Engines\Office\LibreOfficeConverter.cs:line 119
   at Filee.Core.Conversion.JobQueue.RunFileAsync(ConversionJob job, FileResult file, Int32 index, RoutePlanner planner, String workDir, Boolean finalOutput, String intermediate, Double ceiling, Preset options) in D:\a\Filee\Filee\src\Filee.Core\Conversion\JobQueue.cs:line 864
14:46:36.840 INFO MemoryTrimmer: Trimmed memory: private 304 MB → 303 MB (managed heap 1 MB) in 46 ms
Dominant language
C#
Stars
3.6k
Forks
192
Avg merge
7h 17m
Merged PRs (30d)
393

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KnifeLemon/Filee

All issues in KnifeLemon/Filee

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.