-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docbuilder hangs if latex fails #14626
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:4
I have an idea, patch possibly coming up... |
comment:6
Attachment: 14626_workaround.patch.gz |
Author: Jeroen Demeyer |
comment:7
The patch makes a lot of sense at first glance, but I should test it to make sure. I'll try to get to it soon. |
comment:9
With the patch and with bad LaTeX code, I see the hang occur earlier (soon after trying to build the bad document), but it still hangs. |
comment:10
John, it seems to work for me, so could you please send me the |
comment:11
When I apply this patch here and the patches from #9107 causing a LaTeX failure, then I get
after which I get back into the shell as expected. |
comment:12
The cause of the crash seems to be a combination of:
|
This comment has been minimized.
This comment has been minimized.
Upstream: Reported upstream. Developers acknowledge bug. |
comment:14
I mistakenly thought that I wasn't getting an error from the patches at #9107, so I made this change and then build the documentation: diff --git a/sage/algebras/steenrod/steenrod_algebra.py b/sage/algebras/steenrod/steenrod_algebra.py
--- a/sage/algebras/steenrod/steenrod_algebra.py
+++ b/sage/algebras/steenrod/steenrod_algebra.py
@@ -10,6 +10,8 @@
the Steenrod algebra using CombinatorialFreeModule; improved the
test suite.
+Broken: `\aaaaaa`
+
This module defines the mod `p` Steenrod algebra `\mathcal{A}_p`, some
of its properties, and ways to define elements of it. With the patch here, it hangs after trying to build reference/algebras. I agree that with just the patches at #9107, the hang is no longer present: once reference/categories fails, I get sent back to the shell. |
comment:15
John: your change still works for me:
I correctly get a shell prompt after this. Please attach your |
comment:16
Sorry, once again I didn't communicate well enough. I've been running |
Reviewer: John Palmieri |
comment:17
Also
|
comment:18
I've seen this repeatably while running |
comment:19
John, I still cannot reproduce your problems, can you say the exact steps that you did. I am doing the following on
[...]
[...]
[...]
[...]
|
comment:20
Okay, sorry, you're right. It looked to me as though it was hanging, but that's because the shell prompt was buried in output from the still-running processes. I stupidly didn't think to hit RET to see if I got a shell prompt. At some point we might want to provide an error message at the very end, which won't get lost amidst the output from parallel processes, but that can go on another ticket. |
comment:21
Replying to @jhpalmieri:
Do you remember the shell command that you ran (in particular, did you use any unusual redirections or piping)? Because otherwise I don't see how it can happen what you describe. |
Merged: sage-5.10.beta5 |
comment:22
I just logged into sage.math and did
Then I see, in the middle of a lot of output,
but no shell prompt because it was already printed earlier. With |
comment:23
John: probably the "output after shell prompt" problem is caused by parallel docbuilding: it seems that, if one thread fails, the docbuilder master process exists and the other threads simply continue working... Not really a bug, just a peculiarity of |
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:This hang is http://bugs.python.org/issue9400
Also: the docbuilder should use $MAKE instead of make.
Upstream: Reported upstream. Developers acknowledge bug.
CC: @jhpalmieri @nexttime
Component: documentation
Author: Jeroen Demeyer
Reviewer: John Palmieri
Merged: sage-5.10.beta5
Issue created by migration from https://trac.sagemath.org/ticket/14626
The text was updated successfully, but these errors were encountered: