Skip to content
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

E117: Unknown function: ale#events#Init when starting NeoVIM with ALE after update #1706

Closed
jsreid13 opened this issue Jul 8, 2018 · 5 comments

Comments

@jsreid13
Copy link

jsreid13 commented Jul 8, 2018

Information

VIM version

NVIM v0.2.2
Build type: RelWithDebInfo

Operating System: Ubuntu 16.04 LTS

:ALEInfo

Current Filetype:
Available Linters: []
Enabled Linters: []
Linter Variables:

Global Variables:

let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = v:null
let g:ale_echo_msg_format = v:null
let g:ale_echo_msg_warning_str = v:null
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_keep_list_window_open = v:null
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'always'
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_open_list = v:null
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = v:null
let g:ale_sign_error = v:null
let g:ale_sign_offset = v:null
let g:ale_sign_warning = v:null
let g:ale_statusline_format = v:null
let g:ale_warn_about_trailing_whitespace = 1
Command History:

What went wrong

Upon starting NeoVIM after updating an error is displayed saying:

Error detected while processing /home/josh/.vim/plugged/ale/plugin/ale.vim:
line  220:
E117: Unknown function: ale#events#Init
Press ENTER or type command to continue

Reproducing the bug

Used the command vim in terminal after updating ALE then this error is displayed

@w0rp
Copy link
Member

w0rp commented Jul 8, 2018

Try removing ALE and installing it again. You probably have two versions installed at the same time.

@jsreid13
Copy link
Author

jsreid13 commented Jul 8, 2018

I just commented the line out in my init.vim file for ale Plug 'w0rp/ale' and ran :PlugClean after restarting nvim to delete ALE. I then ran :PlugInstall to reinstall it and upon restarting nvim it shows the same error message to terminal again. Is there another way to ensure I'm deleting all versions?

@w0rp
Copy link
Member

w0rp commented Jul 8, 2018

Look at :echo &runtimepath, go through every directory listed in there, and remove ALE from all of those paths.

@jsreid13
Copy link
Author

jsreid13 commented Jul 8, 2018

Thanks that worked! There was a lingering path at ~/.vim/pack/git-plugins/start/ale that wasn't cleared by PlugClean. After deleting that folder and reinstalling ALE the error was fixed.

@jsreid13 jsreid13 closed this as completed Jul 8, 2018
@w0rp
Copy link
Member

w0rp commented Jul 8, 2018

Cool, sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants