circular import failure in tip (1179:3435776fbd6f)

efiring avatarefiring created an issue

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


In [1]:import
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/ 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

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

/usr/local/lib/python2.5/site-packages/Sphinx-0.6dev_20090223-py2.5.egg/sphinx/ in <module>()
     61 from sphinx.roles import xfileref_role, innernodetypes
     62 from sphinx.config import Config
---> 63 from 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 (1)

  1. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.