Bug 21894 - Upgrade to 18.11.00 fails because of translation problems
Summary: Upgrade to 18.11.00 fails because of translation problems
Status: RESOLVED DUPLICATE of bug 21895
Alias: None
Product: Koha
Classification: Unclassified
Component: I18N/L10N (show other bugs)
Version: master
Hardware: All All
: P5 - low blocker (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-27 20:31 UTC by Mirko Tietgen
Modified: 2018-11-27 20:44 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***