← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1486139] [NEW] docs translation import errors

 

Public bug reported:

When building docs, there are a ton of errors in this format:

AppRegistryNotReady: The translation infrastructure cannot be
initialized before the apps registry is ready. Check that you don't make
non-lazy gettext calls at import time.

Starting in Django 1.7, standalone scripts, such as a sphinx build require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts

This should be added to the horizon/docs/source/conf.py

Doing so eliminates the errors.

** Affects: horizon
     Importance: Medium
     Assignee: David Lyle (david-lyle)
         Status: In Progress


** Tags: documentation

-- 
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/1486139

Title:
  docs translation import errors

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  When building docs, there are a ton of errors in this format:

  AppRegistryNotReady: The translation infrastructure cannot be
  initialized before the apps registry is ready. Check that you don't
  make non-lazy gettext calls at import time.

  Starting in Django 1.7, standalone scripts, such as a sphinx build require that django.setup() be called first. See:
  https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts

  This should be added to the horizon/docs/source/conf.py

  Doing so eliminates the errors.

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


Follow ups