Comments (9)
I open a pull request for this, #23.
from aw-watcher-vim.
Similar stuff for me:
Error detected while processing function HTTPPostOnExitNeovim:
line 2:
E716: Key not present in Dictionary: "7"
E116: Invalid arguments for function str2nr
E15: Invalid expression: str2nr(s:http_response_code[l:jobid_str][0])
line 3:
E121: Undefined variable: l:status_code
E116: Invalid arguments for function HTTPPostOnExit
nvim -v:
NVIM v0.5.1
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -DNDEBUG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim/src/neovim-0.5.1/build/config -I/build/neovim/src/neovim-0.5.1/src -I/usr/include -I/build/neovim/src/neovim-0.5.1/build/src/nvim/auto -I/build/neovim/src/neovim-0.5.1/build/include
Compiled by builduser
from aw-watcher-vim.
I am facing the same issue with v0.10.0
nvim: 0.4.4
from aw-watcher-vim.
Interesting, I also use nvim 0.4.4 and v0.10.0 (aw-server-rust) and have not had this issue.
My completely uneducated guess would that there might possibly be something wrong with error handling if for example the server is slow to respond to a heartbeat.
from aw-watcher-vim.
I can confirm that I am having the same issue:
Error detected while processing function HTTPPostOnExitNeovim:
line 2:
E716: Key not present in Dictionary: 4
E116: Invalid arguments for function str2nr
E15: Invalid expression: str2nr(s:http_response_code[l:jobid_str][0])
line 3:
E121: Undefined variable: l:status_code
E116: Invalid arguments for function HTTPPostOnExit%
I am using nvim 0.4.3
.
The only thing that I could add here is that I am using nvim inside wsl and the was watcher runs on my host machine. so I had to enable the plugin by putting the following line in the config:
let g:aw_apiurl_host = <IP_OF_THE_HOST>
from aw-watcher-vim.
Same issue here
from aw-watcher-vim.
+1
from aw-watcher-vim.
Sometimes appears when I exit nvim.
Error detected while processing function HTTPPostOnExitNeovim:
line 2:
E716: Key not present in Dictionary: "13"
E116: Invalid arguments for function str2nr
line 3:
E121: Undefined variable: l:status_code
E116: Invalid arguments for function HTTPPostOnExit%
My Nvim version:
NVIM v0.6.0
Build type: Release
LuaJIT 2.0.5
Compiled by builduser
from aw-watcher-vim.
我尝试注释以下代码后,看似没有再报错了,但这肯定不是一个很好的解决方法
function! HTTPPostOnExitNeovim(jobid, exitcode, eventtype)
"let l:jobid_str = printf('%d', a:jobid)
"let l:status_code = str2nr(s:http_response_code[l:jobid_str][0])
"call HTTPPostOnExit(l:jobid_str, l:status_code)
endfunc
from aw-watcher-vim.
Related Issues (18)
- nvim incompatible HOT 10
- Broken in nvim
- Not working in vim 8 HOT 5
- Add aw-core and aw-client as vendored dependencies
- Broken when more than a single vim instance is running HOT 2
- We are not inclusive enough in the heartbeats HOT 2
- Error: E216: No such group or event: VimSuspend,VimResume * call s:Heartbeat() HOT 2
- Add branch information HOT 5
- Issue with neovim+alacritty
- Can't start watcher, weird channel errors? Data is 000 HOT 3
- Git branch slow on windows - nvim HOT 7
- send filetype name HOT 1
- That watcher is still valid?
- Unable to install aw-client due to failing aw-core requirement HOT 5
- vimwatcher.py crashes when launching nvim: heartbeat() got an unexpected keyword argument HOT 2
- Cumbersome to use within virtual environments HOT 3
- Log messages after startup of VIM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aw-watcher-vim.