Crash after adding plugins
I add new plugins and i edit my conf.yml file and when i start the server it crashes. here is my terminal error log when i try to use siriproxy bundle
venoms-iMac:~ venom$ rvmsudo siriproxy bundle
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.Password:
/Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:203:in parse': (/Users/venom/.siriproxy/config.yml): did not find expected '-' indicator while parsing a block collection at line 7 column 5 (Psych::SyntaxError) from /Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:203:inparse_stream'
from /Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:151:in parse' from /Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:127:inload'
from /Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:297:in block in load_file' from /Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:297:inopen'
from /Users/venom/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/psych.rb:297:in load_file' from /Users/venom/.rvm/gems/ruby-1.9.3-p374/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:143:inparse_options'
from /Users/venom/.rvm/gems/ruby-1.9.3-p374/gems/siriproxy-0.3.2/lib/siriproxy/command_line.rb:33:in initialize' from /Users/venom/.rvm/gems/ruby-1.9.3-p374/gems/siriproxy-0.3.2/bin/siriproxy:6:innew'
from /Users/venom/.rvm/gems/ruby-1.9.3-p374/gems/siriproxy-0.3.2/bin/siriproxy:6:in <top (required)>' from /Users/venom/.rvm/gems/ruby-1.9.3-p374/bin/siriproxy:19:inload'
from /Users/venom/.rvm/gems/ruby-1.9.3-p374/bin/siriproxy:19:in <main>' from /Users/venom/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:ineval'
from /Users/venom/.rvm/gems/ruby-1.9.3-p374/bin/ruby_noexec_wrapper:14:in `
and here is my conf.yml
listen: 192.168.1.134 port: 443 log_level: 1 plugins: # NOTE: run bundle after changing plugin configurations to update required gems
- name: 'Example'
path: './plugins/siriproxy-example'
- name: 'WhereAmI'
git: 'https://github.com/Swimo/SiriProxy---WhereAmI.git'
# - name: 'Thermostat'
# git: 'git://github.com/plamoni/SiriProxy-Thermostat.git'
# host: '192.168.2.71'
# - name: 'Twitter'
# path: './plugins/siriproxy-twitter' # path works just like specifing in gemfile
# consumer_key: "YOUR_KEY"
# consumer_secret: "YOUR_SECRET"
# oauth_token: "YOUR_TOKEN"
# oauth_token_secret: "YOUR_TOKEN_SECRET"
# Note: Eliza should not be run with other plugins
# - name: 'Eliza'
# path: './plugins/siriproxy-eliza' # path works just like specifing in gemfile
# Below are not actual plugins, just further example of config options
# - SimplePlugin # simple syntax for plugins that are in rubygems and have no config
# - name: 'AnotherPlugin'
# git: 'git://github.com/netpro2k/SiriProxy-AnotherPlugin.git' # git works just like specifying in Gemfile
Side Note. If I remove the plugin i added and just use the example plugin everything works fine.
ok give me a second why i review the output
This probably isn't the reason but your spacing is messed up on this line "- name: 'WhereAmI'" so space "-name" backwards so it lines up with the first one.. like i said probably not the reason but its worth a shot
if that does not fix it tell me cause i have a couple other ideas
any luck?
Damn, your good. That was exactly the problem. I didn't even notice the improper syntax. One last question. After i run the proxy in terminal is there a way to quit or restart it in the same window. Normally i would just close that terminal and open a new one. But i prefer some type of keyboard shortcut. xD. Thanks Again!
control c i beleive
i also created a gui for siriproxy wich makes it easy to start and stop it

Really? That Seems Like A Great Idea. Mind pming or emailing me the dmg?
yeah i could do that but the only thing this is that it is configured for me like we probably have files in different locations and different names..so if you wanted to send me the list of commands that use to start up your server then i could configure it for you
such as this?
venoms-iMac:~ venom$ 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.Password:
Starting SiriProxy on 192.168.1.134:443..
SiriProxy up and running.
Thanks tons in advance
Oh no problem. But what I'm looking for is what you would type into a freshly Opened terminal what commands would you type in(in order) to get the server started.
thats exactly what i type in a new terminal window
http://img707.imageshack.us/img707/4919/screenshot20130128at957.png
Oh wow your lucky then, for some reason whenever I start up my server I have to type in like 5 commands. And what is the path of your SiriProxy folder
The Regular SiriProxy Folder Or The ./SiriProxy folder?
Regular
i believe if you add this in terminal it'll bind siriproxy to a single command. not positive on that though
sudo ln -s ~/.siriproxy /root/.siriproxy
/Users/venom/Desktop/Developer/SiriProxy