-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 14.11.2010 20:41, schrieb Guenter Milde: > 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"...
It happens on import time. >> 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. It should work now with 1a6f1a9be239. Georg (Still pending: porting to docutils' latest latex writer.) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk0kpSwACgkQN9GcIYhpnLBCUACfcFWLiaEx9rcQbnUjcUjq9XIp QZYAni3Ndc1K0FcswuDspRsMuaQ7uJX0 =XQ1p -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.