muhkuh0815/siriproxy-Eyelp — Issue #1: problem with methodphitamine
Author: agentbyte
Created: 2012-01-02 16:29:27+00:00
State: open

Hi,

I tried to install the yelp-siri plugin into my siri proxy which works fine without the plugin. After adding the git to config.yml I re-create the siriproxy bundle and receive a warning

WARNING: methodphitamine-1.0.0 has an invalid nil value for @cert_chain

If I then start the proxy, it starts until the first request comes in and then terminates with below error message:

/usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/methodphitamine-1.0.0/lib/methodphitamine/it_class.rb:14: warning: undefining `object_id' may cause serious problems
/usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/methodphitamine-1.0.0/lib/methodphitamine/it_class.rb:14: warning: undefining `__send__' may cause serious problems
/usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/plugin_manager.rb:23:in `const_get': wrong constant name eYelp (NameError)
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/plugin_manager.rb:23:in `block in load_plugins'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/plugin_manager.rb:14:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/plugin_manager.rb:14:in `load_plugins'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/plugin_manager.rb:8:in `initialize'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy.rb:21:in `new'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy.rb:21:in `block (2 levels) in initialize'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/eventmachine.rb:1432:in `call'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/eventmachine.rb:1432:in `event_callback'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy.rb:16:in `initialize'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:96:in `new'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:96:in `start_server'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:85:in `run_server'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/lib/siriproxy/command_line.rb:37:in `initialize'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/bin/siriproxy:6:in `new'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/gems/siriproxy-0.3.0/bin/siriproxy:6:in `'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.3-p0@SiriProxy/bin/siriproxy:19:in `

'

If I remove the eYelp plugin from config.yml, everything works fine again.

Any suggestions ?