← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1379054] Re: run_tests.sh --makemessages is broken

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1379054

Title:
  run_tests.sh --makemessages is broken

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  [stack@gloria-stack:/home/stack/horizon]↥ master+ ± ./run_tests.sh --makemessages
  Checking environment.
  Environment is up to date.
  horizon: processing locale en
  horizon javascript: processing locale en
  openstack_dashboard: Traceback (most recent call last):
    File "/home/stack/horizon/manage.py", line 23, in <module>
      execute_from_command_line(sys.argv)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
      utility.execute()
    File "/home/stack/horizon/.venv/local/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/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
      self.execute(*args, **options.__dict__)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
      output = self.handle(*args, **options)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
      return self.handle_noargs(**options)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/commands/makemessages.py", line 262, in handle_noargs
      potfile = self.build_pot_file(localedir)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/commands/makemessages.py", line 294, in build_pot_file
      f.process(self, potfile, self.domain, self.keep_pot)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/core/management/commands/makemessages.py", line 96, in process
      content = templatize(src_data, orig_file[2:])
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 172, in templatize
      return _trans.templatize(src, origin)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 559, in templatize
      raise SyntaxError("Translation blocks must not include other block tags: %s (%sline %d)" % (t.contents, filemsg, t.lineno))
  SyntaxError: Translation blocks must not include other block tags: autoescape off (file dashboards/project/data_processing/clusters/templates/data_processing.clusters/_details.html, line 86)

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1379054/+subscriptions


References