<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">That error is from a dynamic loader (pkg_resources) that can't find sphinx. It probably means that the python interpreter trying to do the loading doesn't actually have sphinx installed.<div><br></div><div>James</div><div><br><div><div><div>On Apr 19, 2013, at 3:58 PM, Richard Gildea wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Jan,<div><br></div><div style="">This change doesn't work for me:</div><div style=""><br></div><div style=""><div>../bin/cctbx.python /opt/local/bin/sphinx-build -b coverage -d _build/doctrees -D latex_paper_size=a4 &nbsp;. _build/coverage</div>

<div>Traceback (most recent call last):</div><div>&nbsp; File "/opt/local/bin/sphinx-build", line 5, in &lt;module&gt;</div><div>&nbsp; &nbsp; from pkg_resources import load_entry_point</div><div>&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in &lt;module&gt;</div>

<div>&nbsp; &nbsp; working_set.require(__requires__)</div><div>&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require</div><div>&nbsp; &nbsp; needed = self.resolve(parse_requirements(requirements))</div>

<div>&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve</div><div>&nbsp; &nbsp; raise DistributionNotFound(req) &nbsp;# XXX put more info here</div><div>
pkg_resources.DistributionNotFound: Sphinx==1.1.3</div>
<div>make: *** [coverage] Error 1</div><div><br></div><div style="">Cheers,</div><div style=""><br>Richard</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 April 2013 14:11, Jan Marten Simons <span dir="ltr">&lt;<a href="mailto:marten@xtal.rwth-aachen.de" target="_blank">marten@xtal.rwth-aachen.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Freitag 19 April 2013 22:37:06 schrieb James Stroud:<br>
<div class="im">&gt; On Apr 19, 2013, at 2:09 PM, Richard Gildea wrote:<br>
&gt; &gt; Hi Jan,<br>
&gt; &gt;<br>
&gt; &gt; I think the cause of the incomplete documentation is down to the fact<br>
&gt; &gt; that when I run build_docs.sh I get a whole bunch of import errors for<br>
&gt; &gt; every compiled module that it tries to import. I am at a bit of a loss<br>
&gt; &gt; as to why this should be the case, as running the tests or importing<br>
&gt; &gt; modules at the command line works just fine. I have built cctbx using<br>
&gt; &gt; the system python (2.7.2) on mac os x (mountain lion).<br>
&gt;<br>
&gt; It looks like sphinx-build is not using cctbx.python, so it has no idea<br>
&gt; from where to import the python modules. Try this<br>
<br>
</div>I've modified the Makefile for sphinx so it should try to use cctbx.python as<br>
interpreter.<br>
<br>
Hopefully this also works on macosX.<br>
<br>
Cheers,<br>
Jan<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</div></div></blockquote></div><br></div>
_______________________________________________<br>cctbxbb mailing list<br><a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>http://phenix-online.org/mailman/listinfo/cctbxbb<br></blockquote></div><br></div></div></body></html>