plamoni/SiriProxy — Issue #21: Error - undefined method `each_slice'
Author: dadiy
Created: 2011-11-22 16:32:34+00:00
State: open

So I have everything setup and can successfully get a response to Test Siri Proxy, however as soon as I ask a standard command like what time is it? I get the following - any idea anyone?

[Info - iPhone] Object: SpeechPacket
[Info - iPhone] Object: SpeechPacket
[Info - iPhone] Object: FinishSpeech
[Info - Guzzoni] Object: SpeechRecognized
[Recognized Speech] What time is it
[Info - Guzzoni] Object: AddViews
/usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:237:in `charset_strlen': undefined method `each_slice' for # (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:442:in `string_to_binary'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbCFTypes.rb:40:in `to_binary'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:549:in `dict_to_binary'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:549:in `map'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:549:in `dict_to_binary'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbCFTypes.rb:238:in `to_binary'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:549:in `dict_to_binary'
from /usr/local/lib/ruby/gems/1.8/gems/CFPropertyList-2.0.17/lib/rbBinaryCFPropertyList.rb:549:in `map'
... 22 levels...
from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from ./siriProxy.rb:246:in `initialize'
from start.rb:16:in `new'
from start.rb:16
zlib(finalizer): the stream was freed prematurely.