thriftpy icon indicating copy to clipboard operation
thriftpy copied to clipboard

when i use timeout_decorator, always raise PickleingError

Open vhysug opened this issue 6 years ago • 1 comments

I set a client to threading.Local() variable, I dont know whether it is related to the problem e.g. thread.Lcoal().client = make_client() and use the timeout_decorator, not use_signals Here is the exception: PicklingError: Can't pickle <type 'cybin.TCyBinaryProtocol'>: import of module cybin failed

How to fix this?

vhysug avatar Oct 19 '18 11:10 vhysug

Please re-install thriftpy with pip install cython thriftpy and try again.

ethe avatar Oct 22 '18 05:10 ethe