curve is not compatible with thrift 0.10.0
- Dominant language
- Python
- Stars
- 827
- Forks
- 189
- PR merge metrics
- No merged PRs in 30d
Description
Error message:
> File "/line/client.py", line 88, in __init__
> self.login()
> File "/line/api.py", line 132, in login
> self.com_name, self.provider, self.certificate)
> File "/Library/Python/2.7/site-packages/curve/CurveThrift.py", line 343, in loginWithIdentityCredentialForCertificate
> self.send_loginWithIdentityCredentialForCertificate(identifier, password, keyname, crypto, keepLoggedIn, accessLocation, systemName, identityProvider, certificate)
> File "/Library/Python/2.7/site-packages/curve/CurveThrift.py", line 358, in send_loginWithIdentityCredentialForCertificate
> args.write(self._oprot)
> File "/Library/Python/2.7/site-packages/curve/CurveThrift.py", line 2416, in write
> oprot.writeString(self.keyname)
> File "/Library/Python/2.7/site-packages/thrift/protocol/TProtocol.py", line 121, in writeString
> self.writeBinary(str_to_binary(str_val))
> File "/Library/Python/2.7/site-packages/thrift/protocol/TCompactProtocol.py", line 42, in nested
> return func(self, *args, **kwargs)
> File "/Library/Python/2.7/site-packages/thrift/protocol/TCompactProtocol.py", line 272, in __writeBinary
> self.trans.write(s)
> File "/Library/Python/2.7/site-packages/thrift/transport/THttpClient.py", line 134, in write
> self.__wbuf.write(buf)
> TypeError: 'unicode' does not have the buffer interface
work around:
`pip install thrift==0.9.3`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.