Skip to content

Runtime TypeError in PDF fill orchestration (Fill call/signature mismatch) #226

@Aryama-srivastav

Description

@Aryama-srivastav

name: 🐛 Bug Report
about: Create a report to help us improve FireForm.
title: "[BUG]: Runtime TypeError in PDF fill orchestration"
labels: bug
assignees: @Aryama-srivastav

⚡️ Describe the Bug

run_pdf_fill_process in src/main.py calls Fill with a constructor argument (user_input=...) even though Fill.__init__ in src/backend.py does not accept that argument. This causes a runtime TypeError and stops the PDF generation workflow.

👣 Steps to Reproduce

  1. Start the project environment (Docker or local Python setup).
  2. Run the PDF fill flow through run_pdf_fill_process(...) (for example via src/main.py or run_fireform.py).
  3. Provide any valid user_input, definitions, and existing PDF path.
  4. Observe the runtime error before the form is filled.

📉 Expected Behavior

The orchestration should call the fill logic using a valid interface, complete extraction/filling, and return the output PDF path without raising a constructor/signature TypeError.

🖥️ Environment Information

  • OS: (e.g. Ubuntu 22.04, macOS M2, Windows 11)
  • Docker/Compose Version: (output of docker --version and docker compose version)
  • Ollama Model used: (e.g. mistral / Mistral-7B)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions