#22284: ValueError: plural forms expression could be dangerous -------------------------------+-------------------- Reporter: Haikson | Owner: nobody Type: Uncategorized | Status: new Component: Uncategorized | Version: 1.6 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------- On {{{ python manage.py collectstatic }}} raises
{{{ Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, **options.__dict__) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/core/management/base.py", line 280, in execute translation.activate('en-us') File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/__init__.py", line 130, in activate return _trans.activate(language) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/trans_real.py", line 188, in activate _active.value = translation(language) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/trans_real.py", line 177, in translation default_translation = _fetch(settings.LANGUAGE_CODE) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/trans_real.py", line 163, in _fetch res = _merge(apppath) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/trans_real.py", line 150, in _merge t = _translation(path) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/trans_real.py", line 132, in _translation t = gettext_module.translation('django', path, [loc], DjangoTranslation) File "/usr/lib64/python2.7/gettext.py", line 478, in translation t = _translations.setdefault(key, class_(fp)) File "/home/kamo/.virtualenvs/django/lib/python2.7/site- packages/django/utils/translation/trans_real.py", line 81, in __init__ gettext_module.GNUTranslations.__init__(self, *args, **kw) File "/usr/lib64/python2.7/gettext.py", line 180, in __init__ self._parse(fp) File "/usr/lib64/python2.7/gettext.py", line 315, in _parse self.plural = c2py(plural) File "/usr/lib64/python2.7/gettext.py", line 93, in c2py raise ValueError, 'plural forms expression could be dangerous' ValueError: plural forms expression could be dangerous }}} -- Ticket URL: <https://code.djangoproject.com/ticket/22284> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.35ba18729baf797b146af3fa811f9278%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.