cod
cod copied to clipboard
UndefinedConversionError when using simple ruby hash
I'm getting the following error when using channel.put and channel.get to pass simple Ruby Hash objects around (1 level of nesting in the hash).
It works for a little while, but as the communication ramps up (4 child processes) I start getting this error consistently.
/.rvm/gems/ruby-2.3.1/gems/cod-0.6.0/lib/cod/iopair.rb:19:in `write': "\xCF" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
Do you have sample code that illustrates the problem?