On 2010-11-11, dkuhlman wrote:
> I use Docutils from the SVN repository and Sphinx from the Mercurial
> repository.

> When building docs with "make html", I got this exception:

> # =======================================
> Exception occurred:
>   File "/home/dkuhlman/a1/Python/Sphinx/Hg/sphinx/sphinx/writers/
> latex.py", line 105, in ExtBabel
>     _ISO639_TO_BABEL = Babel._ISO639_TO_BABEL.copy()
> AttributeError: type object 'Babel' has no attribute
> '_ISO639_TO_BABEL'
> The full traceback has been saved in /tmp/sphinx-err-T6v6zQ.log, if
> you want to report the issue to the developers.
> # =======================================

Strange to find an exception in the latex writer with "make html"...

> Apparently the name has changed in docutils/docutils/writers/latex2e/
> __init__.py.  I believe it changed from "_ISO639_TO_BABEL" to
> "language_codes".  But, I'm not too sure.  

This is correct.
(There has been a major refactoring of the Babel class in connection
with the adding of a XeTeX writer.)

> Has this already been picked up?

Apparently not.


Günter

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to