rmennes / tikzedt

Automatically exported from code.google.com/p/tikzedt
0 stars 0 forks source link

Timeout on generating thumbnail #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a thumbnail (source code) that uses a package which is not installed 
yet.
2. Click "compile" in the Snippets Manager.

You'll see a window asking you whether to install the new package.
However, this window disappears as soon TE kills pdflatex due to timeout.

Original issue reported on code.google.com by notdiffi...@gmx.net on 9 Feb 2011 at 10:49

GoogleCodeExporter commented 8 years ago
Same problem here. I had to manually install the packages the editor requires.

Original comment by Thrymr on 9 Feb 2011 at 11:29

GoogleCodeExporter commented 8 years ago
Yes, I know the problem... 
I'll make the timeout settable through user settings (0 default) + add a button 
to abort the background compilation in case of error.

The reason for the timeout was the following: For some reason pdflatex does not 
return on some kind of errors (like opening a "[" w/o closing). Hence if such 
an error is present in some snippet, the compilation of the whole batch will 
hang.

Original comment by t.willwa...@gmail.com on 9 Feb 2011 at 1:36

GoogleCodeExporter commented 8 years ago
added configurable timeout
added package manager detection (TE does not kill pdflatex on timeout if its 
package manager is running and probably installing some packet. However, this 
is only relevant if timeout set to value > 0)

Original comment by notdiffi...@gmx.net on 13 Feb 2011 at 10:16