New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 777261 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

factory: Goofy UI translations disappear after pytest RebootStep

Project Member Reported by youcheng@chromium.org, Oct 23 2017

Issue description

version: ToT

What steps will reproduce the problem?
(1) Run RebootStep

What is the expected result?
Be able to choose UI language from/to English/Chinese

What happens instead?
Only English remaining, language toggle button disappeared.

P.S. Only the first connection to Goofy has this problem.
If you refresh Chrome with Ctrl+R or F5, the Chinese option will come back.

I found these in /var/factory/log/factory.log:
[WARNING] goofy goofy_server.py:129 2017-10-19 07:17:30.687 File not found: /usr/local/factory/py_pkg/cros/factory/goofy/static/css/i18n.css
[WARNING] goofy goofy_server.py:129 2017-10-19 07:17:30.778 File not found: /usr/local/factory/py_pkg/cros/factory/goofy/static/js/goofy-translations.js

The handlers of these two URLs should be added by function init_i18n in goofy.py.
 
factory.log
84.4 KB View Download

Comment 1 by pihsun@chromium.org, Oct 23 2017

Status: Fixed (was: Assigned)
Should have been solved by http://crosreview.com/727603.
Status: Verified (was: Fixed)

Sign in to add a comment