6

我按照此处找到的 Sidekiq 的简单设置说明进行操作,但无法正常工作。

这是堆栈跟踪。我也启动了redis服务器。有人知道我在这里想念什么吗?

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'
4

1 回答 1

0

以防有人再次偶然发现这一点。在试用 ruby​​ 1.9.3 的 falcon 补丁时遇到了同样的错误,通过从 1.9.3-p0-falcon 切换到 ruby​​ 1.9.3-p327 解决了它。

于 2013-01-11T15:17:01.373 回答