This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Description I installed the most recent version 2.8 and I get:
In [1]: import bblfsh
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-e99ccc08549f> in <module>()
----> 1 import bblfsh
/usr/local/lib/python3.5/dist-packages/bblfsh/__init__.py in <module>()
----> 1 from bblfsh.client import BblfshClient
2 from bblfsh.pyuast import filter, iterator
3 from bblfsh.aliases import *
4
5 class TreeOrder:
/usr/local/lib/python3.5/dist-packages/bblfsh/client.py in <module>()
4 import grpc
5
----> 6 from bblfsh.aliases import ParseRequest, NativeParseRequest, VersionRequest, ProtocolServiceStub
7 from bblfsh.sdkversion import VERSION
8
/usr/local/lib/python3.5/dist-packages/bblfsh/aliases.py in <module>()
24
25 ParseResponse = importlib.import_module(
---> 26 "bblfsh.gopkg.in.bblfsh.sdk.%s.protocol.generated_pb2" % VERSION).ParseResponse
27
28 NativeParseResponse = importlib.import_module(
/usr/lib/python3.5/importlib/__init__.py in import_module(name, package)
124 break
125 level += 1
--> 126 return _bootstrap._gcd_import(name[level:], package, level)
127
128
/usr/local/lib/python3.5/dist-packages/bblfsh/gopkg/in/bblfsh/sdk/v1/protocol/generated_pb2.py in <module>()
101 message_type=None, enum_type=None, containing_type=None,
102 is_extension=False, extension_scope=None,
--> 103 options=None, file=DESCRIPTOR),
104 _descriptor.FieldDescriptor(
105 name='language', full_name='gopkg.in.bblfsh.sdk.v1.protocol.NativeParseRequest.language', index=1,
TypeError: __new__() got an unexpected keyword argument 'file'
Reactions are currently unavailable
I installed the most recent version 2.8 and I get: