Bug 21894

Summary: Upgrade to 18.11.00 fails because of translation problems
Product: Koha Reporter: Mirko Tietgen <mirko>
Component: I18N/L10NAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: blocker    
Priority: P5 - low CC: f.demians
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Mirko Tietgen 2018-11-27 20:31:53 UTC
On upgrade of a package installation to 18.11.00, there are several errors related to translations.


Use of uninitialized value $pref_name in concatenation (.) or string at /usr/share/koha/misc/translator/LangInstaller.pm line 196.
Use of uninitialized value $pref_name in concatenation (.) or string at /usr/share/koha/misc/translator/LangInstaller.pm line 238.
Can't stat /usr/share/koha/intranet/cgi-bin/koha-tmpl: No such file or directory
 at /usr/share/koha/misc/translator/LangInstaller.pm line 633.
/usr/bin/msginit: error while opening "Koha.pot" for reading: No such file or directory
/bin/sed: can't read /usr/share/koha/misc/translator/po/de-DE-messages.po: No such file or directory
/usr/bin/msgfmt: error while opening "/usr/share/koha/misc/translator/po/de-DE-messages.po" for reading: No such file or directory
Updated the de-DE translations.
find: invalid expression; you have used a binary operator '-or' with nothing before it.
W: APT had planned for dpkg to do more than it reported back (0 vs 4).
   Affected packages: koha-common:amd64


Bugs related are probably 15395 and 21823

/usr/share/koha/intranet/cgi-bin/koha-tmpl appears to be a dev path not working for regular installations (/usr/share/koha/misc/translator/LangInstaller.pm line 633.)

New files are not created (Koha.pot, de-DE-messages.po)
Comment 1 Mirko Tietgen 2018-11-27 20:44:08 UTC

*** This bug has been marked as a duplicate of bug 21895 ***