Skip to content

Jedi crash. #91

@jonathanslenders

Description

@jonathanslenders
  File "/home/jonathan/git/ptpython/ptpython/utils.py", line 52, t                                                                                 
    namespaces=[locals, globals])                                                                                                                  
  File "/home/jonathan/.virtualenvs/python35/lib/python3.5/site-p_                                                                                 
    self._parser.module())                                                                                                                         
  File "/home/jonathan/.virtualenvs/python35/lib/python3.5/site-pe                                                                                 
    return self._parser().module                                                                                                                   
  File "/home/jonathan/.virtualenvs/python35/lib/python3.5/site-pr                                                                                 
    result = func(self)                                                                                                                            
  File "/home/jonathan/.virtualenvs/python35/lib/python3.5/site-pr                                                                                 
    parser = Parser(self._grammar, self._source, self._path)                                                                                       
  File "/home/jonathan/.virtualenvs/python35/lib/python3.5/site-p_                                                                                 
    self.module = p.parse(self._tokenize(tokenizer))                                                                                               
  File "/home/jonathan/.virtualenvs/python35/lib/python3.5/site-pe                                                                                 
    raise ParseError("incomplete input", type, value, start_pos)                                                                                   
jedi.parser.pgen2.parse.ParseError: incomplete input: type='ENDMA)                                                                                 

During handling of the above exception, another exception occurre:                                                                                 

Traceback (most recent call last):                                                                                                                 
  File "/usr/lib/python3.5/threading.py", line 923, in _bootstrapr                                                                                 
    self.run()                                                                                                                                     
  File "/usr/lib/python3.5/threading.py", line 871, in run                                                                                         
    self._target(*self._args, **self._kwargs)                                                                                                      
  File "/home/jonathan/git/python-prompt-toolkit/prompt_toolkit/in                                                                                 
    completions = list(buffer.completer.get_completions(document,)                                                                                 
  File "/home/jonathan/git/ptpython/ptpython/completer.py", line s                                                                                 
    script = get_jedi_script_from_document(document, self.get_loc)                                                                                 
  File "/home/jonathan/git/ptpython/ptpython/utils.py", line 67, t                                                                                 
    except jedi.ParseError:                     

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions