`make html` spits an error because simplejson is not installed.
On a Cygwin environment without simplejson installed, I got the following after upgrading to Sphinx 1.0.1 (this worked previously with 1.0 dev):
sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v1.0.1 loading pickled environment... failed: env version not current Exception occurred: File "/usr/lib/python2.5/site-packages/Sphinx-1.0.1-py2.5.egg/sphinx/util/jsonimpl.py", line 42, in <module> load = json.load AttributeError: 'NoneType' object has no attribute 'load' The full traceback has been saved in /tmp/sphinx-err-F1Sjud.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: *** [html] Error 1
The issue disappears after installing simplejson with easy_install. Shouldn't there be safeguards against this, though?
Here's the content of the temp logfile:
# Sphinx version: 1.0.1 # Docutils version: 0.7 release # Jinja2 version: 2.5 Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Sphinx-1.0.1-py2.5.egg/sphinx/cmdline.py", line 172, in main warningiserror, tags) File "/usr/lib/python2.5/site-packages/Sphinx-1.0.1-py2.5.egg/sphinx/application.py", line 136, in __init__ self._init_builder(buildername) File "/usr/lib/python2.5/site-packages/Sphinx-1.0.1-py2.5.egg/sphinx/application.py", line 196, in _init_builder __import__('sphinx.builders.' + mod, None, None, [cls]), cls) File "/usr/lib/python2.5/site-packages/Sphinx-1.0.1-py2.5.egg/sphinx/builders/html.py", line 33, in <module> from sphinx.util import jsonimpl, copy_static_entry File "/usr/lib/python2.5/site-packages/Sphinx-1.0.1-py2.5.egg/sphinx/util/jsonimpl.py", line 42, in <module> load = json.load AttributeError: 'NoneType' object has no attribute 'load'