topgrade
topgrade copied to clipboard
Neovim 0.8.0 broke upgrade.vim
What did you expect to happen?
I expected topgrade to successfully upgrade my vim-plug plugins
What actually happened?
Neovim threw a bunch of errors and failed to upgrade my plugins
Additional Details
- Which operating system or Linux distribution are you using?
- Void Linux
- How did you install Topgrade?
- Through Void's repos
- Which version are you running?
- Topgrade 9.0.1
2022-10-02T23:54:59.332Z DEBUG topgrade::config > Configuration at /home/runningdroid/.config/topgrade.toml 2022-10-02T23:54:59.332Z DEBUG topgrade::config > Loaded configuration: ConfigFile { pre_commands: Some({}), post_commands: None, commands: Some({"Config update": "git --git-dir=/home/runningdroid/.local/share/min_config.git --work-tree=/home/runningdroid pull --quiet --stat --ff-only", "xcheckmypkgs": "XBPS_DISTDIR='/home/runningdroid/git/void-packages' xcheckmypkgs || true"}), git_repos: None, predefined_git_repos: None, disable: Some([Pip3]), ignore_failures: None, remote_topgrades: None, remote_topgrade_path: None, ssh_arguments: None, git_arguments: None, tmux_arguments: None, set_title: None, display_time: None, assume_yes: None, yay_arguments: None, no_retry: None, run_in_tmux: None, cleanup: None, notify_each_step: None, accept_all_windows_updates: None, bashit_branch: None, only: None, composer: Some(Composer { self_update: None }), brew: Some(Brew { greedy_cask: None }), linux: Some(Linux { yay_arguments: None, arch_package_manager: None, show_arch_news: None, trizen_arguments: None, pikaur_arguments: None, dnf_arguments: None, apt_arguments: None, enable_tlmgr: None, redhat_distro_sync: None, rpm_ostree: None, emerge_sync_flags: None, emerge_update_flags: None }), git: Some(Git { max_concurrency: None, arguments: None, repos: None, pull_predefined: None }), windows: Some(Windows { accept_all_updates: None, self_rename: None, open_remotes_in_new_terminal: None, enable_winget: None }), npm: Some(NPM { use_sudo: None }), vim: None, firmware: Some(Firmware { upgrade: None }), vagrant: None, flatpak: Some(Flatpak { use_sudo: Some(false) }) } 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Detected "/usr/sbin/notify-send" as "notify-send" 2022-10-02T23:54:59.332Z DEBUG topgrade > Version: 9.0.1 2022-10-02T23:54:59.332Z DEBUG topgrade > OS: x86_64-unknown-linux-gnu 2022-10-02T23:54:59.332Z DEBUG topgrade > Args { inner: ["topgrade", "-v", "--no-retry", "--only", "vim"] } 2022-10-02T23:54:59.332Z DEBUG topgrade > Binary path: Ok("/usr/bin/topgrade") 2022-10-02T23:54:59.332Z DEBUG topgrade > Self Update: false 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Detected "/usr/sbin/git" as "git" 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Cannot find "doas" 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Detected "/usr/sbin/sudo" as "sudo" 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Cannot find "pwsh" 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Cannot find "powershell" 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Path "/home/runningdroid/.config/emacs" doesn't exist 2022-10-02T23:54:59.332Z DEBUG topgrade::utils > Path "/home/runningdroid/.emacs.d" doesn't exist 2022-10-02T23:54:59.332Z DEBUG topgrade::steps::git > /home/runningdroid/.vim does not exists 2022-10-02T23:54:59.332Z DEBUG topgrade::steps::git > Checking if /home/runningdroid/.config/nvim is a git repository 2022-10-02T23:54:59.333Z TRACE topgrade::executor > Output of "/usr/sbin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(32768)), stdout: "", stderr: "fatal: not a git repository (or any parent up to mount point /)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n" } 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.ideavimrc does not exists 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.intellimacs does not exists 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.zshrc is a file. Checking /home/runningdroid 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > Checking if /home/runningdroid is a git repository 2022-10-02T23:54:59.333Z TRACE topgrade::executor > Output of "/usr/sbin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(32768)), stdout: "", stderr: "fatal: not a git repository (or any parent up to mount point /)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n" } 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.config/fish does not exists 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.config/openbox does not exists 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.config/bspwm does not exists 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > /home/runningdroid/.config/i3 does not exists 2022-10-02T23:54:59.333Z DEBUG topgrade::steps::git > Checking if /home/runningdroid/.config/sway is a git repository 2022-10-02T23:54:59.334Z TRACE topgrade::executor > Output of "/usr/sbin/git" "rev-parse" "--show-toplevel": Output { status: ExitStatus(unix_wait_status(32768)), stdout: "", stderr: "fatal: not a git repository (or any parent up to mount point /)\nStopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n" } 2022-10-02T23:54:59.334Z DEBUG topgrade::runner > Step "vim" 2022-10-02T23:54:59.334Z DEBUG topgrade::utils > Detected "/usr/sbin/vim" as "vim" 2022-10-02T23:54:59.336Z TRACE topgrade::executor > Output of "/usr/sbin/vim" "--version": Output { status: ExitStatus(unix_wait_status(0)), stdout: "NVIM v0.8.0\nBuild type: Release\nLuaJIT 2.1.0-beta3\nCompiled by void-buildslave@a-fsn-de\n\nFeatures: +acl +iconv +tui\nSee \":help feature-compile\"\n\n system vimrc file: \"$VIM/sysinit.vim\"\n fall-back for $VIM: \"/usr/share/nvim\"\n\nRun :checkhealth for more info\n", stderr: "" } 2022-10-02T23:54:59.336Z DEBUG topgrade::runner > Step "Neovim" 2022-10-02T23:54:59.336Z DEBUG topgrade::utils > Detected "/usr/sbin/nvim" as "nvim" 2022-10-02T23:54:59.336Z DEBUG topgrade::utils > Path "/home/runningdroid/.config/nvim/init.vim" exists ―― 19:54:59 - Neovim ―― 2022-10-02T23:54:59.336Z DEBUG topgrade::steps::vim > Wrote vim script to "/tmp/.tmpVXHSMG" Error detected while processing BufWinEnter Autocommands for "*": E495: no autocommand file name to substitute for "" Error detected while processing BufEnter Autocommands for "*": E495: no autocommand file name to substitute for " " Plug Downloading the latest version of vim-plugvim-plug is already up-to-date E495: no autocommand file name to substitute for " " Error detected while processing command line..script /tmp/.tmpVXHSMG[17]..function 10_update[1].. 10_update_impl[53].. 10_prepare[18].. 10_new_window[1]..BufWinEnter Autocommands for "*": E495: no autocommand file name to substitute for " "Error detected while processing command line..script /tmp/.tmpVXHSMG[17]..function 10_update[1].. 10_update_impl[116].. 10_nvim_cb[1].. 10_job_cb[4].. 10_job_out_cb[10].. 10_log[4].. 10_nvim_cb[1].. 10_job_cb[4].. 10_job_exit_cb[3].. 10_reap[12].. 10_bar: line 3: E440: undo line missing 2022-10-02T23:55:00.122Z DEBUG topgrade::runner > Step "Neovim" failed: exit status: 1 2022-10-02T23:55:00.122Z DEBUG topgrade::runner > Step "The Ultimate vimrc" 2022-10-02T23:55:00.122Z DEBUG topgrade::runner > Step "voom" ―― 19:55:00 - Summary ―― vim: SKIPPED: vim binary might by actually nvim Neovim: FAILED The Ultimate vimrc: SKIPPED: Path "/home/runningdroid/.vim_runtime" doesn't exist voom: SKIPPED: Cannot find "voom" in PATH 2022-10-02T23:55:00.122Z DEBUG topgrade::terminal > Desktop notification: Topgrade finished with errors
Same here, with different error message.
―― 13:14:45 - Neovim ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Error detected while processing BufWinEnter Autocommands for "*":
E5108: Error executing lua Vim:E495: no autocommand file name to substitute for "<afile>"
stack traceback:
[C]: in function 'expand'
[string ":lua"]:1: in main chunk
Error detected while processing BufEnter Autocommands for "*":
E5108: Error executing lua Vim:E495: no autocommand file name to substitute for "<afile>"
stack traceback:
[C]: in function 'expand'
[string ":lua"]:1: in main chunk
Plugin
Error detected while processing command line..script /tmp/.tmp7EQjT1[8]..function vundle#installer#new[18]..vundle#scripts#view[5]..WinEnter Autocommands for "*":
E5108: Error executing lua Vim:E495: no autocommand file name to substitute for "<afile>"
stack traceback:
[C]: in function 'expand'
[string ":lua"]:1: in main chunk
[sy] Skip file: /home/ratajc72/dotfiles/[Vundle] Installer
E5108: Error executing lua Vim:E495: no autocommand file name to substitute for "<afile>"
stack traceback:
[C]: in function 'expand'
[string ":lua"]:1: in main chunk
Error detected while processing command line..script /tmp/.tmp7EQjT1[8]..function vundle#installer#new[18]..vundle#scripts#view[5]..BufEnter Autocommands for "*":
E5108: Error executing lua Vim:E495: no autocommand file name to substitute for "<afile>"
stack traceback:
[C]: in function 'expand'
[string ":lua"]:1: in main chunkProcessing 'VundleVim/Vundle.vim''VundleVim/Vundle.vim' already installedProcessing 'ryanoasis/vim-devicons''ryanoasis/vim-devicons' already installedProcessing 'rhysd/vim-grammarous''rhysd/vim-grammarous' already installedProcessing 'Xuyuanp/nerdtree-git-plugin''Xuyuanp/nerdtree-git-plugin' already installedProcessing 'jlanzarotta/bufexplorer''jlanzarotta/bufexplorer' already installedProcessing 'mhinz/vim-signify''mhinz/vim-signify' already installedProcessing 'mhinz/vim-startify''mhinz/vim-startify' already installedProcessing 'KeitaNakamura/tex-conceal.vim''KeitaNakamura/tex-conceal.vim' already installedProcessing 'ntpeters/vim-better-whitespace''ntpeters/vim-better-whitespace' already installedProcessing 'tpope/vim-commentary''tpope/vim-commentary' already installedProcessing 'Yggdroot/indentLine''Yggdroot/indentLine' already installedProcessing 'junegunn/vim-easy-align''junegunn/vim-easy-align' already installedProcessing 'machakann/vim-sandwich''machakann/vim-sandwich' already installedProcessing 'jiangmiao/auto-pairs''jiangmiao/auto-pairs' already installedProcessing 'lervag/vimtex''lervag/vimtex' already installedProcessing 'nvim-lualine/lualine.nvim''nvim-lualine/lualine.nvim' already installedProcessing 'kyazdani42/nvim-web-devicons''kyazdani42/nvim-web-devicons' already installedProcessing 'nvim-treesitter/nvim-treesitter''nvim-treesitter/nvim-treesitter' already installedProcessing 'SmiteshP/nvim-gps''SmiteshP/nvim-gps' already installedProcessing 'neoclide/coc.nvim''neoclide/coc.nvim' already installedProcessing 'morhetz/gruvbox''morhetz/gruvbox' already installedProcessing 'nvim-lua/plenary.nvim''nvim-lua/plenary.nvim' already installedProcessing 'nvim-telescope/telescope.nvim''nvim-telescope/telescope.nvim' already installedProcessing 'MunifTanjim/nui.nvim''MunifTanjim/nui.nvim' already installedProcessing 'nvim-neo-tree/neo-tree.nvim''nvim-neo-tree/neo-tree.nvim' already installedProcessing 'folke/trouble.nvim''folke/trouble.nvim' already installedProcessing 'puremourning/vimspector''puremourning/vimspector' already installedProcessing helptagshelptags regeneratedDone!
CocUpdateSync
Error on request (updateExtensions): Vim(return):Error invoking 'updateExtensions' on channel 3 (coc):
call_atomic request error on "nvim_command": Vim(call):E495: no autocommand file name to substitute for "<afile>"
Retry? (y)es/(N)o/(s)hell/(q)uit
Broken here too on macOS 12.6, neovim 0.8.0:
―― 10:38:41 - Neovim ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Error detected while processing BufWinEnter Autocommands for "*":
E495: no autocommand file name to substitute for "<afile>"
Plug
Downloading the latest version of vim-plugvim-plug is already up-to-date
E495: no autocommand file name to substitute for "<afile>"
I can reproduce this with vim (not neovim) on macOS Monterey.
―― 14:02:29 - Vim ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
not found in 'runtimepath': "colors/one.vim"
not found in 'runtimepath': "colors/one.vim"
not found in 'runtimepath': "autoload/vimtex.vim"
not found in 'runtimepath': "autoload/sneak.vim"
not found in 'packpath': "pack/*/start/*/autoload/sneak.vim"
not found in 'runtimepath': "plugin/**/*.vim"
Reading viminfo file "/Users/mcornick/.viminfo" info oldfiles
Error detected while processing BufWinEnter Autocommands for "*":
E495: No autocommand file name to substitute for "<afile>"
Error detected while processing BufEnter Autocommands for "*":
E495: No autocommand file name to substitute for "<afile>"
Error detected while processing command line..script /private/var/folders/tx/1jn9r9qj24lft0s1fn2k0h5h0000gn/T/.tmp1CV4ob[46]..QuitPre Autocommands for "*":
E495: No autocommand file name to substitute for "<afile>"
Writing viminfo file "/Users/mcornick/.viminfo"
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Aug 17 2022 21:21:22)
macOS version - arm64
Included patches: 1-217
Compiled by [email protected]