tfrayner/beerfestdb

delivery checklist cask size problem

Closed this issue · 0 comments

mah11 commented

The delivery checklist output has "0" in the Cask Size column for kils, firkins, and Hopshackle's 10s. For keykegs it has "20" or "30", which is OK but doesn't actually say they're keykegs (I don't particularly need it to, but if it's meant to for future-proofing or broader applicability, it ain't working).

the command was:

% dump_to_template.pl -t ~tfrayner/beerfestdb/util/templates/delivery_checklist.tt2 -o distributor > delivery.tex

and it spewed many copies of these error messages (one per product/size combination, at a guess):

Argument "30L KeyKeg" isn't numeric in sprintf at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Filters.pm line 467.
Argument "firkin" isn't numeric in sprintf at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Filters.pm line 467.
Argument "kilderkin" isn't numeric in sprintf at /usr/lib/x86_64-linux-gnu/perl5/5.20/Template/Filters.pm line 467.

output file is sitting in my home dir if it's any use

(The cask labels are fine.)