-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error formatting file: Vim(let):E484: Can't open file /tmp/vC6awwI/8 #106
Comments
Ok I found how to change it. Wrote at the beginning of but this didn't fix the problem... do you know what might be causing this and how to fix it? |
Looks like a dupe of #86. See discussion there and the bug I filed for it in the library, google/vim-maktaba#215, and try the suggested "SetUsableShellRegex" workaround there to see if it helps get you unstuck. If you can post your findings we might be able to make some progress towards getting it compatible with Win 10. |
I'll close this one for now, but please comment/reopen if you don't think it's the same issue after all. |
Hi, I think it's a different issue because I'm having this problem on linux not on windows. This
I tried to follow the windows10 debugging calls from that issue #86 and here are the results: |
If this is in long-running vim sessions, vim has known issues where it doesn't verify tmp directories it previously created still exist, and obviously tmp directories can disappear without warning for various reasons. It sounds like you are saying you can reproduce consistently though, right? |
yes, it happens all the time, not just old sessions. |
Hi, I'm also facing the same issue. I Updated the add this line to my vimrc also colud you please tell me what are the dependencies ? |
What do you get when you execute :verbose set shell? ? I suspect it's still the same basic error as google/vim-maktaba#215, which you'd see if If call maktaba#syscall#SetUsableShellRegex('\v.*') and then retry to see if it still errors out. |
I'm afraid I have lost access to that server where I had this problem so I can't confirm it now. Thank you very much for revisiting it! :) I will close the issue now. |
Not sure if it's ok to add a comment to a closed call, so apologies if so. |
Either way. New issue w/ thorough details to reproduce would be helpful to back up and clarify exactly what you've tried so far in your case. I tried using :call system(printf('cat > %s 2> %s', tempname(), tempname()), []) shows no error but that: :call maktaba#syscall#Create(['cat']).WithStdin('').Call() does show an error. |
Have opened a new issue as suggested |
Thanks! I followed up there: I think that issue is unrelated. I am definitely still interested in getting more findings if anyone runs into cases where |
Note that for long-running Vim sessions specifically, Vim 8.2.0711 includes a change to lock the Vim temporary directory so that it's no longer reaped (in most cases) while Vim is still running. |
Hi,
how can I change the tmp directory? I get this error
Error formatting file: Vim(let):E484: Can't open file /tmp/vC6awwI/8
when truing to:FormatCode
.The text was updated successfully, but these errors were encountered: