2012-09-28 23 views
6

Seguí las sencillas instrucciones de configuración de Sidekiq encontradas en here, pero no pude conseguir que funcionase.Ejecutando `bundle exec sidekiq` throws Celluloid :: DeadTaskError: no se puede reanudar una tarea muerta

Aquí está el seguimiento de la pila. También he comenzado el servidor redis. ¿Alguien sabe lo que me falta aquí?

E, [2012-09-28T09:11:36.468019 #71427] ERROR -- : Celluloid::SupervisionGroup crashed! 
Celluloid::DeadTaskError: cannot resume a dead task 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/tasks/task_fiber.rb:47:in `rescue in resume' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/tasks/task_fiber.rb:44:in `resume' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/responses.rb:11:in `dispatch' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/actor.rb:322:in `handle_message' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/actor.rb:195:in `run' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/actor.rb:184:in `block in initialize' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/thread_handle.rb:12:in `block in initialize' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/internal_pool.rb:48:in `call' 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/internal_pool.rb:48:in `block in create' 
I, [2012-09-28T09:11:36.468316 #71427] INFO -- : Terminating 2 actors... 
I, [2012-09-28T09:11:36.468955 #71427] INFO -- : Shutdown completed cleanly 
/Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/tasks/task_fiber.rb:35:in `yield': uninitialized fiber (FiberError) 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/tasks/task_fiber.rb:35:in `suspend' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/task.rb:19:in `suspend' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/actor.rb:70:in `call' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/proxies/actor_proxy.rb:19:in `_send_' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid.rb:90:in `new_link' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervision_group.rb:133:in `start' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervision_group.rb:120:in `initialize' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervision_group.rb:80:in `new' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervision_group.rb:80:in `add' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervision_group.rb:71:in `supervise_as' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervisor.rb:17:in `block in supervise_as' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/supervision_group.rb:63:in `initialize' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/calls.rb:57:in `dispatch' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/actor.rb:320:in `block in handle_message' 
    from /Users/ernsheong/.rvm/gems/ruby-1.9.3-p0/gems/celluloid-0.12.0/lib/celluloid/tasks/task_fiber.rb:22:in `block in initialize' 
+0

Hola Jonathan, ¿lograste solucionarlo? Estoy teniendo el mismo problema. –

+0

Hola David, no pude conseguir que funcionara en localhost en mi Macbook, pero funciona en el servidor remoto por alguna razón * se encoge de hombros * –

+0

¿Has instalado Redis? si no: brew install redis – westonplatter

Respuesta

0

En caso de que alguien se tropiece con esto de nuevo. Tuve el mismo error al probar el parche Falcon para ruby ​​1.9.3, lo resolví cambiando de 1.9.3-p0-falcon a ruby ​​1.9.3-p327.

Cuestiones relacionadas