[Backgroundrb-devel] nil.send_request = Incorrect worker name?

Andy Watts andywatts at yahoo.com
Tue May 27 21:34:55 EDT 2008


Would greatly appreciate some help with this.
Is the following error caused by an incorrect worker name?

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.send_request
/usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:44:in `ask_worker'

Here's what I'm doing in my rails console.  

MiddleMan.new_worker(:worker => :foo_worker, :job_key => '1')
worker = MiddleMan.worker(:worker => :foo_worker, :job_key => '1')

Querying all workers shows the foo_worker_1 is there..
>> pp MiddleMan.query_all_workers

I'm using rails 2.02, Packet 0.1.5 and Chronic 0.2.3.

I tried the mainline git version but got this error.  It needs a newer version of Packet?
`load_missing_constant': uninitialized constant Packet::BinParser (NameError)

Many Thanks
Andy Watts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080527/1b509fc6/attachment.html>

More information about the Backgroundrb-devel mailing list