plamoni / SiriProxy

A (tampering) proxy server for Apple's Siri
GNU General Public License v3.0
2.12k stars 343 forks source link

CFPropertyList error - UK iPhone 5 #390

Closed ghost closed 11 years ago

ghost commented 11 years ago

I've just installed siriproxy as per the instructions.

I'm using an iPhone 5 in the UK.

Siriproxy runs ok until I activate Siri on my phone, at which point it errors out with the following:

Starting SiriProxy on port 443.. SiriProxy up and running. Create server for iPhone connection start conn #<SiriProxy::Connection::Iphone:0x9ea5124 @signature=3, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#, @zip_stream=#Zlib::Deflate:0x9ea5034, @consumed_ace=false, @name="iPhone", @ssled=false> [Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0xa3d6bac @manager=#<SiriProxy::PluginManager:0x9ea4b84 @plugins=[...]>>] [Info - iPhone] Received Object: LoadAssistant /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:217:in encode': "\xA2" on UTF-8 (Encoding::InvalidByteSequenceError) from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:217:incharset_convert' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:442:in string_to_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:48:into_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in block in dict_to_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:inmap' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in dict_to_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:243:into_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in block in dict_to_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:inmap' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in dict_to_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:243:into_binary' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:70:in to_str' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:363:into_str' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:398:in to_plist' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/connection.rb:150:ininject_object_to_output_stream' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/connection.rb:90:in process_compressed_data' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/connection.rb:58:inreceive_binary_data' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/eventmachine-1.0.0/lib/em/protocols/linetext2.rb:94:in receive_data' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:inrun_machine' from /home/mike/.rvm/gems/ruby-1.9.3-p327@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run' from /home/mike/siriproxy/SiriProxy/lib/siriproxy.rb:16:ininitialize' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/command_line.rb:96:in new' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/command_line.rb:96:instart_server' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/command_line.rb:85:in run_server' from /home/mike/siriproxy/SiriProxy/lib/siriproxy/command_line.rb:37:ininitialize' from ./bin/siriproxy:6:in new' from ./bin/siriproxy:6:in

' mike@vxr:~/siriproxy/SiriProxy$

ghost commented 11 years ago

I've just noticed the issue below appears to be the same issue. My apologies.

plamoni commented 11 years ago

This has been fixed in master. Do a siriproxy update to get the fix.