Closed lucamozza closed 11 years ago
ok, just solved the biteerror problem, I didn't read carefully other posts with the same name. Now I have another problem :(
luca@ubuntu-vm:~/SiriProxy$ rvmsudo siriproxy server
Warning: can not check /etc/sudoers
for secure_path
, falling back to call via /usr/bin/env
, this breaks rules from /etc/sudoers
. export rvmsudo_secure_path=1 to avoid the warning.[sudo] password for luca:
Starting SiriProxy on port 443..
SiriProxy up and running.
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x9a96524 @signature=3, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#encode': "\x8E" on UTF-8 (Encoding::InvalidByteSequenceError) from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:217:in
charset_convert'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:442:in string_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:48:in
to_binary'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in block in dict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in
map'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in dict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:243:in
to_binary'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in block in dict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in
map'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in dict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:243:in
to_binary'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:70:in to_str' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:363:in
to_str'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:398:in to_plist' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/connection.rb:150:in
inject_object_to_output_stream'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/connection.rb:90:in process_compressed_data' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/connection.rb:58:in
receive_binary_data'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/eventmachine-1.0.0/lib/em/protocols/linetext2.rb:94:in receive_data' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
run_machine'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy.rb:16:in
initialize'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:96:in new' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:96:in
start_server'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:85:in run_server' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:37:in
initialize'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/bin/siriproxy:6:in new' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/bin/siriproxy:6:in
<top (required)>'
from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/bin/siriproxy:23:in load' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/bin/siriproxy:23:in
It looks like a loop... Thanks again, Luca
That is the same error as the first time.
Mmh yes you're right. How can I fix it? I did what jharvey83 says here https://github.com/plamoni/SiriProxy/issues/389 But it doesn't work... I don't understand how to do what flash66 says. Thanks again
I ran:
gem install CFPropertyList -v 2.1.2
and then edited the siriproxy.gemspec to show be
s.add_runtime_dependency('CFPropertyList', '2.1.2')
as shown here: https://github.com/Deanmv/SiriProxy/commit/8bc3a4e0afbd3c56677ac44cc134727d3b142bdc
Thanks, I did it, but this is the result for me: http://youtu.be/BqFdGNrl1uc
Never seen that before, looked like it was working but not sure what the error at the end was.
I installed it again on a fresh ubuntu virtual machine, this time this was part of the output...
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: SpeechPacket
[Info - iPhone] Received Object: FinishSpeech
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x9e8aba8 @signature=967, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#connect_server': unable to resolve server address (EventMachine::ConnectionError) from /home/luca/.rvm/gems/ruby-1.9.3-p362/gems/eventmachine-1.0.0/lib/eventmachine.rb:664:in
bind_connect'
from /home/luca/.rvm/gems/ruby-1.9.3-p362/gems/eventmachine-1.0.0/lib/eventmachine.rb:640:in connect' from /home/luca/SiriProxy/lib/siriproxy/connection/iphone.rb:20:in
ssl_handshake_completed'
from /home/luca/.rvm/gems/ruby-1.9.3-p362/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in run_machine' from /home/luca/.rvm/gems/ruby-1.9.3-p362/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
run'
from /home/luca/SiriProxy/lib/siriproxy.rb:16:in initialize' from /home/luca/SiriProxy/lib/siriproxy/command_line.rb:96:in
new'
from /home/luca/SiriProxy/lib/siriproxy/command_line.rb:96:in start_server' from /home/luca/SiriProxy/lib/siriproxy/command_line.rb:85:in
run_server'
from /home/luca/SiriProxy/lib/siriproxy/command_line.rb:37:in initialize' from /home/luca/SiriProxy/bin/siriproxy:6:in
new'
from /home/luca/SiriProxy/bin/siriproxy:6:in <top (required)>' from /home/luca/.rvm/gems/ruby-1.9.3-p362/bin/siriproxy:19:in
load'
from /home/luca/.rvm/gems/ruby-1.9.3-p362/bin/siriproxy:19:in <main>' from /home/luca/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in
eval'
from /home/luca/.rvm/gems/ruby-1.9.3-p362/bin/ruby_noexec_wrapper:14:in `
Can anybody help me? I also tried to edit the CFPropertyList adding s.add_runtime_dependency('CFPropertyList', '=2.1.2') instead of s.add_runtime_dependency('CFPropertyList', '2.1.2') as suggested by someone, but I still get this error :( I even reinstalled ubuntu and did it again but I couldn't solve the problem. Thanks in advantage, Luca
Looks like DNS problems. Try siriproxy update --branch dev
and see if that fixes it.
The CFProperty list problem has been resolved in master. Do a siriproxy update
to get the fix.
I looked around in the issues section, but I couldn't understend how to fix this problem. here the result:
start conn #<SiriProxy::Connection::Iphone:0x8ce734c @signature=3, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#, @zip_stream=#Zlib::Deflate:0x8ce720c, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x8ae5b70 @manager=#<SiriProxy::PluginManager:0x8ce6aa0 @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x8ae57d8 @signature=5, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#, @zip_stream=#Zlib::Deflate:0x8ae5620, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x8ae3adc @manager=#<SiriProxy::PluginManager:0x8ae4d9c @plugins=[...]>>]
Create server for iPhone connection
start conn #<SiriProxy::Connection::Iphone:0x8aeb228 @signature=7, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#, @zip_stream=#Zlib::Deflate:0x8aeb110, @consumed_ace=false, @name="iPhone", @ssled=false>
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Example:0x8aeaabc @manager=#<SiriProxy::PluginManager:0x8aeae04 @plugins=[...]>>]
[Info - iPhone] Received Object: LoadAssistant
/home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:217:in '
encode': "\x8E" on UTF-8 (Encoding::InvalidByteSequenceError) from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:217:in
charset_convert' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:442:instring_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:48:in
to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:inblock in dict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in
map' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:indict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:243:in
to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:inblock in dict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:in
map' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:550:indict_to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFTypes.rb:243:in
to_binary' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbBinaryCFPropertyList.rb:70:into_str' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:363:in
to_str' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/CFPropertyList-2.2.0/lib/rbCFPropertyList.rb:398:into_plist' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/connection.rb:150:in
inject_object_to_output_stream' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/connection.rb:90:inprocess_compressed_data' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/connection.rb:58:in
receive_binary_data' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/eventmachine-1.0.0/lib/em/protocols/linetext2.rb:94:inreceive_data' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
run_machine' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:inrun' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy.rb:16:in
initialize' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:96:innew' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:96:in
start_server' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:85:inrun_server' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:37:in
initialize' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/bin/siriproxy:6:innew' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/gems/siriproxy-0.3.2/bin/siriproxy:6:in
<top (required)>' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/bin/siriproxy:23:inload' from /home/luca/.rvm/gems/ruby-1.9.3-p362@SiriProxy/bin/siriproxy:23:in
Can anybody help me? Thanks, Luca