Hey everyone. I’m digging up a issue I’m having since yesterday and it’s time to search for help.
Here are the logs I’m getting on debug mode:
[Mar 8 17:04:56] INFO python: Initializing interpreter, Py_Initialize()
Traceback (most recent call last):
File "/opt/tyk-gateway/coprocess/python/dispatcher.py", line 7, in <module>
from tyk.object import TykCoProcessObject
File "/opt/tyk-gateway/coprocess/python/tyk/object.py", line 6, in <module>
import coprocess_common_pb2 as HookType
File "/opt/tyk-gateway/coprocess/python/proto/coprocess_common_pb2.py", line 82, in <module>
TypeError: __new__() got an unexpected keyword argument 'file'
[Mar 8 17:04:56] ERROR coprocess: can't initialize a dispatcher
Looking at the protobuf python code, it doesn’t seem to have a argument named file (https://github.com/google/protobuf/blob/master/python/google/protobuf/descriptor.py#L795)