Bill Bedford
unread,Aug 30, 2015, 5:39:57 AM8/30/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx...@googlegroups.com
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