You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run some examples under multithreading environment,but I but I got a lot of exceptions.
just like:
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\protocol\binary.py", line 386, in read_struct
return read_struct(self.trans, obj, self.decode_response)
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\protocol\binary.py", line 294, in read_struct
f_type, fid = read_field_begin(inbuf)
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\protocol\binary.py", line 189, in read_field_begin
f_type = unpack_i8(inbuf.read(1))
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\transport\__init__.py", line 32, in read
return readall(self._read, sz)
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\transport\__init__.py", line 14, in readall
chunk = read_fn(sz - have)
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\transport\buffered\__init__.py", line 39, in _read
self._rbuf = BytesIO(self._trans.read(max(sz, self._buf_size)))
File "D:\Workspace\work\pypi_packages\thriftpy2src\thriftpy2\transport\socket.py", line 109, in read
buff = self.sock.recv(sz)
AttributeError: 'NoneType' object has no attribute 'recv'
The text was updated successfully, but these errors were encountered:
I tried to run some examples under multithreading environment,but I but I got a lot of exceptions.
just like:
The text was updated successfully, but these errors were encountered: