TaDaa / vimade

An eye friendly plugin that fades your inactive buffers and preserves your syntax highlighting!
MIT License
486 stars 8 forks source link

CheckWindows fails #33

Closed ChrisAmelia closed 4 years ago

ChrisAmelia commented 4 years ago

Version:

NVIM v0.5.0-238-gd9ab83d05 Build type: RelWithDebInfo

Previous commit ef5496acac88cd98e9945c0e41f8c105cb36efa9 is fine. Last commit 82406bf27a047d200e21684d485440dd5697f9eb provokes an issue:

Error detected while processing function vimade#Init[15]..vimade#CheckWindows[3]..provider#python3#Call:
line 18: Error invoking 'python_execute' on channel 4 (python3-script-host): Traceback (most recent call last): File "", line 2, in File "/home/0/.local/share/nvim/plugged/vimade/lib/vimade/bridge.py", line 32, in update fader.update(nextState) File "/home/0/.local/share/nvim/plugged/vimade/lib/vimade/fader.py", line 41, in update status = GLOBALS.update() File "/home/0/.local/share/nvim/plugged/vimade/lib/vimade/global_state.py", line 192, in update GLOBALS.base_fade24b = colors.interpolate24b(GLOBALS.base_fg24b, GLOBALS.base_bg24b, GLOBALS.fade_level) File "/home/0/.local/share/nvim/plugged/vimade/lib/vimade/colors.py", line 48, in interpolate24b to = [int(to[1:3], 16), int(to[3:5], 16), int(to[5:7], 16)] ValueError: invalid literal for int() with base 16: ''

:checkhealth's ouput:

11 ## Configuration
12 - OK: no issues found
13
14 ## Performance
15 - OK: Build type: RelWithDebInfo
16
17 ## Remote Plugins
18 - OK: Up to date
19
20 ## terminal
21 - INFO: key_backspace (kbs) terminfo entry: key_backspace=\177
22 - INFO: key_dc (kdch1) terminfo entry: key_dc=\E[3~
23 - INFO: $VTE_VERSION='4205'
24
25 health#provider#check
26 ========================================================================
27 ## Clipboard (optional)
28 - WARNING: No clipboard tool found. Clipboard registers ("+ and "*) will not work.
29 - ADVICE:
30 - :help clipboard
31
32 ## Python 2 provider (optional)
33 - INFO: g:python_host_prog is not set. Searching for python2 in the environment.
34 - INFO: Executable: /usr/bin/python2
35 - INFO: Python version: 2.7.12
36 - INFO: pynvim version: 0.4.0
37 - OK: Latest pynvim is installed.
38
39 ## Python 3 provider (optional)
40 - INFO: g:python3_host_prog is not set. Searching for python3 in the environment.
41 - INFO: Executable: /usr/bin/python3
42 - INFO: Python version: 3.5.2
43 - INFO: pynvim version: 0.4.0
44 - OK: Latest pynvim is installed.
45
46 ## Ruby provider (optional)
47 - WARNING: ruby and gem must be in $PATH.
48 - ADVICE:
49 - Install Ruby and verify that ruby and gem commands work.
50
51 ## Node.js provider (optional)
52 - INFO: Node.js: v10.16.0
53 - INFO: Neovim node.js host: /usr/local/lib/node_modules/neovim/bin/cli.js
54 - OK: Latest "neovim" npm/yarn package is installed: 4.5.0

TaDaa commented 4 years ago

Should be fixed now -- I needed to add a defaults for 24b, let me know if you still are seeing issues