Kayvan A. Sylvan wrote: > 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.
Whereas here all works perfectly. > 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! Interesting indeed. > > 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. Great. Then I'll apply the patches and drop you a line when I've done so. -- Angus