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

Overflow error #206

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

Overflow error #206

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 we got this error:

rpc error: code = Internal desc = 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 39, in parse\n res = self.visit(self._astdict, root=True)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 66, in visit\n visit_result = meth(node)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 264, in visit_other\n node[field] = meth(child)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 271, in visit_other_field\n return [self.visit(x) for x in node]\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 271, in <listcomp>\n return [self.visit(x) for x in node]\n
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 66, in visit\n visit_result = meth(node)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 264, in visit_other\n node[field] = meth(child)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 269, in visit_other_field\n return self.visit(node)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 66, in visit\n visit_result = meth(node)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 264, in visit_other\n node[field] = meth(child)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 271, in visit_other_field\n return [self.visit(x) for x in node]\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 271, in <listcomp>\n return [self.visit(x) for x in node]\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 66, in visit\n visit_result = meth(node)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 264, in visit_other\n node[field] = meth(child)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 271, in visit_other_field\n return [self.visit(x) for x in node]\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 271, in <listcomp>\n return [self.visit(x) for x in node]\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 66, in visit\n visit_result = meth(node)\n 
File \"/opt/driver/bin/.local/lib/python3.6/site-packages/python_driver/astimprove.py\", line 130, in visit_Num\n elif not math.isfinite(node[\"n\"]):\nOverflowError: int too large to convert to float\n

Files that triggered the error:

src/gdata/tlslite/mathtls.py
third_party/tlslite/tlslite/mathtls.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