On 06/03/2011 07:21 AM, Benjamin Root wrote: > P.S. : As an interesting aside to what caused me to find this mistake... > My docs were still not building correctly, although now that the v1.0.x > branch is fixed, it didn't have the multiprocessing trick that is in > master. Therefore, when the error occurred, a message was able to be > printed to my screen, which allows me to trace it down. > > What happens is that eventually, the python debugger is fired off by > sphinx. If possible, it would probably be wise to disable this behavior
Ben, So this part of the problem sounds like a bad design in sphinx, correct? Do you know whether it is present in the current version of sphinx? If so, you might send the sphinx people a bug report. My suspicion is that the triggering of pdb was intended to be temporary (or at least optional), but got left in the sphinx code by mistake--if that is indeed where the fault lies. Eric > as it makes no sense for doc-building. What triggers the startup of pdb > is that the copying of simple_axes_divider2.py fails at line 403 of > plot_directive.py, in _plot_directive(). This failure, however, is > actually not the first error, as the first one gets swallowed by a > try...finally statement at line 230, in run_code() of the same file. > > Because of the removal of the .py files as noted above, I only had .pyc > files in that directory, which lead to the build system thinking that > there was content to build. I see these assumptions as being > problematic, and should probably be rethought in the future. > ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel