Hi,
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')
worker.bar()
Querying all workers shows the foo_worker_1 is there..
>> pp MiddleMan.query_all_workers
{:type=>:all_worker_status}
{:log_worker=>nil,
:foo_worker_1=>{:rand=>679}}
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
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel