instedd / verboice

Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations
http://verboice.instedd.org/
GNU General Public License v3.0
43 stars 18 forks source link

Record command doesn't work after updating therubyracer #264

Closed waj closed 9 years ago

waj commented 9 years ago

Record command is failing after updating therubyracer gem to 0.11.0beta1

Stacktrace:

{{{ Exception NoMethodError: undefined method to_i' for [object global]:V8::Object /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/object.rb:55:inmethod_missing' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:172:in record_url' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:141:inblock in new_v8_context' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/access/invocation.rb:16:in call' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/access/invocation.rb:16:inmethodcall' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/access/invocation.rb:4:in methodcall' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/conversion/code.rb:33:inblock in call' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/error/protect.rb:4:in protect' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/conversion/code.rb:23:incall' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:28:in Run' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:28:inblock (2 levels) in eval' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/error/try.rb:6:in block in try' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/error/try.rb:5:incall' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/error/try.rb:5:in TryCatch' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/error/try.rb:5:intry' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:28:in block in eval' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:102:inblock (2 levels) in lock_scope_and_enter' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:99:in call' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:99:inHandleScope' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:99:in block in lock_scope_and_enter' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:98:incall' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:98:in Locker' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:98:inlock_scope_and_enter' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:77:in enter' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/gems/therubyracer-0.11.0beta1/lib/v8/context.rb:26:ineval' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:66:in eval' /Users/aromero/Documents/Projects/verboice/app/models/commands/trace_command.rb:34:inrun' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:124:in run_command' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:82:inblock in run' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:80:in loop' /Users/aromero/Documents/Projects/verboice/app/models/session.rb:80:inrun' /Users/aromero/Documents/Projects/verboice/app/models/base_broker.rb:115:in accept_call' /Users/aromero/Documents/Projects/verboice/app/models/asterisk/call_manager.rb:30:inagi_post_init' /Users/aromero/.rvm/gems/ruby-1.9.3-rc1@verboice/bundler/gems/batphone-6475f47d4d44/lib/batphone/fibered_fast_agi_protocol.rb:9:in `block in agi_post_init' }}}


waj commented 9 years ago

Fixed #264: Added missing collaborator sent to every lambda by the new version of therubyracer.

→ <<cset 2271cdada85f>>


waj commented 9 years ago

Ok in fbd6c7a2722b


waj commented 9 years ago

Removing milestone: 2012-w26 (automated comment)