librelist archives

« back to archive

problem on resque-web when upgrading to rescue 1.23.0

problem on resque-web when upgrading to rescue 1.23.0

From:
Karl Baum
Date:
2012-10-15 @ 15:17
I upgraded from resque 1.20 to 1.23 and when i hit resque-web (only in 
production), i get the following error:

NoMethodError: undefined method `keys' for []:Array
	from 
/app/vendor/bundle/ruby/1.9.1/gems/resque-1.23.0/lib/resque/worker.rb:56:in
`working'
	from (irb):10
	from 
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in
`start'
	from 
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in
`start'
	from 
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:41:in
`<top (required)>'
	from script/rails:6:in `require'
	from script/rails:6:in `<main>'

The problem seems that redis.mapped_mget(*names) is returning an array and
the code expects a hash?  Is there something i need to remove from redis 
when i upgrade?  Maybe i have a wrong version of redis or redis library?  

I am using redis-togo on heroku and my redis gems look like:

redis-3.0.2
redis-namespace-1.2.1

thx!

-karl

Re: [resque] problem on resque-web when upgrading to rescue 1.23.0

From:
Steve Klabnik
Date:
2012-10-15 @ 17:31
Hm, I'm not sure. As far as I know, 1.23.0 should be drop-in.

Would you mind filing a GitHub Issue about this?

Re: [resque] problem on resque-web when upgrading to rescue 1.23.0

From:
Karl Baum
Date:
2012-10-15 @ 18:16
Sure.  Thx!


On Oct 15, 2012, at 1:31 PM, Steve Klabnik wrote:

> Hm, I'm not sure. As far as I know, 1.23.0 should be drop-in.
> 
> Would you mind filing a GitHub Issue about this?