[Bug 2461] New: tmpl_process3.pl fails on single input file
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@liblime.com ReportedBy: joe.atzberger@liblime.com QAContact: koha-bugs@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@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@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.
participants (1)
-
bugzilla-daemon@pippin.metavore.com