kschiess / cod

Small framework to simplify process-to-process communication.
http://kschiess.github.io/cod/
MIT License
73 stars 3 forks source link

UndefinedConversionError when using simple ruby hash #5

Open ksouthworth opened 8 years ago

ksouthworth commented 8 years ago

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)
kschiess commented 8 years ago

Do you have sample code that illustrates the problem?