Package: vim-youcompleteme Version: 0+20220824+git7c3a88f+ds-3 Severity: important X-Debbugs-Cc: forbidden...@foxmail.com
Dear Maintainer, Launching vim without any arguments, it reports errors like below endlessly: ``` Error detected while processing CursorMoved Autocommands for "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer: line 12: E117: Unknown function: youcompleteme#filetypes#AllowedForFiletype ``` , making vim almost unusable. vimrc seems has nothing to do with this bug. -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-19041-Microsoft (UP) Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages vim-youcompleteme depends on: ii python3 3.10.6-1 ii python3-future 0.18.2-6 ii vim-nox [vim-python3] 2:9.0.0813-1+b1 ii ycmd [ycmd-core-version] 0+20220824+git2ee4100+ds-2 Versions of packages vim-youcompleteme recommends: ii ycmd 0+20220824+git2ee4100+ds-2 vim-youcompleteme suggests no packages. -- no debconf information
chdir(/etc/vim) fchdir() to previous dir 执行 "/etc/vim/vimrc" chdir(/usr/share/vim/vim90) fchdir() to previous dir 第 23 行: 执行 "/usr/share/vim/vim90/debian.vim" 结束执行 /usr/share/vim/vim90/debian.vim 在 /etc/vim/vimrc 中继续 结束执行 /etc/vim/vimrc chdir(/home/notfound405) fchdir() to previous dir 执行 "$HOME/.vimrc" chdir(/usr/share/vim/vim90) fchdir() to previous dir 第 3 行: 执行 "/usr/share/vim/vim90/defaults.vim" chdir(/usr/share/vim/vim90) fchdir() to previous dir 第 97 行: 执行 "/usr/share/vim/vim90/filetype.vim" 在 'runtimepath' 中找不到:"ftdetect/*.vim" 结束执行 /usr/share/vim/vim90/filetype.vim 在 /usr/share/vim/vim90/defaults.vim 中继续 chdir(/usr/share/vim/vim90) fchdir() to previous dir 第 97 行: 执行 "/usr/share/vim/vim90/ftplugin.vim" 结束执行 /usr/share/vim/vim90/ftplugin.vim 在 /usr/share/vim/vim90/defaults.vim 中继续 chdir(/usr/share/vim/vim90) fchdir() to previous dir 第 97 行: 执行 "/usr/share/vim/vim90/indent.vim" 结束执行 /usr/share/vim/vim90/indent.vim 在 /usr/share/vim/vim90/defaults.vim 中继续 chdir(/usr/share/vim/vim90/syntax) fchdir() to previous dir 第 133 行: 执行 "/usr/share/vim/vim90/syntax/syntax.vim" chdir(/usr/share/vim/vim90/syntax) fchdir() to previous dir 第 19 行: 执行 "/usr/share/vim/vim90/syntax/synload.vim" chdir(/usr/share/vim/vim90/syntax) fchdir() to previous dir 第 21 行: 执行 "/usr/share/vim/vim90/syntax/syncolor.vim" chdir(/usr/share/vim/vim90/colors/lists) fchdir() to previous dir 第 53 行: 执行 "/usr/share/vim/vim90/colors/lists/default.vim" 结束执行 /usr/share/vim/vim90/colors/lists/default.vim 在 /usr/share/vim/vim90/syntax/syncolor.vim 中继续 结束执行 /usr/share/vim/vim90/syntax/syncolor.vim 在 /usr/share/vim/vim90/syntax/synload.vim 中继续 结束执行 /usr/share/vim/vim90/syntax/synload.vim 在 /usr/share/vim/vim90/syntax/syntax.vim 中继续 执行 FileType 自动命令 "*" 自动命令 0verbose exe "set syntax=" . expand("<amatch>") 结束执行 /usr/share/vim/vim90/syntax/syntax.vim 在 /usr/share/vim/vim90/defaults.vim 中继续 结束执行 /usr/share/vim/vim90/defaults.vim 在 /home/notfound405/.vimrc 中继续 结束执行 $HOME/.vimrc 在 'packpath' 中找不到:"pack/*/start/*" chdir(/home/notfound405/.vim/plugin) fchdir() to previous dir 执行 "/home/notfound405/.vim/plugin/youcompleteme.vim" 结束执行 /home/notfound405/.vim/plugin/youcompleteme.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/getscriptPlugin.vim" 结束执行 /usr/share/vim/vim90/plugin/getscriptPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/gzip.vim" 结束执行 /usr/share/vim/vim90/plugin/gzip.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/logiPat.vim" 结束执行 /usr/share/vim/vim90/plugin/logiPat.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/manpager.vim" 结束执行 /usr/share/vim/vim90/plugin/manpager.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/matchparen.vim" 结束执行 /usr/share/vim/vim90/plugin/matchparen.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/netrwPlugin.vim" 结束执行 /usr/share/vim/vim90/plugin/netrwPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/rrhelper.vim" 结束执行 /usr/share/vim/vim90/plugin/rrhelper.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/spellfile.vim" 结束执行 /usr/share/vim/vim90/plugin/spellfile.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/tarPlugin.vim" 结束执行 /usr/share/vim/vim90/plugin/tarPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/tohtml.vim" 结束执行 /usr/share/vim/vim90/plugin/tohtml.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/vimballPlugin.vim" 结束执行 /usr/share/vim/vim90/plugin/vimballPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir 执行 "/usr/share/vim/vim90/plugin/zipPlugin.vim" 结束执行 /usr/share/vim/vim90/plugin/zipPlugin.vim 在 'packpath' 中找不到:"pack/*/start/*" 在 'runtimepath' 中找不到:"plugin/**/*.vim" 读取 viminfo 文件 "/home/notfound405/.viminfo" 信息 旧文件 执行 BufEnter 自动命令 "*" 自动命令 sil call s:LocalBrowse(expand("<amatch>")) 执行 VimEnter 自动命令 "*" 自动命令 call youcompleteme#Enable() chdir(/home/notfound405/.vim/autoload) fchdir() to previous dir 第 0 行: 执行 "/home/notfound405/.vim/autoload/youcompleteme.vim" 结束执行 /home/notfound405/.vim/autoload/youcompleteme.vim 在 VimEnter 自动命令 "*" 中继续 执行 VimEnter 自动命令 "*" 自动命令 sil call s:VimEnter(expand("<amatch>")) 执行 CursorMoved 自动命令 "*" 自动命令 call s:Highlight_Matching_Pair() 执行 CursorMoved 自动命令 "*" 自动命令 call s:OnCursorMovedNormalMode() 在 'runtimepath' 中找不到:"autoload/youcompleteme/filetypes.vim" 在 'packpath' 中找不到:"pack/*/start/*/autoload/youcompleteme/filetypes.vim" 处理 CursorMoved 自动命令 "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer 时发生错误: 第 12 行: E117: 未知的函数: youcompleteme#filetypes#AllowedForFiletype 处理 CursorMoved 自动命令 "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer[12]..<SNR>25_PollServerReady[14]..<SNR>25_OnFileTypeSet[8]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer 时发生错误: 第 14 行: E121: 未定义的变量: allowed 处理 CursorMoved 自动命令 "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer[12]..<SNR>25_PollServerReady[14]..<SNR>25_OnFileTypeSet[8]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer 时发生错误: 第 19 行: E121: 未定义的变量: allowed 处理 CursorMoved 自动命令 "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer 时发生错误: 第 14 行: E121: 未定义的变量: allowed 处理 CursorMoved 自动命令 "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer 时发生错误: 第 19 行: E121: 未定义的变量: allowed 执行 BufUnload 自动命令 "*" 自动命令 call s:OnBufferUnload() 在 'runtimepath' 中找不到:"autoload/youcompleteme/filetypes.vim" 在 'packpath' 中找不到:"pack/*/start/*/autoload/youcompleteme/filetypes.vim" 处理 BufUnload 自动命令 "*"..function <SNR>25_OnBufferUnload[4]..<SNR>25_AllowedToCompleteInBuffer 时发生错误: 第 12 行: E117: 未知的函数: youcompleteme#filetypes#AllowedForFiletype 第 14 行: E121: 未定义的变量: allowed 第 19 行: E121: 未定义的变量: allowed 写入 viminfo 文件 "/home/notfound405/.viminfo" 执行 VimLeave 自动命令 "*" 自动命令 call s:OnVimLeave() chdir(/etc/vim) fchdir() to previous dir sourcing "/etc/vim/vimrc" chdir(/usr/share/vim/vim90) fchdir() to previous dir line 23: sourcing "/usr/share/vim/vim90/debian.vim" finished sourcing /usr/share/vim/vim90/debian.vim continuing in /etc/vim/vimrc finished sourcing /etc/vim/vimrc chdir(/home/notfound405) fchdir() to previous dir sourcing "$HOME/.vimrc" chdir(/usr/share/vim/vim90) fchdir() to previous dir line 3: sourcing "/usr/share/vim/vim90/defaults.vim" chdir(/usr/share/vim/vim90) fchdir() to previous dir line 97: sourcing "/usr/share/vim/vim90/filetype.vim" not found in 'runtimepath': "ftdetect/*.vim" finished sourcing /usr/share/vim/vim90/filetype.vim continuing in /usr/share/vim/vim90/defaults.vim chdir(/usr/share/vim/vim90) fchdir() to previous dir line 97: sourcing "/usr/share/vim/vim90/ftplugin.vim" finished sourcing /usr/share/vim/vim90/ftplugin.vim continuing in /usr/share/vim/vim90/defaults.vim chdir(/usr/share/vim/vim90) fchdir() to previous dir line 97: sourcing "/usr/share/vim/vim90/indent.vim" finished sourcing /usr/share/vim/vim90/indent.vim continuing in /usr/share/vim/vim90/defaults.vim chdir(/usr/share/vim/vim90/syntax) fchdir() to previous dir line 133: sourcing "/usr/share/vim/vim90/syntax/syntax.vim" chdir(/usr/share/vim/vim90/syntax) fchdir() to previous dir line 19: sourcing "/usr/share/vim/vim90/syntax/synload.vim" chdir(/usr/share/vim/vim90/syntax) fchdir() to previous dir line 21: sourcing "/usr/share/vim/vim90/syntax/syncolor.vim" chdir(/usr/share/vim/vim90/colors/lists) fchdir() to previous dir line 53: sourcing "/usr/share/vim/vim90/colors/lists/default.vim" finished sourcing /usr/share/vim/vim90/colors/lists/default.vim continuing in /usr/share/vim/vim90/syntax/syncolor.vim finished sourcing /usr/share/vim/vim90/syntax/syncolor.vim continuing in /usr/share/vim/vim90/syntax/synload.vim finished sourcing /usr/share/vim/vim90/syntax/synload.vim continuing in /usr/share/vim/vim90/syntax/syntax.vim Executing FileType Autocommands for "*" autocommand 0verbose exe "set syntax=" . expand("<amatch>") finished sourcing /usr/share/vim/vim90/syntax/syntax.vim continuing in /usr/share/vim/vim90/defaults.vim finished sourcing /usr/share/vim/vim90/defaults.vim continuing in /home/notfound405/.vimrc finished sourcing $HOME/.vimrc not found in 'packpath': "pack/*/start/*" chdir(/home/notfound405/.vim/plugin) fchdir() to previous dir sourcing "/home/notfound405/.vim/plugin/youcompleteme.vim" finished sourcing /home/notfound405/.vim/plugin/youcompleteme.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/getscriptPlugin.vim" finished sourcing /usr/share/vim/vim90/plugin/getscriptPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/gzip.vim" finished sourcing /usr/share/vim/vim90/plugin/gzip.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/logiPat.vim" finished sourcing /usr/share/vim/vim90/plugin/logiPat.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/manpager.vim" finished sourcing /usr/share/vim/vim90/plugin/manpager.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/matchparen.vim" finished sourcing /usr/share/vim/vim90/plugin/matchparen.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/netrwPlugin.vim" finished sourcing /usr/share/vim/vim90/plugin/netrwPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/rrhelper.vim" finished sourcing /usr/share/vim/vim90/plugin/rrhelper.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/spellfile.vim" finished sourcing /usr/share/vim/vim90/plugin/spellfile.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/tarPlugin.vim" finished sourcing /usr/share/vim/vim90/plugin/tarPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/tohtml.vim" finished sourcing /usr/share/vim/vim90/plugin/tohtml.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/vimballPlugin.vim" finished sourcing /usr/share/vim/vim90/plugin/vimballPlugin.vim chdir(/usr/share/vim/vim90/plugin) fchdir() to previous dir sourcing "/usr/share/vim/vim90/plugin/zipPlugin.vim" finished sourcing /usr/share/vim/vim90/plugin/zipPlugin.vim not found in 'packpath': "pack/*/start/*" not found in 'runtimepath': "plugin/**/*.vim" Reading viminfo file "/home/notfound405/.viminfo" info oldfiles Executing BufEnter Autocommands for "*" autocommand sil call s:LocalBrowse(expand("<amatch>")) Executing VimEnter Autocommands for "*" autocommand call youcompleteme#Enable() chdir(/home/notfound405/.vim/autoload) fchdir() to previous dir line 0: sourcing "/home/notfound405/.vim/autoload/youcompleteme.vim" finished sourcing /home/notfound405/.vim/autoload/youcompleteme.vim continuing in VimEnter Autocommands for "*" Executing VimEnter Autocommands for "*" autocommand sil call s:VimEnter(expand("<amatch>")) Executing CursorMoved Autocommands for "*" autocommand call s:Highlight_Matching_Pair() Executing CursorMoved Autocommands for "*" autocommand call s:OnCursorMovedNormalMode() not found in 'runtimepath': "autoload/youcompleteme/filetypes.vim" not found in 'packpath': "pack/*/start/*/autoload/youcompleteme/filetypes.vim" Error detected while processing CursorMoved Autocommands for "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer: line 12: E117: Unknown function: youcompleteme#filetypes#AllowedForFiletype Error detected while processing CursorMoved Autocommands for "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer[12]..<SNR>25_PollServerReady[14]..<SNR>25_OnFileTypeSet[8]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer: line 14: E121: Undefined variable: allowed Error detected while processing CursorMoved Autocommands for "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer[12]..<SNR>25_PollServerReady[14]..<SNR>25_OnFileTypeSet[8]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer: line 19: E121: Undefined variable: allowed Error detected while processing CursorMoved Autocommands for "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer: line 14: E121: Undefined variable: allowed Error detected while processing CursorMoved Autocommands for "*"..function <SNR>25_OnCursorMovedNormalMode[1]..<SNR>25_AllowedToCompleteInCurrentBuffer[1]..<SNR>25_AllowedToCompleteInBuffer: line 19: E121: Undefined variable: allowed Executing BufUnload Autocommands for "*" autocommand call s:OnBufferUnload() not found in 'runtimepath': "autoload/youcompleteme/filetypes.vim" not found in 'packpath': "pack/*/start/*/autoload/youcompleteme/filetypes.vim" Error detected while processing BufUnload Autocommands for "*"..function <SNR>25_OnBufferUnload[4]..<SNR>25_AllowedToCompleteInBuffer: line 12: E117: Unknown function: youcompleteme#filetypes#AllowedForFiletype line 14: E121: Undefined variable: allowed line 19: E121: Undefined variable: allowed Writing viminfo file "/home/notfound405/.viminfo" Executing VimLeave Autocommands for "*" autocommand call s:OnVimLeave()