Issues

Issue #109 resolved

circular import failure in tip (1179:3435776fbd6f)

Eric Firing
created an issue

I tried to use sphinx tip to build the numpy docs; it fails because of a circular import involving sphinx.builders. Below is the traceback when I try to import sphinx.builders directly from ipython.

Eric

{{{ In [1]:import sphinx.builders


ImportError Traceback (most recent call last)

/home/efiring/programs/py/numpy_svn/trunk/doc/<ipython console> in <module>()

/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090223-py2.5.egg/sphinx/builders/init.py in <module>() 18 from sphinx import package_dir, locale 19 from sphinx.util import SEP, relative_uri ---> 20 from sphinx.environment import BuildEnvironment 21 from sphinx.util.console import bold, purple, darkgreen 22

/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090223-py2.5.egg/sphinx/environment.py in <module>() 48 docname_join, FilenameUniqDict, url_re 49 from sphinx.directives import additional_xref_types ---> 50 from sphinx.application import SphinxError 51 52 default_settings = {

/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090223-py2.5.egg/sphinx/application.py in <module>() 61 from sphinx.roles import xfileref_role, innernodetypes 62 from sphinx.config import Config ---> 63 from sphinx.builders import BUILTIN_BUILDERS 64 from sphinx.directives import GenericDesc, Target, additional_xref_types 65 from sphinx.environment import SphinxStandaloneReader

ImportError: cannot import name BUILTIN_BUILDERS

}}}

Comments (2)

  1. Log in to comment