[Backgroundrb-devel] worker is not executed
James Cox
james at imajes.info
Sun Dec 3 13:38:02 EST 2006
Hey,
I've got a problem where my worker is not being properly executed....
it used to work in an earlier version of brb, but i realized my
vendor/plugins was out of whack, upgraded to the newer schedule-
oriented release (0.2.1). I can start brb, and run the new_worker
middleman, but ntohing happens.
When putting brb in 'run' mode, i see this:
undefined method `wait' for nil:NilClass - (NoMethodError)
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb/middleman.rb:217:in `new_worker'
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb/thread_pool.rb:36:in `dispatch'
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb/thread_pool.rb:22:in `initialize'
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb/thread_pool.rb:22:in `new'
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb/thread_pool.rb:22:in `dispatch'
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb/middleman.rb:199:in `new_worker'
<snip>
/Users/james/Sites/client/backend/trunk/vendor/plugins/backgroundrb/
server/lib/backgroundrb_server.rb:301:in `run'
script/backgroundrb:29
but i also get a job_key -- But, looking at the code i'm not
convinced this is a serious error.
still, i've tried to execute a logger statement, first line in my
do_work method and it doesn't activate.
Any thoughts?
Best,
James Cox
More information about the Backgroundrb-devel
mailing list