Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E605: Exception not caught: NERDTree.InvalidArgumentsError #265

Closed
mpfusion opened this issue May 24, 2013 · 16 comments
Closed

E605: Exception not caught: NERDTree.InvalidArgumentsError #265

mpfusion opened this issue May 24, 2013 · 16 comments

Comments

@mpfusion
Copy link

Steps to reproduce

My .vimrc:

set nocompatible
filetype plugin indent on
let g:NERDTreeQuitOnOpen = 1
let g:NERDTreeChDirMode  = 2

Execute:

cd
mkdir /tmp/somedir
touch /tmp/somedir/somefile
vim

From within vim:

:cd /tmp/somedir
:NERDTreeFind
<cr>j<cr> to open somefile
:bd
:NERDTreeFind

The following error is thrown:

NERDTree: 1 file(s) could not be loaded into the NERD tree
Error detected while processing function nerdtree#findAndRevealPath..149:
line    2:
E605: Exception not caught: NERDTree.InvalidArgumentsError: /tmp should be under /
@ashishgandhi
Copy link

I am also experiencing the same problem (although my use-case is different).

@tony
Copy link

tony commented Jun 8, 2014

Also reported at #256.

@scrooloose: you alive man? Any friends of him know if he's ok? The last twitter post I could find on him was over a year ago, the blog linked to on gh is even later.

@ashishgandhi
Copy link

@tony His last public commit on GitHub was this Jan. Maybe he doesn't tweet or blog anymore. https://github.com/PlayMob/playmob_home_locomotive_engine/commits?author=scrooloose

@Shougo
Copy link

Shougo commented Jun 8, 2014

#311

Unfortunatelly, he does not support this product..

@tony
Copy link

tony commented Jun 8, 2014

I sent him a mail. My gut tell me he's working and even on gh, just not with public commits. On that note @PlayMob would know for sure. They should consider sponsoring him some time for his plugs

@Shougo
Copy link

Shougo commented Jun 8, 2014

I think the collaborators are needed like Vundle.

@ashishgandhi
Copy link

Wait what?! Vundle isn't being supported? I just moved everything from Pathogen for nothing?! 😞

@Shougo
Copy link

Shougo commented Jun 8, 2014

No. Vundle is supported by collaborators. But the original author have not much time to support.

@Shougo
Copy link

Shougo commented Jun 8, 2014

In snipMate, the development is chaotic. A lot of forks confuse users.
So, I think the collaborators are better.

@chrischoy
Copy link

Experiencing the same problem. However, if you

sudo vim

It doesn't complain anymore. Probably one of the ownership might have mixed up.

@PhilRunninger
Copy link
Member

I can't reproduce this. Is this still happening for anyone else?

@tony
Copy link

tony commented Jan 4, 2017

I likely either

  • a. worked around it
  • b. stopped having it due to it being fixed
  • c. system config settings changed since

i'm ok with closing unless it flairs up again

@mkhuda
Copy link

mkhuda commented Apr 14, 2018

This error sometimes occurs when I save the markdown file .md.

@zoumi
Copy link

zoumi commented Apr 20, 2020

1,Create file E:\test.c

2,Put this to vimrc

autocmd! VimEnter * nested call DoWhenVimEnter()

func! DoWhenVimEnter()
    execute 'edit E:/test.c'
    exec ':NERDTreeFind'
    return
endfunc

3,Start gvim

I'm using gvim 8.2 64bit on window7.

@zoumi
Copy link

zoumi commented Apr 20, 2020

image

@PhilRunninger
Copy link
Member

@zoumi, This should be fixed by PR #1122.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants