Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

EOF in multiline statement #203

Open
ncordon opened this issue Jul 23, 2019 · 0 comments
Open

EOF in multiline statement #203

ncordon opened this issue Jul 23, 2019 · 0 comments
Labels

Comments

@ncordon
Copy link
Member

ncordon commented Jul 23, 2019

From the latest bblfsh logs:

Traceback (most recent call last):\n  
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/requestprocessor.py\", line 155, in process_request\n    ast = AstImprover(code, orig_ast).parse()\n  
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 26, in __init__\n    self._tokens: List[Token] = [Token(*i) for i in tokenize.tokenize(BytesIO(codestr.encode('utf-8')).readline)]\n  
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 26, in <listcomp>\n    self._tokens: List[Token] = [Token(*i) for i in tokenize.tokenize(BytesIO(codestr.encode('utf-8')).readline)]\n  
File \"/usr/local/lib/python3.6/tokenize.py\", line 602, in _tokenize\n    raise TokenError(\"EOF in multi-line statement\", (lnum, 0))\ntokenize.TokenError: ('EOF in multi-line statement', (10, 0))\n

Examples of files that triggered the error:

tags/0.9/macsetup.py
tags/0.9.3/macsetup.py
tags/0.9-rc3/macsetup.py
tags/0.9.3.1/macsetup.py
tags/0.9.1/macsetup.py
tags/0.9.4/macsetup.py
tags/0.9-rc2/macsetup.py
tags/0.9.2/macsetup.py
@ncordon ncordon added the bug label Jul 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant