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

Deferred error when using jedi:get-in-function-call #306

Closed
oracleyue opened this issue Mar 2, 2018 · 1 comment
Closed

Deferred error when using jedi:get-in-function-call #306

oracleyue opened this issue Mar 2, 2018 · 1 comment

Comments

@oracleyue
Copy link

oracleyue commented Mar 2, 2018

For example,

import json
json.dump(

we run the command jedi:get-in-function-call, and then it shows the following error:

deferred error : (error "\"AttributeError(\\\"'Definition' object has no attribute 'get_code'\\\",)\"")

Note that the completion of functions has no problem.

I have limited knowledge to test jedi. Could you give advice on how to locate the issues? (The setup worked well before. Since brew change python3 to be the default, I removed everything and resetup python systems. ) I have tested using python2 env, and the issue remains.

I really want to quickly test if jedi can give the right call-signature list. However, I don't how to use it :)

Many thanks!

Here is the information:
OS: OS X 10.12.6
Emacs: 25.3.1
emacs-jedi: 0.2.7
python: 3.6.4
jedi: 0.11.1
epc: 0.0.5
virtualenv: 15.1.0
argparse: 0.13.0

@oracleyue
Copy link
Author

Fixed by combining the following two fix suggestions: #296 #294

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

1 participant