Can't build documentation on trunk

Bug #462839 reported by Jörgen Stenarson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Fix Committed
Undecided
Unassigned

Bug Description

The build process crashes when optional dependencies are not installed.

This is a problem with pexpect because it does not work on windows.

I'm running rev 1216. python 2.6 on windows xp

/Jörgen

Running Sphinx v0.6.3
No builder selected, using default: html
loading pickled environment... not found
building [html]: targets for 163 source files that are out of date
updating environment: 163 added, 0 changed, 0 removed
reading sources... [ 0%] about/credits
reading sources... [ 1%] about/history
reading sources... [ 1%] about/index
reading sources... [ 2%] about/license_and_copyright
reading sources... [ 3%] api/generated/IPython.Shell
reading sources... [ 3%] api/generated/IPython.config.api
reading sources... [ 4%] api/generated/IPython.config.loader
reading sources... [ 4%] api/generated/IPython.core.alias
reading sources... [ 5%] api/generated/IPython.core.application
reading sources... [ 6%] api/generated/IPython.core.autocall
reading sources... [ 6%] api/generated/IPython.core.builtin_trap
reading sources... [ 7%] api/generated/IPython.core.completer
reading sources... [ 7%] api/generated/IPython.core.component
reading sources... [ 8%] api/generated/IPython.core.crashhandler
reading sources... [ 9%] api/generated/IPython.core.debugger
reading sources... [ 9%] api/generated/IPython.core.display_trap
reading sources... [ 10%] api/generated/IPython.core.embed
reading sources... [ 11%] api/generated/IPython.core.error
reading sources... [ 11%] api/generated/IPython.core.excolors
reading sources... [ 12%] api/generated/IPython.core.history
reading sources... [ 12%] api/generated/IPython.core.hooks
reading sources... [ 13%] api/generated/IPython.core.ipapi
reading sources... [ 14%] api/generated/IPython.core.ipapp
reading sources... [ 14%] api/generated/IPython.core.iplib
reading sources... [ 15%] api/generated/IPython.core.logger
reading sources... [ 15%] api/generated/IPython.core.macro
reading sources... [ 16%] api/generated/IPython.core.magic
reading sources... [ 17%] api/generated/IPython.core.oinspect
reading sources... [ 17%] api/generated/IPython.core.oldusersetup
reading sources... [ 18%] api/generated/IPython.core.outputtrap
reading sources... [ 19%] api/generated/IPython.core.page
reading sources... [ 19%] api/generated/IPython.core.prefilter
reading sources... [ 20%] api/generated/IPython.core.prompts
reading sources... [ 20%] api/generated/IPython.core.quitter
reading sources... [ 21%] api/generated/IPython.core.splitinput
reading sources... [ 22%] api/generated/IPython.core.ultratb
reading sources... [ 22%] api/generated/IPython.kernel.client
reading sources... [ 23%] api/generated/IPython.kernel.clientconnector
c:\python\external\ipython-trunk\IPython\Shell.py:31: DeprecationWarning:
This module (IPython.Shell) is deprecated. The classes that were in this
module have been replaced by:

IPShell->IPython.core.iplib.InteractiveShell
IPShellEmbed->IPython.core.embed.InteractiveShellEmbed

Please migrate your code to use these classes instead.

  warn(msg, category=DeprecationWarning, stacklevel=1)
C:\python\external\ipython-trunk\docs\sphinxext\docscrape.py:117: UserWarning: Unknown section Options
  warn("Unknown section %s" % key)

Exception occurred:
  File "C:\python\external\ipython-trunk\docs\sphinxext\inheritance_diagram.py", line 107, in _import_class_or_module
    "Could not import class or module '%s' specified for inheritance diagram" % name)
ValueError: Could not import class or module 'IPython.kernel.clientconnector' specified for inheritance diagram
The full traceback has been saved in c:\docume~1\jstenar\lokala~1\temp\sphinx-err-esrza_.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to <email address hidden>. Thanks!

Revision history for this message
Fernando Perez (fdo.perez) wrote :

Jorgen, I've added an explicit check for pexpect so it should be OK now.

It's still true that you need to have the other dependencies installed (like twisted), because unfortunately that's how sphinx works. But now they should build for you, please let me know otherwise.

Pushed in r1251.

Changed in ipython:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.