[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660137: turbogears2-doc: FTBFS: ImportError: No module named babel

Source: turbogears2-doc
Version: 2.0+svn6611-2
Severity: serious
Justification: fails to build from source

turbogears2-doc FTBFS in a minimal chroot:
| sphinx-build -b html -d _build/doctrees   . _build/html
| Running Sphinx v1.1.2
| Exception occurred:
|   File "/usr/lib/pymodules/python2.7/sphinx/cmdline.py", line 188, in main
|     warningiserror, tags)
|   File "/usr/lib/pymodules/python2.7/sphinx/application.py", line 102, in __init__
|     confoverrides or {}, self.tags)
|   File "/usr/lib/pymodules/python2.7/sphinx/config.py", line 215, in __init__
|     exec code in config
|   File "/build/turbogears2-doc-CjGwmK/turbogears2-doc-2.0+svn6611/conf.py", line 15, in <module>
|     from tg.release import version as tg_release_version
|   File "/usr/lib/pymodules/python2.7/tg/__init__.py", line 58, in <module>
|     from tg.controllers import TGController, redirect, url, lurl, abort
|   File "/usr/lib/pymodules/python2.7/tg/controllers/__init__.py", line 1, in <module>
|     from dispatcher          import ObjectDispatcher
|   File "/usr/lib/pymodules/python2.7/tg/controllers/dispatcher.py", line 24, in <module>
|     from tg.i18n import setup_i18n
|   File "/usr/lib/pymodules/python2.7/tg/i18n.py", line 5, in <module>
|     from babel import parse_locale
| ImportError: No module named babel
| The full traceback has been saved in /tmp/sphinx-err-ZIL5aj.log, if you want to report the issue to the developers.
| Please also report this if it was a user error, so that a better error message can be provided next time.
| Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
| or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
| make[1]: *** [html] Error 1

Adding python-babel to Build-Depends should fix this problem.

Jakub Wilk

Reply to: