[coc.nvim] Error when do action({"name":"open","args":["tab"]})
[coc.nvim] Error: call_atomic request error on "nvim_call_function": Vim(call):E5555: API call: Wrong type for argument 1 when calling nvim_win_set_width, expecting Window
Result from CocInfo
versions
vim version: NVIM v0.7.0
node version: v16.14.0
coc.nvim version: 0.0.80-103e7de1 2022-05-12 20:52:42 +0800
coc.nvim directory: /home/ding/.vim/plugged/coc.nvim
term: xterm-256color
platform: linux
Log of coc.nvim
2022-05-13T22:20:39.900 INFO (pid:144848) [services] - registered service "highlight"
2022-05-13T22:20:40.202 INFO (pid:144848) [plugin] - coc.nvim initialized with node: v16.14.0 after 488ms
2022-05-13T22:20:40.777 INFO (pid:144848) [attach] - receive notification: runCommand [ 'explorer', '--quit-on-open', '--position', 'left', '--width', '50' ]
2022-05-13T22:20:40.877 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:40.886 INFO (pid:144848) [attach] - receive notification: runCommand [
'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1',
'BufDelete',
2
]
2022-05-13T22:20:40.886 INFO (pid:144848) [attach] - receive notification: runCommand [
'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
'BufDelete',
2
]
2022-05-13T22:20:40.895 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:40.938 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:41.188 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:41.433 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:41.785 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:42.210 INFO (pid:144848) [attach] - receive notification: highlight []
2022-05-13T22:20:43.513 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:43.692 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:44.003 INFO (pid:144848) [attach] - receive notification: highlight []
2022-05-13T22:20:44.263 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:44.711 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:44.882 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:45.068 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:45.377 INFO (pid:144848) [attach] - receive notification: highlight []
2022-05-13T22:20:45.451 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:45.761 INFO (pid:144848) [attach] - receive notification: highlight []
2022-05-13T22:20:48.112 INFO (pid:144848) [attach] - Request action: doKeymap [ 'explorer-key-n-[c-t]' ]
2022-05-13T22:20:48.148 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:48.166 INFO (pid:144848) [attach] - receive notification: runCommand [
'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2',
'TabEnter',
1
]
2022-05-13T22:20:48.182 ERROR (pid:144848) [node-client] - call_atomic request error 0 on "nvim_call_function" [
'coc_explorer#resize',
[
2,
{ name: 'left', arg: undefined },
{
width: 50,
height: 0,
left: 0,
top: 0,
border_bufnr: null,
border_enable: true,
border_chars: [Array],
title: 'coc-explorer'
}
]
] Vim(call):E5555: API call: Wrong type for argument 1 when calling nvim_win_set_width, expecting Window Error
at aA.resumeNotification (/home/ding/.vim/plugged/coc.nvim/build/index.js:32:1302)
at vA.resumeNotification (/home/ding/.vim/plugged/coc.nvim/build/index.js:35:5485)
at Nc.openWrap (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:5643)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Sc.tab (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:7616)
at async Tw (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:8419)
at async xu.Sw.t.addNodeAction.select (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:9483)
at async xu.callback (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:303:34569)
at async xs.doAction (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:317:38914)
at async xs.doActionExp (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:317:38575)
2022-05-13T22:20:48.184 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ]
2022-05-13T22:20:49.347 INFO (pid:144848) [attach] - receive notification: highlight []
2022-05-13T22:20:52.951 INFO (pid:144848) [attach] - receive notification: showInfo []
Steps to reproduce
Steps to reproduce the behavior:
Describe the bug
when use
t
to open in new tab I got this:[coc.nvim] Error when do action({"name":"open","args":["tab"]}) [coc.nvim] Error: call_atomic request error on "nvim_call_function": Vim(call):E5555: API call: Wrong type for argument 1 when calling nvim_win_set_width, expecting Window
Result from CocInfo
versions
vim version: NVIM v0.7.0 node version: v16.14.0 coc.nvim version: 0.0.80-103e7de1 2022-05-12 20:52:42 +0800 coc.nvim directory: /home/ding/.vim/plugged/coc.nvim term: xterm-256color platform: linux
Log of coc.nvim
2022-05-13T22:20:39.900 INFO (pid:144848) [services] - registered service "highlight" 2022-05-13T22:20:40.202 INFO (pid:144848) [plugin] - coc.nvim initialized with node: v16.14.0 after 488ms 2022-05-13T22:20:40.777 INFO (pid:144848) [attach] - receive notification: runCommand [ 'explorer', '--quit-on-open', '--position', 'left', '--width', '50' ] 2022-05-13T22:20:40.877 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:40.886 INFO (pid:144848) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_m1_v0_13_0_coc_helper_1', 'BufDelete', 2 ] 2022-05-13T22:20:40.886 INFO (pid:144848) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2', 'BufDelete', 2 ] 2022-05-13T22:20:40.895 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:40.938 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:41.188 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:41.433 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:41.785 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:42.210 INFO (pid:144848) [attach] - receive notification: highlight [] 2022-05-13T22:20:43.513 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:43.692 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:44.003 INFO (pid:144848) [attach] - receive notification: highlight [] 2022-05-13T22:20:44.263 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:44.711 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:44.882 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:45.068 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:45.377 INFO (pid:144848) [attach] - receive notification: highlight [] 2022-05-13T22:20:45.451 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:45.761 INFO (pid:144848) [attach] - receive notification: highlight [] 2022-05-13T22:20:48.112 INFO (pid:144848) [attach] - Request action: doKeymap [ 'explorer-key-n-[c-t]' ] 2022-05-13T22:20:48.148 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:48.166 INFO (pid:144848) [attach] - receive notification: runCommand [ 'coc-helper.internal.didVimEvent_m1_v0_13_0_explorer_2', 'TabEnter', 1 ] 2022-05-13T22:20:48.182 ERROR (pid:144848) [node-client] - call_atomic request error 0 on "nvim_call_function" [ 'coc_explorer#resize', [ 2, { name: 'left', arg: undefined }, { width: 50, height: 0, left: 0, top: 0, border_bufnr: null, border_enable: true, border_chars: [Array], title: 'coc-explorer' } ] ] Vim(call):E5555: API call: Wrong type for argument 1 when calling nvim_win_set_width, expecting Window Error at aA.resumeNotification (/home/ding/.vim/plugged/coc.nvim/build/index.js:32:1302) at vA.resumeNotification (/home/ding/.vim/plugged/coc.nvim/build/index.js:35:5485) at Nc.openWrap (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:5643) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Sc.tab (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:7616) at async Tw (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:8419) at async xu.Sw.t.addNodeAction.select (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:304:9483) at async xu.callback (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:303:34569) at async xs.doAction (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:317:38914) at async xs.doActionExp (/home/ding/.config/coc/extensions/node_modules/coc-explorer/lib/index.js:317:38575) 2022-05-13T22:20:48.184 INFO (pid:144848) [attach] - receive notification: doAutocmd [ 1 ] 2022-05-13T22:20:49.347 INFO (pid:144848) [attach] - receive notification: highlight [] 2022-05-13T22:20:52.951 INFO (pid:144848) [attach] - receive notification: showInfo []
Steps to reproduce Steps to reproduce the behavior:
open
t
to open file in new tabExpected behavior
no error message Screenshots
Additional context None