sphinx-doc / sphinx-autobuild

Watch a Sphinx directory and rebuild the documentation when a change is detected. Also includes a hot-reload web server.
MIT License
524 stars 75 forks source link

sphinx-autobuild can't find the correct resources directory #37

Closed sstevson closed 8 years ago

sstevson commented 8 years ago

Background: I'm working on an RTFM project and was able to run sphinx-autobuild until just recently.

Specific issue: When running make livehtml on Mac OS X 10.11.1, I now throw the following error:

-bash: /usr/local/bin/sphinx-autobuild: /usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/Resour: bad interpreter: No such file or directory

Which is likely the result of my upgrading to python 2.7.10 and running brew clean a few days ago in an attempt to reclaim some disk space. As far as I can tell, sphinx-autobuild is the only program that's been affected.

I've tried reinstalling sphinx, as well as the version of python I manage with brew but to no avail. I've also done a decent amount of searching online but I can't seem to pinpoint where the old and incomplete variable is being held.

Any help would be appreciated.

thx

sstevson commented 8 years ago

Update...

I restored the python 2.7.6 install from a TimeMachine backup and am able to build again. Seems like the issue is indeed related to the python upgrade + brew clean operation.