vim-geeknote icon indicating copy to clipboard operation
vim-geeknote copied to clipboard

Unable to open file in Neovim 0.1.7

Open jumbosushi opened this issue 7 years ago • 4 comments

Thanks for a great plugin!

I've been able to open file tree, but neovim errors time everytime I try to open a file. Any idea what's causing it?

Neovim version: 0.1.7
Geeknote Version: 2.0.12

Error detected while processing function Vim_GeeknoteActivateNode[4]..provider#python#Call:                                                                                
line   18:                                                                                                                                                                 
Traceback (most recent call last):                                                                                                                                         
  File "<string>", line 2, in <module>                                                                                                                                     
 
 File "/home/atsushi/.config/nvim/plugged/vim-geeknote/plugin/vim_geeknote.py", line 35, in GeeknoteActivateNode                                                          
    explorer.activateNode(vim.current.line)                                                                                                                                
  File "/home/atsushi/.config/nvim/plugged/vim-geeknote/plugin/explorer.py", line 374, in activateNode                                                                     
    node.activate()                                                                                                                                                        
  File "/home/atsushi/.config/nvim/plugged/vim-geeknote/plugin/explorer.py", line 256, in activate                                                                         
    GeeknoteOpenNote(self.note)                                                                                                                                            
  File "/home/atsushi/.config/nvim/plugged/vim-geeknote/plugin/view.py", line 105, in GeeknoteOpenNote                                                                     
    isPrevUsable = GeeknoteIsWindowUsable(prevWin)                                                                                                                         
  File "/home/atsushi/.config/nvim/plugged/vim-geeknote/plugin/view.py", line 218, in GeeknoteIsWindowUsable                                                               
    buftype = getBufferVariable(bnum, 'buftype')                                                                                                                           
  File "/home/atsushi/.config/nvim/plugged/vim-geeknote/plugin/utils.py", line 101, in getBufferVariable                                                                   
    return vim.buffers[bnum].options[var]                                                                                                                                  
  File "/usr/local/lib/python2.7/dist-packages/neovim/api/nvim.py", li                                                                                                     
Press ENTER or type command to continue     

jumbosushi avatar Jun 05 '17 01:06 jumbosushi

Exact same issue in Vim 8.0

nkgm avatar Aug 18 '17 22:08 nkgm

Same problem here -- has anyone found a solution to this?

NVIM v0.2.2 under Arch Linux.

josswright avatar Jan 22 '18 12:01 josswright

Exactly the same issue here.

Also NVIM v0.2.2 under Arch Linux.

Kelvin-Ng avatar Feb 22 '18 06:02 Kelvin-Ng

0.4.0-dev here, same issue.

XayOn avatar May 28 '19 16:05 XayOn