Hi,<br><br>New BackgrounDrb user struggling for a couple of days to<br>get things up an going.<br><br>System:<br><br>Ruby 1.8.6<br>Packet 0.1.5<br>chronic 0.2.3<br>BackgrounDrb 1.0.3&nbsp; (downloaded 4/02/08 and 4/03/08)<br><br>I installed the packet and chronic gems as per instructions.<br>I used git to download BDrb as per instructions and ran the<br>rake setup script.<br><br>When I run&nbsp; script/backgroundrb from my rails app main<br>directory, I get the following error: <br><br>/usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:145:in `schedule_write': You have a nil object when you didn't expect it! (NoMethodError)<br>The error occurred while evaluating nil.instance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:57:in `write_and_schedule'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/whiny_nil.rb:35:in
 `each_with_index'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `each'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `each_with_index'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `write_and_schedule'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:72:in `dump_object'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:31:in `send_data'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/test/work/vendor/plugins/backgroundrb/server/lib/meta_worker.rb:284:in `register_status'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 9 levels...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from
 /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:20:in `run'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /home/test/work/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in `initialize'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from script/backgroundrb:60:in `new'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from script/backgroundrb:60<br><br>-------------------<br><br>For added background, I installed BDrb from svn earlier and setup<br>a simple worker to count to 100,000 and in my Rails app had an ajax<br>view to issue the "ask_status" on the worker and update the web<br>view with the current location of the "count".&nbsp; I was able to get<br>the ajax view to update automatically once, and then it no longer<br>update as if the worker was hung.&nbsp; I saw in the archives that someone<br>else had a similar problem and it was recommended to download<br>BDrb from the git repository as it had a fix that might help. I <br>did so (and
 removed the old background script that was setup by<br>the svn version and reran the setup script).&nbsp; But the git version does not appeare to even start the background server due to the errors above.<br><br>Any help is appreciated.<br><br>Roggie<br><br><p>&#32;



      <hr size=1>You rock. That's why Blockbuster's offering you <a href="http://us.rd.yahoo.com/evt=47523/*http://tc.deals.yahoo.com/tc/blockbuster/text5.com">one month of Blockbuster Total Access</a>, No Cost.