Skip to content

Convert PDF to CSV error via LibreOffice #561

@Trivedi29

Description

@Trivedi29

Describe the bug
When converting a PDF to CSV using LibreOffice, the conversion fails with the error "no export filter for [file path] found, aborting." The output CSV file is not created, resulting in an ENOENT: no such file or directory error when the application tries to access it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'ConvertX webUI'
  2. Upload a PDF file.
  3. Search for "csv by libreoffice" as the output format and start the conversion
  4. See error in the logs: "Error: no export filter for /app/data/output/1/4/Statement_042026_9614.csv found, aborting. Error: no export filter Converted ./data/uploads/1/4/Statement_042026_9614.pdf from pdf to csv successfully using libreoffice. Done" (This error was copied from Dozzle).

Not just pdf to csv, there are a few more too that are not working with libreoffice in particular but works the same conversation with other converters such as pdf to docx did not work with libreoffice but works with other converters.

Checklist:

  • I am accessing ConvertX over HTTPS or have HTTP_ALLOWED=true

My Docker Compose file

services:
  convertx:
    image: ghcr.io/c4illin/convertx
    container_name: convertx
    # restart: unless-stopped
    ports:
      - "8079:3000"
    environment:
      # 🔐 Security: Always set a strong secret in production
      - JWT_SECRET=*A*J*P*****t*88*i8*28i**F**O*/*f*q*n8*K*F***W*w*0*5*E*L**V*f*K*0**e***=8
      # 🧑‍💻 Local dev: Allow HTTP access (only for local use)
      - HTTP_ALLOWED=true

      # 🔒 Production: Uncomment to disable unauthenticated access
      # - ALLOW_UNAUTHENTICATED=false

      # 🆕 Account control: Enable registration (set to false after first user)
      # - ACCOUNT_REGISTRATION=true

      # 🗑️ Auto-cleanup: Delete files older than 24 hours
      # - AUTO_DELETE_EVERY_N_HOURS=24

      # 🌍 Timezone: Set to your local timezone
      - TZ=America/Chicago

      # 🖼️ Optional: Enable hardware acceleration (uncomment if GPU available)
      - FFMPEG_ARGS=-hwaccel cuda
      - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
      - NVIDIA_VISIBLE_DEVICES=all

      # 📁 Optional: Set web root path (e.g., /convertx)
      # - WEBROOT=/convertx

      # 📊 Optional: Hide history tab in UI
      - HIDE_HISTORY=false

    volumes:
      - ./data:/app/data

    # Optional: Limit resources and/or pass GPU devices if running on low-end hardware or wnat hardware acceleration.
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
        # limits:
        #   memory: 4G
        #   cpus: '2.0'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions