I have the following relevant software/versions:
powerline-status 2.6 (installed from pip)
python 3.6.4
neovim 0.2.3-890
I have never installed powerline before, so this isn't a working installation that broke. The following is the error I got:
Error detected while processing function provider#python3#Call:
line 18:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/wade/.local/lib/python3.6/site-packages/powerline/vim.py", line 15, in <module>
from powerline.bindings.vim import vim_get_func, vim_getvar, get_vim_encoding, python_to_vim
File "/home/wade/.local/lib/python3.6/site-packages/powerline/bindings/vim/__init__.py", line 44, in <module>
vim_encoding = get_vim_encoding()
File "/home/wade/.local/lib/python3.6/site-packages/powerline/bindings/vim/__init__.py", line 25, in get_vim_encoding
return vim.options['encoding'].decode('ascii') or 'ascii'
AttributeError: 'str' object has no attribute 'decode'
Relevant settings from my vimrc:
set encoding=utf-8
py3 << EOF
from powerline.vim import setup as powerline_setup
powerline_setup()
del(powerline_setup)
EOF
I haven 't enabled the statusline yet only because I didn't get that far, yet.
Anyone have a clue as to how I can clean up this error, please?