On Sun, Jan 23, 2005 at 11:08:15AM +0000, Angus Leeming wrote:
> > I can now run lyx and get output. The only problem is that the
> > lyx_tmpxxxx directory is not getting removed (even though there is
> > nothing in the directories).
> 
> Is the code to do so getting invoked? Ie, do you get an error message
> saying that LyX tried and failed to remove the temp directory?

This is what I do:

1) Open lyx.
2) Open->Recent files->some document
3) View->PDF (PDF LaTeX)
4) Quit Acrobar Reader
5) File->Exit

At this point, I get two dialog boxes.

The first:

  Could not remove the temporary directory /tmp/lyx_tmpdirxxxxx/lyx_tmpbuf0

The second is about the enclosing directory:

  Could not remove the temporary directory /tmp/lyx_tmpdirxxxxx

Now, I just did some experiments and the results are interesting. If I wait
a few seconds and then I close lyx, then all is well.

If I close lyx immediately and get the first dialog box and wait a few
seconds before hitting the OK button, I do not get the second dailog
box... Furthermore, no temp directory is left behind!

> Now that you've confirmed that LyX 1.4.x is behaving correctly, modulo this
> temp dir clean-up, I have a list of patches that I'd like to apply to the
> 1.3.x tree. These are essentially the same as the patches that have gone
> into the 1.4.x tree, so it would be good to test that all is well behaved
> after they've been applied to the LyX 1.3.x tree.
> 
> Do you run LyX 1.3.x on Cygwin so that you can check that it too is
> behaving correctly after I've applied them?

No, I don't, but I can.

Best regards,
                        ---Kayvan
-- 
Kayvan A. Sylvan          | Proud husband of       | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

Reply via email to