plamoni / SiriProxy

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

Siriproxy don't update localy for example editing #513

Closed HaTe87 closed 11 years ago

HaTe87 commented 11 years ago

hi. i have edited my siriproxy-example.rb , when i try to update siriproxy i recived that: root@raspberrypi:~# siriproxy update . === Installing from '.' === rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:584:in raw_load_rakefile' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:89:inblock in load_rakefile' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:160:in standard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:88:inload_rakefile' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:72:in block in run' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:160:instandard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:70:in run' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `

' (See full trace by running task with --trace)

do i something wrong?

elvisimprsntr commented 11 years ago

try dropping the . also copy the siriproxy.example.yml file to /root/.siriproxy/config.yml if you haven't already.

HaTe87 commented 11 years ago

nothing... same error... and now siriproxy don't work..i think there's some problem with the 0.5.4 release

elvisimprsntr commented 11 years ago

no problem with 0.5.4 here. siriproxy installation can very easily get messed up if one types commands out of order, in an incorrect directory, or incorrect commands. Unfortunately, not knowing exactly what commands you have typed, it is difficult to determine exactly what is messed up.

my recommendation for you is to

  1. reformat the SD card
  2. write the image
  3. perform siriproxy update or gem install siriproxy -v 0.5.4

then confirm siriproxy working before starting to modify things. I think you are making more difficult than it really is.

elvisimprsntr commented 11 years ago

also you are much better off not messing with the example plugin and simply adding your own. this one provides the basic minimum set of files to get started.

https://github.com/elvisimprsntr/siriproxy-rpi

HaTe87 commented 11 years ago

i change " siri proxy up and running " into " siri proxy attivo". i try to reinstall totaly but the problem is the same.and now the proxy dosen't wor..it's freezed on siri proxy up and running and don't do nothing

elvisimprsntr commented 11 years ago

simply telling me "it don't work" does not provide enough information to help you.

the message siriproxy up and running is where it will stop until you launch siri on the device. if you do not see any packets, then you don't have your device configured correctly or you don't have either dnsmasq configured or you did not use the -d option when starting siriproxy. also turn off cellular data and toggle airplane mode off for 5 seconds as it is known that siri will leak over the cellular connection if on. you also need to make sure you have a matched set of certificates between the phone and siriproxy. this is all in the instructions. also, like i said before lets get siriproxy working WITHOUT modifications.

HaTe87 commented 11 years ago

i have reinstalled the image on the sd from 0 and now the server is runnong , but if i run update . it still return me : root@raspberrypi:~# siriproxy update . === Installing from '.' === rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:584:in raw_load_rakefile' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:89:inblock in load_rakefile' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:160:in standard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:88:inload_rakefile' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:72:in block in run' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:160:instandard_exception_handling' /usr/local/rvm/gems/ruby-2.0.0-p0/gems/rake-10.0.4/lib/rake/application.rb:70:in run' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:ineval' /usr/local/rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `

' (See full trace by running task with --trace)

and i have already copy the siriproxy.example.yml file to /root/.siriproxy/config.yml

elvisimprsntr commented 11 years ago

as i mentioned before don't use the "."

HaTe87 commented 11 years ago

without the "." it dosen't apply the change to my example.rb

elvisimprsntr commented 11 years ago

because the siriproxy update command is to update the version of siriproxy itself.
type siriproxy -v to confirm it is configured for 0.5.4.

again, get siriproxy working first before you start messing with files. if you do not want to follow my advice and continue to flail around I will no longer be able to help you.

HaTe87 commented 11 years ago

if i do gem install siriproxy -v 0.5.4 the proxy work fine without any modification

elvisimprsntr commented 11 years ago

good! then it's not a problem with siriproxy or the SD card image. now that we have that out of the way, what exactly are you trying to do?

  1. what complete path and filename are you trying to modify?
  2. what changes did you make?
  3. did you run siriproxy bundle after making the changes?
  4. did the changes persist?
  5. have you tried siriproxy console?
elvisimprsntr commented 11 years ago

i just made changes to the /usr/local/rvm/gems/ruby-2.0.0-p0/gems/siriproxy-0.5.4/plugins/siriproxy-example/lib/siriproxy-example.rb and performed siriproxy bundle and the changes took

elvisimprsntr commented 11 years ago

again, if you want to write your own or use other plugins, modifying the siriproxy-example.rb file is not the correct way to do it.

elvisimprsntr commented 11 years ago

i'm going to close this one since it is neither a problem with siriproxy or the RPi SD card image.