[Koha-bugs] [Bug 2461] New: tmpl_process3.pl fails on single input file

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Mon Aug 4 21:50:17 CEST 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2461

           Summary: tmpl_process3.pl fails on single input file
           Product: Koha
           Version: HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: I18N/L10N
        AssignedTo: jmf at liblime.com
        ReportedBy: joe.atzberger at liblime.com
         QAContact: koha-bugs at lists.koha.org


tmpl_process3.pl --help claims to support a single input file or a directory as
--input.  But only the latter works:

atz at arwen:~/koha/production/koha$ perl -I misc/translator
misc/translator/tmpl_process3.pl --input=./tmp/in -o=./tmp/out
-s=misc/translator/po/fr-FR-i-staff-t-prog-v-3000000.po install
Charset in/out: UTF-8 at misc/translator/tmpl_process3.pl line 257.
Creating ./tmp/out/fake.tmpl...
The install seems to be successful.
atz at arwen:~/koha/production/koha$ perl -I misc/translator
misc/translator/tmpl_process3.pl --input=./tmp/in/fake.tmpl -o=./tmp/out
-s=misc/translator/po/fr-FR-i-staff-t-prog-v-3000000.po install
Charset in/out: UTF-8 at misc/translator/tmpl_process3.pl line 257.
Assertion failed. at misc/translator/tmpl_process3.pl line 374.

In this example, I only have one file (fake.tmpl) in tmp/in anyway.  But if I
specify the filename and not it's parent dir, I get the "Assertion failed"
error.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list