Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I'm using the generated thrift client to build a library.
https://github.com/apache/airavata/pull/265
I'm actually blocked with this issue.
{{}}
Failure/Error: send_message('isUserExists', IsUserExists_args, :authzToken => authzToken, :gatewayId => gatewayId, :userName => userName) NoMethodError: undefined method `encode' for :userName:Symbol Did you mean? encoding # ./vendor/bundle/ruby/2.3.0/gems/thrift-0.13.0/lib/thrift/bytes.rb:81:in `convert_to_utf8_byte_buffer' # ./vendor/bundle/ruby/2.3.0/gems/thrift-0.13.0/lib/thrift/protocol/binary_protocol.rb:110:in `write_string' # ./vendor/bundle/ruby/2.3.0/gems/thrift-0.13.0/lib/thrift/client.rb:44:in `write' # ./vendor/bundle/ruby/2.3.0/gems/thrift-0.13.0/lib/thrift/client.rb:44:in `send_message_args' # ./vendor/bundle/ruby/2.3.0/gems/thrift-0.13.0/lib/thrift/client.rb:30:in `send_message' # ./lib/airavata.rb:21:in `send_isUserExists' # ./lib/airavata.rb:16:in `isUserExists' # ./spec/sdk_spec.rb:15:in `block (2 levels) in <top (required)>'
{{}}