Closed
Bug 800329
Opened 12 years ago
Closed 12 years ago
multiple locales don't build properly on win32, empty values break
Categories
(Firefox :: Installer, defect)
Tracking
()
RESOLVED
FIXED
mozilla19
People
(Reporter: bhearsum, Assigned: Pike)
Details
Attachments
(1 file)
604 bytes,
patch
|
ted
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We got the following error when trying to build it: Traceback (most recent call last): File "e:/builds/moz2_slave/rel-m-beta-w32-rpk-4/mozilla-beta/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py", line 321, in <module> preprocess_locale_files(config_dir, l10n_dirs) File "e:/builds/moz2_slave/rel-m-beta-w32-rpk-4/mozilla-beta/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py", line 110, in preprocess_locale_files True) File "e:/builds/moz2_slave/rel-m-beta-w32-rpk-4/mozilla-beta/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py", line 48, in get_locale_strings if value[-1] == "\"" and value[0] == "\"": IndexError: string index out of range make[2]: *** [l10ngen/setup.exe] Error 1 make[1]: *** [repackage-win32-installer] Error 2 make: *** [repackage-win32-installer-km] Error 2
Assignee | ||
Comment 1•12 years ago
|
||
ok, this happens when a value is empty. This will affect more than just one locale, I assume (at least hy-AM is on my list of candidates, too). I suggest we patch this in preprocess-locale.py, and make that bullet-proof.
Component: Localization → NSIS Installer
Product: Core → Toolkit
Version: unspecified → 17 Branch
Assignee | ||
Comment 2•12 years ago
|
||
This patch applies to mozilla-beta, we should back-port it to aurora and central. Taking ted as reviewer, as he's reviewing code there before.
Assignee | ||
Comment 3•12 years ago
|
||
PS: This has been the case since the initial port of preprocess-locale from perl to python, but only recently got triggered by some locales having empty strings in the installer .properties files. Notably, that's in narro exports, AFAICT. Either way, we should make the python script bullet proof, IMHO.
Summary: km didn't build properly for Firefox 17.0b1 win32 → multiple locales donn't build properly on win32, empty values break
Updated•12 years ago
|
Attachment #670370 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
tracking-firefox17:
--- → +
tracking-firefox18:
--- → +
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/057589f16a3a
Flags: in-testsuite-
Keywords: checkin-needed
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/057589f16a3a
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Comment 6•12 years ago
|
||
Comment on attachment 670370 [details] [diff] [review] check for value before checking its contents [Triage Comment] We need this on Beta and Aurora too - Axel's away can someone check this in today please so it's in tomorrow's Beta build?
Attachment #670370 -
Flags: approval-mozilla-beta+
Attachment #670370 -
Flags: approval-mozilla-aurora+
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
status-firefox17:
--- → affected
status-firefox18:
--- → affected
Comment 7•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/c9f397f91cce
Keywords: checkin-needed
Comment 9•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/1796bbed0299
Keywords: checkin-needed
Updated•12 years ago
|
Summary: multiple locales donn't build properly on win32, empty values break → multiple locales don't build properly on win32, empty values break
Updated•9 months ago
|
Component: NSIS Installer → Installer
Product: Toolkit → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•