Closed Kurvivor19 closed 8 years ago
Hello and thank you for the report! This bug in Jedi was reported as #563 and fixed in Elpy v1.10.
Elpy..............: 1.8.1
Could you upgrade to a current version of Elpy and see if the problem persists?
Lacking further updates, I assume this problem is resolved. Please do not hesitate to open a new issue if you have further questions!
Sorry for not answering earlier. I have upgraded used elpy, and the problem is yet to surface. I will make an issue again if i encounter it
Submitting bug report as for some reason elpy proves to be nearly unusable due to getting this error every 10 seconds or so, any time it should do something useful
Configuration
Virtualenv........: None RPC Python........: 2.7.10 (c:/Python27/python.exe) Interactive Python: python (c:/Python27/python.exe) Emacs.............: 24.5.1 Elpy..............: 1.8.1 Jedi..............: 0.9.0 Rope..............: Not found (0.10.3 available) Importmagic.......: Not found (0.1.7 available) Syntax checker....: pyflakes.exe (c:/Python27/Scripts/pyflakes.exe)
Traceback
Traceback (most recent call last): File "c:\Users\Ivan.emacs.d\elpa\elpy-20150702.1202\elpy\jedibackend.py", line 306, in run_with_debug return getattr(script, name)() File "c:\Python27\lib\site-packages\jedi\apiinit.py", line 188, in completions completion_names = get_completions(user_stmt, b) File "c:\Python27\lib\site-packages\jedi\apiinit.py", line 174, in get_completions completion_names += self._simple_complete(path, dot, like) File "c:\Python27\lib\site-packages\jedi\apiinit.py", line 250, in _simple_complete scopes = list(self._prepare_goto(path, True)) File "c:\Python27\lib\site-packages\jedi\apiinit.py", line 294, in _prepare_goto scopes = self._evaluator.eval_element(eval_stmt) File "c:\Python27\lib\site-packages\jedi\evaluate\cache.py", line 41, in wrapper rv = function(obj, _args, _kwargs) File "c:\Python27\lib\site-packages\jedi\evaluateinit.py", line 169, in eval_element return self._eval_atom(element) File "c:\Python27\lib\site-packages\jedi\evaluateinit.py", line 230, in _eval_atom return self.find_types(scope, atom, stmt.start_pos, search_global=True) File "c:\Python27\lib\site-packages\jedi\evaluateinit.py", line 120, in find_types return f.find(scopes, search_global) File "c:\Python27\lib\site-packages\jedi\debug.py", line 52, in wrapper result = func(_args, _kwargs) File "c:\Python27\lib\site-packages\jedi\evaluate\finder.py", line 86, in find names = self.filter_name(scopes) File "c:\Python27\lib\site-packages\jedi\evaluate\finder.py", line 177, in filter_name names = self.names_dict_lookup(names_dict, position) File "c:\Python27\lib\site-packages\jedi\evaluate\finder.py", line 119, in names_dict_lookup names = names_dict[search_str] File "c:\Python27\lib\site-packages\jedi\parser\fast.py", line 78, in getitem return list(chain.from_iterable(dct.get(value, []) for dct in self.dicts)) File "c:\Python27\lib\site-packages\jedi\parser\fast.py", line 78, in
return list(chain.from_iterable(dct.get(value, []) for dct in self.dicts))
AttributeError: 'MergedNamesDict' object has no attribute 'get'
Jedi Debug Information
[N] dbg: Parsed d:\hq-git\builder\games\wh40k\chaos_marines_v2init.py, with 0 parsers in 78 splits. [W] warning: No statement under the cursor. [N] dbg: start: u'ut' in <Function: check_rules@342-350> [N] dbg: eval_element <Name: ut@344,24>@(344, 24)