Enrico Forestieri wrote:
> Gmane User <[EMAIL PROTECTED]> writes:
> 
>> Enrico Forestieri wrote:
>>>> Gmane User schrieb:
>>>>
>>>>> I've installed LaTex and Lyx via the Cygwin installation,
>>>>  > However, this always seems to crash Lyx.
>>> I am using a cygwin version of LyX and have no problems. When you say that
>>> you are trying to view the pdf, do you mean that you are trying to export
>>> to pdf or are you using View->PDF?
>> Both.
> 
> Please, if your shell is tcsh, use this command to start lyx:
> 
> lyx -dbg latex >& output.log
> 
> Instead, if your shell is bash, launch lyx this way:
> 
> lyx -dbg latex > output.log 2>&1
> 
> After LyX started, load Intro.lyx through Help->Introduction and then select
> "View->PDF (pdflatex)". If it finishes and you can use the menu, quit LyX.
> Otherwise, if something seems to be stalled, kill LyX by issuing a Control-C
> in the window from where you started it.
> 
> Thereafter, send to the list as an attachment the file output.log.
> Hopefully we will be able to deduce something from its contents.

I use bash.

Well, I didn't have a chance to repeat the attempt on the original computer on 
which the problems was observed.  However, I tried it on another computer, with 
the same apparent problem (Lyx goes away, consumes much CPU, and "never" comes 
back).  I never did the debug step because View->pdflatex *does* come back 
after half an hour (not sure how much after, but probably no more than an hour 
after it started).

The long time for the conversion might be a function of the file.  It was the 
Help->Tutorial file that caused such a long conversion.  If I open a blank new 
Lyx file and type a few words, the conversion takes trivial amount of time.  
The View->Update also works.

I tried the View->Update on the long-converting Tutorial file.  It still takes 
a long time.  How long...not sure, it's still running.

The temporary files seem to be located in 
/tmp/lyx_tmpdir1724fSfEOO/lyx_tmpbufXX, where XX is 0, 1, 2, ... .  If the PDF 
file is still opened in acrobat viewer, the update cannot complete because the 
file is locked (this is in a windows environment, even though cygwin makes it 
look like unix).

Thanks for your suggestions in troubleshooting.

Reply via email to