[traceback] ValueError: plural forms expression error, maybe unbalanced parenthesis

VERIFIED FIXED in 5.12.7

Status

addons.mozilla.org Graveyard
Localization
--
major
VERIFIED FIXED
8 years ago
2 years ago

People

(Reporter: stephend, Assigned: clouserw)

Tracking

unspecified
5.12.7

Details

(URL)

(Reporter)

Description

8 years ago
https://addons.allizom.org/sl/firefox/ and https://addons-next.allizom.org/sl/firefox/ bomb out:

Traceback (most recent call last):

  File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/core/handlers/base.py", line 87, in get_response
    response = middleware_method(request)

  File "/data/amo_python/www/preview/zamboni/apps/amo/middleware.py", line 74, in process_request
    tower.activate(prefixer.locale)

  File "/data/amo_python/www/preview/zamboni/vendor/src/tower/tower/__init__.py", line 88, in activate
    django_trans._active[currentThread()] = _activate(locale)

  File "/data/amo_python/www/preview/zamboni/vendor/src/tower/tower/__init__.py", line 124, in _activate
    django_trans.DjangoTranslation)

  File "/usr/lib/python2.6/gettext.py", line 480, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))

  File "/data/amo_python/www/preview/zamboni/vendor/src/django/django/utils/translation/trans_real.py", line 70, in __init__
    gettext_module.GNUTranslations.__init__(self, *args, **kw)

  File "/usr/lib/python2.6/gettext.py", line 180, in __init__
    self._parse(fp)

  File "/usr/lib/python2.6/gettext.py", line 317, in _parse
    self.plural = c2py(plural)

  File "/usr/lib/python2.6/gettext.py", line 90, in c2py
    'plural forms expression error, maybe unbalanced parenthesis'

ValueError: plural forms expression error, maybe unbalanced parenthesis
(Assignee)

Updated

8 years ago
Assignee: nobody → clouserw
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Reporter)

Comment 1

8 years ago
Verified FIXED, thanks!
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.