I've just upgraded Sphinx to 1.3.1 and now I get the following error
when I run make:
York:Mousa Bill$ make html
sphinx-build -b html -d _build/doctrees . _build/html
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.4/bin/sphinx-build",
line 11, in <module>
sys.exit(main())
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sphinx/__init__.py",
line 51, in main
sys.exit(build_main(argv))
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sphinx/__init__.py",
line 61, in build_main
from sphinx import cmdline
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sphinx/cmdline.py",
line 14, in <module>
import optparse
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/optparse.py",
line 421, in <module>
_builtin_cvt = { "int" : (_parse_int, _("integer")),
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/gettext.py",
line 498, in gettext
return dgettext(_current_domain, message)
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/gettext.py",
line 462, in dgettext
codeset=_localecodesets.get(domain))
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/gettext.py",
line 397, in translation
mofiles = find(domain, localedir, languages, all=True)
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/gettext.py",
line 369, in find
for nelang in _expand_lang(lang):
File
"/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/gettext.py",
line 112, in _expand_lang
loc = locale.normalize(loc)
AttributeError: 'module' object has no attribute 'normalize'
make: *** [html] Error 1
I get similar errors when I other scripts e.g. virtualenv
Can anyone tell be what is going one and how I can fix it?
--
Bill Bedford
"Man is an animal suspended in webs of significance he himself has spun"
-- Clifford Geertz
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.