#14626: Docbuilder hangs if latex fails
------------------------------------------------------------------+---------
Reporter: jdemeyer |
Owner: mvngu
Type: defect |
Status: needs_review
Priority: blocker |
Milestone: sage-5.10
Component: documentation |
Resolution:
Keywords: | Work
issues:
Report Upstream: Reported upstream. Developers acknowledge bug. |
Reviewers:
Authors: Jeroen Demeyer | Merged
in:
Dependencies: |
Stopgaps:
------------------------------------------------------------------+---------
Changes (by jdemeyer):
* upstream: N/A => Reported upstream. Developers acknowledge bug.
Old description:
> When building the PDF documentation, if there is problem while running
> `latex`, then the docbuilder just hangs forever ''after building all
> documentation''. There is no obvious clue what the problem is apart from
> a message like the following (example from #9107) in the log file:
> {{{
> ! LaTeX Error: Too deeply nested.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.27819 \begin{Verbatim}[commandchars=\\\{\}]
>
> ?
> ! Emergency stop.
> ...
>
> l.27819 \begin{Verbatim}[commandchars=\\\{\}]
>
> ! ==> Fatal error occurred, no output PDF file produced!
> Transcript written on categories.log.
> make[1]: *** [categories.pdf] Error 1
> make[1]: Leaving directory
> `/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/devel/sage-
> main/doc/output/latex/en/reference/categories'
> Exception in thread Thread-6:
> Traceback (most recent call last):
> File
> "/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/local/lib/python/threading.py",
> line 810, in __bootstrap_inner
> self.run()
> File
> "/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/local/lib/python/threading.py",
> line 763, in run
> self.__target(*self.__args, **self.__kwargs)
> File
> "/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/local/lib/python/multiprocessing/pool.py",
> line 376, in _handle_results
> task = get()
> TypeError: ('__init__() takes at least 3 arguments (1 given)', <class
> 'subprocess.CalledProcessError'>, ())
> }}}
>
> This looks like a bug in the Python `multiprocessing` module.
>
> Also: the docbuilder should use $MAKE instead of make.
New description:
When building the PDF documentation, if there is problem while running
`latex`, then the docbuilder just hangs forever ''after building all
documentation''. There is no obvious clue what the problem is apart from a
message like the following (example from #9107) in the log file:
{{{
! LaTeX Error: Too deeply nested.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.27819 \begin{Verbatim}[commandchars=\\\{\}]
?
! Emergency stop.
...
l.27819 \begin{Verbatim}[commandchars=\\\{\}]
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on categories.log.
make[1]: *** [categories.pdf] Error 1
make[1]: Leaving directory
`/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/devel/sage-
main/doc/output/latex/en/reference/categories'
Exception in thread Thread-6:
Traceback (most recent call last):
File
"/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/local/lib/python/threading.py",
line 810, in __bootstrap_inner
self.run()
File
"/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/local/lib/python/threading.py",
line 763, in run
self.__target(*self.__args, **self.__kwargs)
File
"/mazur/release/sage-5.10.beta4-boxen-x86_64-Linux/local/lib/python/multiprocessing/pool.py",
line 376, in _handle_results
task = get()
TypeError: ('__init__() takes at least 3 arguments (1 given)', <class
'subprocess.CalledProcessError'>, ())
}}}
This hang is [http://bugs.python.org/issue9400]
Also: the docbuilder should use $MAKE instead of make.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14626#comment:13>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.