Closed jiexray closed 6 years ago
Thank you for reporting the issue. It seems that starting from some version of protobuf/grpc, Stub classes are now created in _pb2_grpc.py
, not in _pb2.py
any longer (after some deprecation period). I guess the error happened on your system as you are using a very recent version of protobuf/grpc. I created a patch at #861.
Thank you for the update, the new merge has finished the bug reported in previous time.
Hello,
I'm running
bess
with my Ubuntu (Linux localhost 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
).After compiling the src code successfully as follows:
I start to run
bess
using:However, I met something strange:
I went to file
bess/pybess/buildin_pb/service_pb2.py
, there is exactly no class namedBESSControlStub
. In fact, I find classBESSControlStub
inservice_pb2_grpc.py
. How can I fix this error.Thank you for sharing your idea.
Best wishes.