Re: Stop command during compilation
On Sun, May 05, 2024 at 03:25:42PM GMT, Richard Kimberly Heck wrote: > Apparently, you did it, Scott! Ha! I have a strong memory of really wanting to do it, but I don't remember actually doing it :) Discussion was here: https://www.mail-archive.com/search?l=mid=20221120230056.xbznerxk4ui4aql4%40gary > > For what it's worth, the previous timeout was 3 minutes. Note that this is > per-process, so running LaTeX multiple times could take more than 3 minutes, > and it would not trigger this message. Note that the main issue where this comes up is with knitr or something similar (which runs an R program before getting to LaTeX compilation). Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On Sun, 5 May 2024, Richard Kimberly Heck wrote: I have not either. It's a very long timeout. But if you have lots of images that need converting, etc, or programs that have to be compiled, then you could see it. Riki, That makes sense. Thanks for explaining. Regards, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 13:36, Richard Kimberly Heck wrote: On 5/5/24 11:25, Scott Kostyshak wrote: On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote: Hi, the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. Please can you help me? I believe it (should be) at a deterministic time, not random. And I don't think compilation is actually interrupted, it just feels like it is. That is, during the dialog, I believe the code is still running. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. All that said, I personally would be in favor of removing the dialog, now that the user can cancel the process at anytime on their own (this didn't use to be possible). I think we had a discussion about that but I forgot how others felt about it. I think we decided it was worth having both, though I am not sure. The manual cancellation thing doesn't always work. What might be nice would be to make the timeout a preference, and then setting it at 0 would disable it. Obviously too late to do that for 2.4.0. Actually, on closer inspection, it turns out we did disable this for 2.4.0: int timeout_ms() { // Starting in 2.4.0, we allow the user to cancel the background // process at any time with LFUN_EXPORT_CANCEL, so the timeout dialog // is no longer useful. // "-1" effectively disables the timeout (it is a special case in // SystemcallPrivate::waitWhile()). return -1; } Apparently, you did it, Scott! For what it's worth, the previous timeout was 3 minutes. Note that this is per-process, so running LaTeX multiple times could take more than 3 minutes, and it would not trigger this message. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 14:31, Rich Shepard wrote: On Sun, 5 May 2024, Richard Kimberly Heck wrote: There's a timeout for the compilation process in case something goes wrong and it enters an infinite loop. It's a pretty generous time, though I can't remember what it is, or even where it's set. Riki, Well, okay. Guess I never encountered that situation. I've had non-printable characters in bibliographic entries that I didn't catch when copying them into JabRef or issues with missing TexLive modules, but nothing to ask me whether I want pdflatex to continue. I have not either. It's a very long timeout. But if you have lots of images that need converting, etc, or programs that have to be compiled, then you could see it. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On Sun, 5 May 2024, Richard Kimberly Heck wrote: There's a timeout for the compilation process in case something goes wrong and it enters an infinite loop. It's a pretty generous time, though I can't remember what it is, or even where it's set. Riki, Well, okay. Guess I never encountered that situation. I've had non-printable characters in bibliographic entries that I didn't catch when copying them into JabRef or issues with missing TexLive modules, but nothing to ask me whether I want pdflatex to continue. Thanks, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 13:42, Rich Shepard wrote: On Sun, 5 May 2024, Richard Kimberly Heck wrote: the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. Riki, I've never seen this happen. I run only linux and I see the build process in the status bar at the bottom of the LyX window. The process halts only when there's an error somewhere. A curious mind wants to know, There's a timeout for the compilation process in case something goes wrong and it enters an infinite loop. It's a pretty generous time, though I can't remember what it is, or even where it's set. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On Sun, 5 May 2024, Richard Kimberly Heck wrote: the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. Riki, I've never seen this happen. I run only linux and I see the build process in the status bar at the bottom of the LyX window. The process halts only when there's an error somewhere. A curious mind wants to know, Rich -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On 5/5/24 11:25, Scott Kostyshak wrote: On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote: Hi, the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. Please can you help me? I believe it (should be) at a deterministic time, not random. And I don't think compilation is actually interrupted, it just feels like it is. That is, during the dialog, I believe the code is still running. It is. Which is why, if you leave your computer, you can find this dialog AND a completed compilation. All that said, I personally would be in favor of removing the dialog, now that the user can cancel the process at anytime on their own (this didn't use to be possible). I think we had a discussion about that but I forgot how others felt about it. I think we decided it was worth having both, though I am not sure. The manual cancellation thing doesn't always work. What might be nice would be to make the timeout a preference, and then setting it at 0 would disable it. Obviously too late to do that for 2.4.0. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Stop command during compilation
On Sun, May 05, 2024 at 12:00:06PM GMT, Andreas Plihal via lyx-users wrote: > Hi, > > the compilation of lyx files is repeatedly interrupted (apparently at > random). A window "LyX: Stop command?" appears. Then you can either > stop or continue compiling. It is not clear to me when and why this > interruption occurs. Its appearance cannot be controlled by me. > > Please can you help me? I believe it (should be) at a deterministic time, not random. And I don't think compilation is actually interrupted, it just feels like it is. That is, during the dialog, I believe the code is still running. All that said, I personally would be in favor of removing the dialog, now that the user can cancel the process at anytime on their own (this didn't use to be possible). I think we had a discussion about that but I forgot how others felt about it. Scott signature.asc Description: PGP signature -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Stop command during compilation
Hi, the compilation of lyx files is repeatedly interrupted (apparently at random). A window "LyX: Stop command?" appears. Then you can either stop or continue compiling. It is not clear to me when and why this interruption occurs. Its appearance cannot be controlled by me. Please can you help me? Andreas -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users