Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Sarah Vessels
RE: Bj doesn't seem to be picking up jobs [ reply ]  
2009-04-13 15:33
I'm having the same problem with Rails 2.1.2. They stay marked as 'pending' and #finished? always returns nil. This is from me submitting jobs in ./script/console. I checked and the tables are getting updated. I also get this error when I try to use the command-line version:

bj submit cat /etc/password
F, [2009-04-13T11:22:28.648575 #24692] FATAL -- : can't convert nil into String (TypeError)
/usr/lib/ruby/gems/1.8/gems/bj-1.0.1/bin/bj:434:in `open'
/usr/lib/ruby/gems/1.8/gems/bj-1.0.1/bin/bj:434:in `run'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/base.rb:25:in `call'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/base.rb:25:in `run'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/base.rb:13:in `catch'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/base.rb:13:in `run'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/base.rb:436:in `mode_run!'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/base.rb:10:in `run'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/factories.rb:11:in `run'
/usr/lib/ruby/gems/1.8/gems/main-2.8.3/lib/main/factories.rb:16:in `Main'
/usr/lib/ruby/gems/1.8/gems/bj-1.0.1/bin/bj:6
/usr/bin/bj:19:in `load'
/usr/bin/bj:19

By: Matthew Wilson
Bj doesn't seem to be picking up jobs [ reply ]  
2008-11-19 01:34
I'm using the plugin in Rails 2.1 and can see entries made in bj_config/bj_job tables as well as the "script/bj run --forever..." process running locally. The jobs seem to stay in the table and nothing picks them up. Any ideas?

Thanks!
Matt