{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/2753","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/2753/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/2753/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/2753/events","html_url":"https://github.com/mozilla/addons-server/issues/2753","id":156859129,"number":2753,"title":" /zh-CN/firefox is 500ing because of UnknownLocaleError: unknown locale 'zh_CN'","user":{"login":"krupa","id":301317,"avatar_url":"https://avatars.githubusercontent.com/u/301317?v=3","gravatar_id":"","url":"https://api.github.com/users/krupa","html_url":"https://github.com/krupa","followers_url":"https://api.github.com/users/krupa/followers","following_url":"https://api.github.com/users/krupa/following{/other_user}","gists_url":"https://api.github.com/users/krupa/gists{/gist_id}","starred_url":"https://api.github.com/users/krupa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krupa/subscriptions","organizations_url":"https://api.github.com/users/krupa/orgs","repos_url":"https://api.github.com/users/krupa/repos","events_url":"https://api.github.com/users/krupa/events{/privacy}","received_events_url":"https://api.github.com/users/krupa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/addons-server/labels/triaged","name":"triaged","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-25T21:53:56Z","updated_at":"2016-05-26T07:13:32Z","closed_at":null,"body":"## steps to reproduce:\r\n1. Load https://addons-dev.allizom.org/zh-CN/firefox/\r\n\r\n## sentry:\r\nhttps://sentry.prod.mozaws.net/operations/olympia-dev/issues/333961/\r\n\r\n## traceback details:\r\nUnknownLocaleError: unknown locale 'zh_CN'\r\n  File \"django/core/handlers/base.py\", line 111, in get_response\r\n    response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\n  File \"newrelic/hooks/framework_django.py\", line 499, in wrapper\r\n    return wrapped(*args, **kwargs)\r\n  File \"olympia/addons/decorators.py\", line 43, in wrapper\r\n    return f(request, addon, *args, **kw)\r\n  File \"olympia/addons/views.py\", line 102, in addon_detail\r\n    return persona_detail(request, addon)\r\n  File \"mobility/decorators.py\", line 23, in wrapper\r\n    return f(request, *args, **kw)\r\n  File \"olympia/addons/views.py\", line 223, in persona_detail\r\n    return render(request, template, data)\r\n  File \"django/shortcuts.py\", line 50, in render\r\n    return HttpResponse(loader.render_to_string(*args, **kwargs),\r\n  File \"django/template/loader.py\", line 178, in render_to_string\r\n    return t.render(context_instance)\r\n  File \"jingo/__init__.py\", line 99, in render\r\n    return super(Template, self).render(context_dict)\r\n  File \"newrelic/api/function_trace.py\", line 98, in dynamic_wrapper\r\n    return wrapped(*args, **kwargs)\r\n  File \"jinja2/environment.py\", line 989, in render\r\n    return self.environment.handle_exception(exc_info, True)\r\n  File \"jinja2/environment.py\", line 754, in handle_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/data/olympia/src/olympia/addons/templates/addons/persona_detail.html\", line 1, in top-level template code\r\n    {% extends \"base.html\" %}\r\n  File \"/data/olympia/src/olympia/../../src/olympia/templates/base.html\", line 128, in top-level template code\r\n    {% block main_content %}\r\n  File \"/data/olympia/src/olympia/../../src/olympia/templates/base.html\", line 131, in block \"main_content\"\r\n    {% block content %}{% endblock %}\r\n  File \"/data/olympia/src/olympia/addons/templates/addons/persona_detail.html\", line 25, in block \"content\"\r\n    {% include \"addons/includes/persona.html\" %}\r\n  File \"/data/olympia/src/olympia/addons/templates/addons/includes/persona.html\", line 11, in top-level template code\r\n    {% include \"addons/persona_detail_table.html\" %}\r\n  File \"/data/olympia/src/olympia/addons/templates/addons/persona_detail_table.html\", line 21, in top-level template code\r\n    <strong class=\"downloads\">{{ persona.popularity|numberfmt }}</strong>\r\n  File \"olympia/amo/helpers.py\", line 222, in numberfmt\r\n    return _get_format().decimal(num, format)\r\n  File \"olympia/amo/helpers.py\", line 217, in _get_format\r\n    return Format(utils.get_locale_from_lang(lang))\r\n  File \"olympia/amo/utils.py\", line 600, in get_locale_from_lang\r\n    return Locale(translation.to_locale(lang))\r\n  File \"babel/core.py\", line 170, in __init__\r\n    raise UnknownLocaleError(identifier)\r\n\r\nStage and prod are fine."},"comment":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/comments/221795022","html_url":"https://github.com/mozilla/addons-server/issues/2753#issuecomment-221795022","issue_url":"https://api.github.com/repos/mozilla/addons-server/issues/2753","id":221795022,"user":{"login":"ValentinaPC","id":15685960,"avatar_url":"https://avatars.githubusercontent.com/u/15685960?v=3","gravatar_id":"","url":"https://api.github.com/users/ValentinaPC","html_url":"https://github.com/ValentinaPC","followers_url":"https://api.github.com/users/ValentinaPC/followers","following_url":"https://api.github.com/users/ValentinaPC/following{/other_user}","gists_url":"https://api.github.com/users/ValentinaPC/gists{/gist_id}","starred_url":"https://api.github.com/users/ValentinaPC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ValentinaPC/subscriptions","organizations_url":"https://api.github.com/users/ValentinaPC/orgs","repos_url":"https://api.github.com/users/ValentinaPC/repos","events_url":"https://api.github.com/users/ValentinaPC/events{/privacy}","received_events_url":"https://api.github.com/users/ValentinaPC/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T07:13:31Z","updated_at":"2016-05-26T07:13:31Z","body":"This is also happening for: https://addons-dev.allizom.org/zh-TW/firefox/"}}
{"actor":{"display_login":"ValentinaPC"}}