Closed Bug 1057703 Opened 9 years ago Closed 9 years ago

treeherder-service readthedocs html build is failing


(Tree Management :: Treeherder, defect, P2)



(Not tracked)



(Reporter: emorley, Assigned: mdoglio)




(1 file)

Has been failing for several weeks:


Build Standard Error


Sphinx v1.1.3
Usage: /home/docs/checkouts/ [options] sourcedir outdir [filenames...]
Options: -b <builder> -- builder to use; default is html
         -a        -- write all files; default is to only write new and changed files
         -E        -- don't use a saved environment, always read all files
         -t <tag>  -- include "only" blocks with <tag>
         -d <path> -- path for the cached environment and doctree files
                      (default: outdir/.doctrees)
         -c <path> -- path where configuration file ( is located
                      (default: same as sourcedir)
         -C        -- use no config file at all, only -D options
         -D <setting=value> -- override a setting in configuration
         -A <name=value>    -- pass a value into the templates, for HTML builder
         -n        -- nit-picky mode, warn about all missing references
         -N        -- do not do colored output
         -q        -- no output on stdout, just warnings on stderr
         -Q        -- no output at all, not even warnings
         -w <file> -- write warnings (and errors) to given file
         -W        -- turn warnings into errors
         -P        -- run Pdb on exception
* without -a and without filenames, write new and changed files.
* with -a, write all files.
* with filenames, write these.

Environment Standard Error



Traceback (most recent call last):
  File "", line 2, in <module>
    from Cython.Build import cythonize
ImportError: No module named Cython.Build
Attached file docs.txt
There are 2 possible solutions to this:
1- add the docs requirements file in attachment to the repository and let rtd use it.
2- wrap the cython stuff in in a try/except clause
Mauro landed:

With the RTD "use virtualenv" option checked (it wasn't just now), we're using that file and successfully generating the docs. We still get the Cython exception, however it doesn't affect the docs build (or the pass/fail shown on RTD), so let's ignore it for now. (Additional options would be to use Mock as suggested by or else we could check for the presence of the READTHEDOCS env variable).
Assignee: nobody → mdoglio
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.