Monday, December 3, 2012

Re: vim script can't create /tmp file

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

--
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

No comments: