E484 after GVIM update

97 views
Skip to first unread message

Blay263

unread,
Apr 30, 2019, 12:36:45 AM4/30/19
to vim_dev
After updating my vim version I am getting the error below:

E484: Can't open file C:\Users\....\AppData\Local\Temp\VIoCC2F.tmp

I am using GVIM on windows with the WSL subsytem. It looks like the way the escape sequences work has changed.

2019-04-30_0-29-48.png
2019-04-30_0-35-40.png

Christian Brabandt

unread,
Apr 30, 2019, 1:46:42 AM4/30/19
to vim_dev
So what is in that particular line of your .vimrc? Might already be
fixed by 8.1.1239


Best,
Christian
--
Bauer Pichler fährt zur Kur. Schon bald bekommt er Post von seiner Frau:
"Heute ist unser Ochse eingegangen. Nun weiß ich nicht so recht, soll ich
einen neuen kaufen oder auf Dich warten?"

niva...@gmail.com

unread,
Apr 30, 2019, 2:49:27 AM4/30/19
to vim_dev
Same problem at startup

E484: Can't open file C:\Users\NICOLA~1.VAL\AppData\Local\Temp\VIo9A
54.tmp

line 184 of _vimrc:
let g:Explorer_RubyLibPath=substitute(fnamemodify(system('which '.g:Explorer_RubyLibName),":p"),':..',':',"")

niva...@gmail.com

unread,
Apr 30, 2019, 2:50:59 AM4/30/19
to vim_dev
Same problem with Vim.8.1.1239 patch

niva...@gmail.com

unread,
Apr 30, 2019, 3:31:31 AM4/30/19
to vim_dev
Le mardi 30 avril 2019 08:49:27 UTC+2, niva...@gmail.com a écrit :

Blay263

unread,
Apr 30, 2019, 11:36:39 AM4/30/19
to vim_dev
Line 645:
let g:startify_custom_header =
\ map(split(system('fortune -s'), '\n'), '" ". v:val') + ['']

Blay263

unread,
May 2, 2019, 6:36:56 PM5/2/19
to vim_dev
This version works fine:


2019-05-02_18-35-37.png

Ni Va

unread,
May 15, 2019, 3:07:17 AM5/15/19
to vim_dev
Under windows 10, gvim.8.1.1239 launched in administrator or not, there is a change using system func like that:
let g:Explorer_RubyLibName = 'msvcrt-ruby260.dll'
let try1=system('which '.g:Explorer_RubyLibName)


It causes this kind of error accessing temp file:
E484: Can't open file C:\Users\FOO~1.BAR\AppData\Local\Temp\VIoC1
0E.tmp

Ken Takata

unread,
May 15, 2019, 4:19:04 AM5/15/19
to vim_dev
Hi,
Can you bisect to find the offending patch?

Regards,
Ken Takata

Ni Va

unread,
May 16, 2019, 2:50:40 AM5/16/19
to vim_dev
Sorry I tried to rollback until 8.1.1210 but since I got this kind of errors (attached) I cannot bisect.
ProtoBuildErrors.png

Ken Takata

unread,
May 16, 2019, 3:04:54 AM5/16/19
to vim_dev
Hi,
Then, can you edit proto/usercmd.pro and change "compl" to "complp" manually?

Regards,
Ken Takata

Ni Va

unread,
May 22, 2019, 10:25:45 AM5/22/19
to vim_dev
It's between 8.1.1229 ans 8.1.1230.

Bram Moolenaar

unread,
May 22, 2019, 4:29:48 PM5/22/19
to vim...@googlegroups.com, Ni Va
> It's between 8.1.1229 ans 8.1.1230.

That must be the VIMDLL change then.

--
hundred-and-one symptoms of being an internet addict:
11. You find yourself typing "com" after every period when using a word
processor.com

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Ken Takata

unread,
May 22, 2019, 8:36:27 PM5/22/19
to vim_dev
Hi,
That's too bad.
Unfortunately, I cannot repoduce this yet.
Does this simple case work?

gvim --clean
:echo system('dir')

Does the problem occur only with gvim? not on vim.exe?

Regards,
Ken Takata

Ken Takata

unread,
May 23, 2019, 2:03:20 AM5/23/19
to vim_dev
Hi,

2019/5/23 Thu 9:36:27 UTC+9 Ken Takata wrote:
> That's too bad.
> Unfortunately, I cannot repoduce this yet.
> Does this simple case work?
>
> gvim --clean
> :echo system('dir')
>
> Does the problem occur only with gvim? not on vim.exe?

Ah! `gui.in_use` is not set when system() is executed from _vimrc.
How about the attached patch?

Regards,
Ken Takata

fix-system-on-startup.patch

Ni Va

unread,
May 23, 2019, 11:12:54 AM5/23/19
to vim_dev
Tested OK with the above modifications!

Changing all gui.in_use by (gui.in_use || gui.starting) in os_win32.c

Bram Moolenaar

unread,
May 23, 2019, 2:13:37 PM5/23/19
to vim...@googlegroups.com, Ken Takata
Thanks for the fix, I'll include it.

--
hundred-and-one symptoms of being an internet addict:
21. Your dog has its own home page.
Reply all
Reply to author
Forward
0 new messages