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

File 'nil' does not exist when calling jedi from elisp #224

Closed
nayefc opened this issue Apr 22, 2015 · 1 comment
Closed

File 'nil' does not exist when calling jedi from elisp #224

nayefc opened this issue Apr 22, 2015 · 1 comment

Comments

@nayefc
Copy link

nayefc commented Apr 22, 2015

In some cases, I keep getting File 'nil' does not exist when calling Jedi from Elisp.

This seems to hit this:

(message "File '%s' does not exist." module_path)))

My code:

(jedi:goto-definition 1 `definition))

Or even:

(jedi:goto-definition nil `definition))

I am writing wrappers to jump to the function definitions directly. Here they are:

(defun jedi:goto-definition-same-frame ()
"Jedi goto-definition wrapper to go to definition directly."
  (interactive)
  (jedi:goto-definition nil `definition))

(defun jedi:goto-definition-new-frame ()
  "Jedi goto-definition wrapper in a new, nexts frame."
  (interactive)
  (jedi:goto-definition 1 `definition))

Any idea what is wrong with them?

@nayefc nayefc closed this as completed Sep 19, 2016
@braham-snyder
Copy link

braham-snyder commented Dec 19, 2017

I'm still seeing this error on builtins -- it looks like we should instead be getting "Cannot see the definition of __builtin__." (but module_name is in fact nil, not "__builtin__")? (Due to #265 I suppose.)

If that's correct, perhaps this issue should be re-opened to fix the error message?

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

2 participants