[Koha] koha-z3950-responder can't locate perl5db.pl
Bloovis
marka at bloovis.com
Thu Sep 25 23:59:50 NZST 2025
Excerpts from Mark Alexander's message of 2025-09-25 02:37:17 UTC:
> <z3950_responder_options>\-\-add-item-status k -t 5</z3950_responder_options>
I'm a double idiot. I neglected to remove the backslashes from this line.
Things like this remind me of why I dislike XML as a user-editable config language,
but we're stuck with it in Koha.
For fun, I modified the koha-z3950-responder script to remove the backslashes with sed,
to guard against stupid mistakes like mine, but I don't know if this would be a good idea
in the long run. There's probably some reason why somebody might want to pass backslashes
to the underlying Perl script (z3950_responder.pl).
Z950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' "$CONFIGDIR/config.xml" | sed -e 's/\\//g' || true )"
--
Fundamentally, there may be no basis for anything. --Ashleigh Brilliant
More information about the Koha
mailing list