search for: schedule_writ

Displaying 6 results from an estimated 6 matches for "schedule_writ".

Did you mean: schedule_write
2008 May 20
7
Problems sending large results with backgroundrb
...om the latest svn mirror. We have found and fixed one problem in the packet sender. This is triggered when the non-blocking send in NbioHelper::send_once cannot send the entire buffer, resulting in an exception in the line write_scheduled[fileno] ||= connections[fileno].instance in Core::schedule_write because connections[fileno] is nil. I can''t claim to fully understand the code, but I think there are two problems here. The main issue seems to be that when Core::handle_write_event calls write_and_schedule to schedule the write, it doesn''t clear out internal_scheduled_write[f...
2008 May 21
2
Schedule write errors?
...tly bails out with the following exception in the middle of a long running task running on a Worker sub classed from BackgrounDRb::MetaWorker (the point at which it raises this exception is different each time it runs) /opt/local/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) The error occurred while evaluating nil.instance from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:57:in `write_and_schedule'' from /Users/joel/git/deathstar/vendor/rails/active...
2008 Jun 15
0
What does this error mean?
...1007.log This seems to happen in a non-repeatable way - so every 2 days or sometimes after 4-5 days, my b/g process dies with this error. Is this something anyone else has seen - any fixes? Thanks, Raghu ===============true /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) The error occurred while evaluating nil.instance from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:57:in `write_and_schedule'' from /usr/lib/ruby/gems/1.8/gems/activesup...
2008 Apr 03
0
Packet error on startup
...the packet and chronic gems as per instructions. I used git to download BDrb as per instructions and ran the rake setup script. When I run script/backgroundrb from my rails app main directory, I get the following error: /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) The error occurred while evaluating nil.instance from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:57:in `write_and_schedule'' from /usr/lib/ruby/gems/1.8/gems/activesu...
2008 May 23
0
Backgroundrb-devel Digest, Vol 24, Issue 7
...unning on a Worker sub classed >>> from BackgrounDRb::MetaWorker (the point at which it raises this >> exception >>> is different each time it runs) >>> >> /opt/local/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) >>> The error occurred while evaluating nil.instance from >>> >> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/ >> packet_nbio.rb:57:in >>> `write_a...
2008 May 30
5
Upper limit to number of jobs queued by BDRb?
...t;All Done!!!", :subject=>"Completed processing for : 275 users"}, :worker_method=>:email_admin} You have a nil object when you didn''t expect it! The error occurred while evaluating nil.instance /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:145:in `schedule_write'' /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:57:in `write_and_schedule'' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/whiny_nil.rb:35:in `each_with_index'' /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in...