A S Hodel wrote:
I've been attempting to use LyX on a G4 iCube (Mac OS X 10.3.9). I regularly get dialog windows with messages like:

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

I've checked the /tmp directory: the folder in question is there, and permissions are appropriately set, so I'm at a loss as to why this error occurs.

Hodel-iCube:/tmp/lyx_tmpdir24268OWp5HN hodelas$ ls -lRa
.:
total 0
drwx------    4 hodelas  wheel         136 Aug 16 09:26 .
drwxrwxrwt   14 root     wheel         476 Aug 16 09:26 ..
drwxr-xr-x    2 hodelas  wheel          68 Aug 16 09:26 lyx_tmpbuf0
srwxr-xr-x    1 hodelas  wheel           0 Aug 16 09:26 lyxsocket

./lyx_tmpbuf0:
total 0
drwxr-xr-x    2 hodelas  wheel          68 Aug 16 09:26 .
drwx------    4 hodelas  wheel         136 Aug 16 09:26 ..



When I get this error, it's usually because I'm exiting LyX (or perhaps closing a document) while I still have yap or Acrobat Reader viewing the document. So the temporary document file (.dvi or .pdf) can't be deleted because the viewer has it locked, which means the folder can't be deleted.

Your directory listing shows the temp directory empty, so if you did the listing right after getting the error message (without exiting a viewer, closing LyX, etc.) then that's not the explanation.

/Paul

Reply via email to