On Monday, December 3, 2012 5:08:29 PM UTC+5:30, Christian Brabandt wrote: > On Mon, December 3, 2012 11:47, sinbad wrote: > > > one of the script in my vim environment is not able > > > to create a /tmp file, i keep getting the following > > > error. This script is invoked every time i write > > > the file contents. > > > > > > Error detected while processing function GenerateTags: > > > line 1: > > > E484: Can't open file /tmp/vEmReRC/36 > > > > > > > > > Interestingly i am not seeing this error for the first > > > few writes after i open the file. the workaround is to > > > open/close the file, and i won't see the error for first > > > few writes, after that again i see the same error. any > > > clues for why it is happening and how to fix it. > > > > Do you have some kind of clean up job running, that clears /tmp? > > > > Then those errors happen. Vim creates that directory only the > > first time, it needs a temp file. Subsequent calls expect the > > temp directory to be existent. > > > > regards, > > Christian
Looks like the tmp file deletion is the problem. when i started to see the errors i found that tmp file is missing. No i'm not running any cleanup job. how do i know if someone else is deleting the file. is there a way to protect the tmp file not to be deleted. I do not suspect any of my other scripts are deleting the file, as i did not install any new scripts, and i was running with the same set of scripts for some years without any problems -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
