plamoni/SiriProxy — Issue #242: CFPropertyList: Unknown class NilClass.
Author: Salax-
Created: 2012-01-02 00:25:46+00:00
State: open

I get this error after connecting my device:
```Starting SiriProxy on port 443..
Create server for iPhone connection
start conn #, @zip_stream=#, @consumed_ace=false, @auth_data=nil, @faux=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#>]
{"speech_id"=>nil, "assistant_id"=>nil, "session_data"=>nil}
[Warning] Non-4S device connected.
{"speech_id"=>nil, "assistant_id"=>nil, "session_data"=>nil}
[Info - iPhone] Received Object: CreateSessionInfoRequest
[Info - Guzzoni] Received Object: CreateSessionInfoResponse
[Info] Found cached session data.
[Info] Found cached speech id.
[Info] Found cached assistant id.
[Info - iPhone] Received Object: LoadAssistant
/home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:151:in `guess': Unknown class NilClass. Try using :convert_unknown_to_string if you want to use unknown object types! (CFTypeError)
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:125:in `block in guess'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:123:in `each_pair'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:123:in `guess'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:125:in `block in guess'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:123:in `each_pair'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:123:in `guess'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/CFPropertyList-2.0.17/lib/rbCFPropertyList.rb:371:in `to_plist'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/connection.rb:192:in `inject_object_to_output_stream'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/connection.rb:134:in `process_compressed_data'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/connection.rb:102:in `receive_binary_data'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/em/protocols/linetext2.rb:94:in `receive_data'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy.rb:16:in `initialize'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:96:in `new'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:96:in `start_server'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:85:in `run_server'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:37:in `initialize'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/bin/siriproxy:6:in `new'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/bin/siriproxy:6:in `'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `load'
from /home/servs/.rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `

'
zlib(finalizer): the stream was freed prematurely.
zlib(finalizer): the stream was freed prematurely.
```
I've tried reinstalling the CFPropertyList gem as the wiki suggests, but that didn't change anything.