Closed
Bug 1191323
Opened 9 years ago
Closed 9 years ago
Lots of l10n spam in device image and emulator builds
Categories
(Firefox OS Graveyard :: Gaia::L10n, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: RyanVM, Assigned: zbraniecki)
Details
Attachments
(1 file)
511 bytes,
patch
|
stas
:
review+
|
Details | Diff | Splinter Review |
AFAICT, it's harmless, but it's really annoying because it obscures real problems due to the spamminess of it.
https://treeherder.mozilla.org/logviewer.html#?job_id=1951325&repo=mozilla-central
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/conversation/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/views/inbox/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/sms/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://sms.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
[/build_stage/email/index.html] [l10n] TypeError: ast[pos][attr].$v is undefined (app://email.gaiamobile.org)
Flags: needinfo?(theo)
Reporter | ||
Comment 2•9 years ago
|
||
Sorry, harmless as in not fatal to the build.
Assignee | ||
Comment 4•9 years ago
|
||
So, this is a weird scenario that happens only when l10n .properties file has a hash value without an index. I don't know why our tools don't catch it...
or they do, but they don't do anything about it.
Example from: http://hg.mozilla.org/gaia-l10n/bn-BD/file/1d7e5fe08128/apps/sms/sms.properties#l134
#LOCALIZATION NOTE (fdnErrorBody): the English translation does not need the
# actual number of phone numbers. If your translation needs it, you can still add it
# using the parameter {{ n }}. Also take into account that you could add HTML so be
# careful with the content, it may affect to the whole app.
fdnErrorBody.innerHTML[one] = FDN (ফিক্সড ডায়ালিং নম্বর) সক্রিয় করা আছে। এসএমএস সেন্টার এবং নিম্নলিখিত প্রাপক আপনার FDN তালিকায় আছে কিনা নিশ্চিত করুন:
fdnErrorBody.innerHTML[two] = FDN (ফিক্সড ডায়ালিং নম্বর) সক্রিয় করা আছে। এসএমএস সেন্টার এবং নিম্নলিখিত প্রাপক আপনার FDN তালিকায় আছে কিনা নিশ্চিত করুন:
fdnErrorBody.innerHTML[few] = FDN (ফিক্সড ডায়ালিং নম্বর) সক্রিয় করা আছে। এসএমএস সেন্টার এবং নিম্নলিখিত প্রাপক আপনার FDN তালিকায় আছে কিনা নিশ্চিত করুন:
fdnErrorBody.innerHTML[many] = FDN (ফিক্সড ডায়ালিং নম্বর) সক্রিয় করা আছে। এসএমএস সেন্টার এবং নিম্নলিখিত প্রাপক আপনার FDN তালিকায় আছে কিনা নিশ্চিত করুন:
fdnErrorBody.innerHTML[other] = FDN (ফিক্সড ডায়ালিং নম্বর) সক্রিয় করা আছে। এসএমএস সেন্টার এবং নিম্নলিখিত প্রাপক আপনার FDN তালিকায় আছে কিনা নিশ্চিত করুন:
This patch fixes how the parser handles this scenario, but it will still not work in production.
Since the file comes from Pootle, I'm CCing Dwayne. And since our compare-locales should yell, CC'ing Pike.
Comment 5•9 years ago
|
||
compare-locales tells, but that doesn't have any impact on anything in practice here. https://l10n.mozilla.org/dashboard/compare?run=510974 shows that fdnErrorBody.innerHTML is missing.
Flags: needinfo?(l10n)
Updated•9 years ago
|
Attachment #8643776 -
Flags: review?(stas) → review+
Assignee | ||
Comment 6•9 years ago
|
||
Commit: https://github.com/l20n/l20n.js/commit/ba40882bd075cae8f1e0a788ca3dc558dd631847
Leaving it open waiting for Dwayne's response
Comment 7•9 years ago
|
||
Pootle isn't doing anything fancy on the unit. So this error would occur if:
1) The hashless entity is untranslated - in which case we remove it from output
2) en-US didn't have the entity - in which case we don't pick it up
And it seems 1) is the guilty party here http://mozilla.locamotion.org/bn_BD/firefoxos/translate/apps/sms/sms.properties.po#unit=17540659 (for now).
Flags: needinfo?(dwayne)
Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•9 years ago
|
||
Does something need to be uplifted to Gaia in order to see the results of the fix you landed? Still seeing these errors in recent builds.
Flags: needinfo?(gandalf)
Assignee | ||
Comment 9•9 years ago
|
||
Yes. We need to uplift the l20n.js in master.
Stas, do you plan any uplift soon? If not, I can do this.
Flags: needinfo?(gandalf) → needinfo?(stas)
Comment 10•9 years ago
|
||
I filed bug 1193766 to update l20n.js in Gaia master.
Flags: needinfo?(stas)
Comment 11•9 years ago
|
||
The errors should be gone now. Let me know if there are any other problems!
You need to log in
before you can comment on or make changes to this bug.
Description
•