Bug 39208 - printoverdues.sh requires unavailable cli tool xhtml2pdf
Summary: printoverdues.sh requires unavailable cli tool xhtml2pdf
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-27 11:46 UTC by Alexander Wagner
Modified: 2025-02-27 12:11 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wagner 2025-02-27 11:46:16 UTC
`printoverdues.sh` relies on `xhtml2pdf` for the conversion of a HTML document to a printable PDF version of said document.

At time of writing, this tool dropped out of Debian (bookworm) and Ubuntu stable and sometimes older releases including backports and the like. Debian oldstable still keeps it, but no upstream releases beyond.

This may endanger the functionality in Koha upstream.

Possible solutions:

- Manual installation outside the package management (and bugfixing) of the distribution via `pip`. That would also require a suitable documentation.
- Use an alternative tool chain within the distributions (e.g. pandoc, if heading for a swiss army knife of format transformations. For PDF pandoc would require latex as "helper").

Note that `printoverdues.sh` is referred to explicitly in the implementation checklist.