igrigorik / vimgolf

Real Vim ninjas count every keystroke - do you?
http://www.vimgolf.com/
MIT License
679 stars 65 forks source link

Uh oh, something went wrong! Error: Bad file descriptor #286

Closed kevin-a-nelson closed 1 year ago

kevin-a-nelson commented 4 years ago
$ vimgolf put 5e4dfcccaa2db400090b66c3
Downloading Vimgolf challenge: 5e4dfcccaa2db400090b66c3
Launching VimGolf session for challenge: 5e4dfcccaa2db400090b66c3
["C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/vimgolf-0.4.8/lib/vimgolf/cli.rb:113:in `play'", ["vim", "-Z", "-n", "--noplugin", "--nofork", "-i", "NONE", "+0", "-u", "C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/vimgolf-0.4.8/lib/vimgolf/vimgolf.vimrc", "-U", "NONE", "-W", "C:/Users/nelso/AppData/Local/Temp/golflog20200528-17784-oflb11", "C:/Users/nelso/AppData/Local/Temp/vimgolf20200528-17784-1wrfbcl.file"]]

Here are your keystrokes:
<C->VGI*<Esc><fd-61>/*\n<CR>cgn<CR><Esc>..:wq<CR>

Success! Your output matches. Your score: 23
[s] Set up vimgolf.com key to submit result
[r] Do not upload result and retry the challenge
[q] Do not upload result and quit
Choice> Uh oh, something went wrong! Error: Bad file descriptor
If the error persists, please report it to github.com/igrigorik/vimgolf
filbranden commented 3 years ago

Can this error be reproduced? Looks like something (Vim?) may have affected the terminal... It's odd, but not completely unlikely to happen. Let me know if this has happened to you more than once and if you can somehow reproduce it, in which case we can try to add more debug/tracing to see what may have happened there.