Skip to content

latex editor gives no indication when it is killed due to running out of time #3042

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

Closed
williamstein opened this issue Aug 3, 2018 · 2 comments

Comments

@williamstein
Copy link
Contributor

williamstein commented Aug 3, 2018

  1. Make a latex file like this:
\documentclass{article}
\usepackage{sagetex}
\begin{document}
Consider $\sage{factor(2^997-1)}$...
\end{document}
  1. Build it. -- of course sage can't factor that huge number, so it times out
  2. You don't see an error anywhere though, saying that Sage was timed out.

To work on this, edit the file cocalc/src/smc-webapp/frame-editors/latex-editor/sagetex.ts and change the timeout from 360 to something smaller like 5.

There may be similar problems with other timeouts (e.g., for rmd-editor and r markdown). [hsy] this is #4378 now.

@williamstein
Copy link
Contributor Author

See #3783

The plan for this is: (1) there should be NO TIMEOUT -- users do really serious things sometimes with latex processing, and (2) the user should be able to explicitly stop the ongoing running latex process, just like interrupting a running jupyter cell. @haraldschilly is working on this, in conjunction with #7722

@williamstein
Copy link
Contributor Author

Closing this in favor of #3783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant