Source: cvxopt
Version: 1.1.2-1
Severity: important

Hello,

When rebuilt with python-sphinx 1.0.5-1 (available in experimental), cvxopt
failed to build. Here are the relevant parts of the build log:

[…]
| make[1]: Entering directory 
`/build/sbuild-cvxopt_1.1.2-1-i386-FcZizp/cvxopt-1.1.2/doc'
| mkdir -p build/latex build/doctrees
| sphinx-build -b latex -d build/doctrees   source build/latex
| Running Sphinx v1.0.5
| loading pickled environment... not yet created
| building [latex]: all documents
| updating environment: 13 added, 0 changed, 0 removed
| reading sources... [  7%] blas
| reading sources... [ 15%] c-api
| reading sources... [ 23%] coneprog
| reading sources... [ 30%] copyright
| reading sources... [ 38%] fftw
| reading sources... [ 46%] index
| reading sources... [ 53%] intro
| reading sources... [ 61%] lapack
| reading sources... [ 69%] matrices
| reading sources... [ 76%] modeling
| reading sources... [ 84%] printing
| reading sources... [ 92%] solvers
| reading sources... [100%] spsolvers
| /build/sbuild-cvxopt_1.1.2-1-i386-FcZizp/cvxopt-1.1.2/doc/source/c-api.rst:: 
WARNING: using old C markup; please migrate to new-style markup (e.g. 
c:function instead of cfunction), see http://sphinx.pocoo.org/domains.html
| | /build/sbuild-cvxopt_1.1.2-1-i386-FcZizp/cvxopt-1.1.2/doc/source/modeling.rst:622: WARNING: duplicate object description of tofile, other instance in /build/sbuild-cvxopt_1.1.2-1-i386-FcZizp/cvxopt-1.1.2/doc/source/matrices.rst, use :noindex: for one of them
| 
/build/sbuild-cvxopt_1.1.2-1-i386-FcZizp/cvxopt-1.1.2/doc/source/modeling.rst:629:
 WARNING: duplicate object description of fromfile, other instance in 
/build/sbuild-cvxopt_1.1.2-1-i386-FcZizp/cvxopt-1.1.2/doc/source/matrices.rst, 
use :noindex: for one of them
| looking for now-outdated files... none found
| pickling environment... done
| checking consistency... done
| processing CVXOPT.tex... index copyright intro matrices blas lapack fftw spsolvers coneprog solvers modeling c-api printing | resolving references... | | Exception occurred:
|   File "/usr/lib/pymodules/python2.6/sphinx/domains/python.py", line 649, in 
<genexpr>
|     ', '.join(match[0] for match in matches)),
| TypeError: 'NoneType' object is unsubscriptable
| The full traceback has been saved in /tmp/sphinx-err-Pa7ibt.log, if you want 
to report the issue to the developers.
| Please also report this if it was a user error, so that a better error 
message can be provided next time.
| Either send bugs to the mailing list at 
<http://groups.google.com/group/sphinx-dev/>,
| or report them in the tracker at 
<http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
| make[1]: *** [latex] Error 1

The full traceback was:

| # Sphinx version: 1.0.5
| # Python version: 2.6.6
| # Docutils version: 0.7 release
| # Jinja2 version: 2.5.5
| Traceback (most recent call last):
|   File "/usr/lib/pymodules/python2.6/sphinx/cmdline.py", line 173, in main
|     app.build(force_all, filenames)
|   File "/usr/lib/pymodules/python2.6/sphinx/application.py", line 207, in 
build
|     self.builder.build_update()
|   File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 193, 
in build_update
|     self.build(['__all__'], to_build)
|   File "/usr/lib/pymodules/python2.6/sphinx/builders/__init__.py", line 254, 
in build
|     self.write(docnames, list(updated_docnames), method)
|   File "/usr/lib/pymodules/python2.6/sphinx/builders/latex.py", line 100, in 
write
|     self.config.latex_appendices or []))
|   File "/usr/lib/pymodules/python2.6/sphinx/builders/latex.py", line 136, in 
assemble_doctree
|     self.env.resolve_references(largetree, indexfile, self)
|   File "/usr/lib/pymodules/python2.6/sphinx/environment.py", line 1310, in 
resolve_references
|     typ, target, node, contnode)
|   File "/usr/lib/pymodules/python2.6/sphinx/domains/python.py", line 649, in 
resolve_xref
|     ', '.join(match[0] for match in matches)),
|   File "/usr/lib/pymodules/python2.6/sphinx/domains/python.py", line 649, in 
<genexpr>
|     ', '.join(match[0] for match in matches)),
| TypeError: 'NoneType' object is unsubscriptable

If you believe that this failure is caused by a bug in python-sphinx, feel free
to reassign the bug.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to