search for: write_and_schedul

Displaying 7 results from an estimated 7 matches for "write_and_schedul".

Did you mean: write_and_schedule
2008 May 20
7
Problems sending large results with backgroundrb
...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[fileno]. It looks like the code is expecting the cancel_write call at the end of write_and_schedule to clear it out, but this doesn''t happen if there is enough queued data to cause the non-blocking write to onl...
2008 May 21
2
Schedule write errors?
...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/activerecord/lib/../../activesupport/lib/active_support/whiny_nil.rb:35:in `each_with_index'' from /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `each'' from /opt/local/lib/ruby/gems/1.8/gems/pac...
2008 Jun 15
0
What does this error mean?
...uby/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/activesupport-2.0.2/lib/active_support/whiny_nil.rb:35:in `each_with_index'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `each'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packe...
2008 Apr 03
0
Packet error on startup
...uby/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/activesupport-2.0.2/lib/active_support/whiny_nil.rb:35:in `each_with_index'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `each'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/pa...
2008 Dec 26
4
''stack level too deep'' error
...:19:in `load'' from /usr/bin/packet_worker_runner:19 /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:41:in `write_once'': Packet::DisconnectError (Packet::DisconnectError) from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:52:in `write_and_schedule'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:16:in `each_with_index'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio.rb:51:in `each'' from /usr/lib/ruby/gems/1.8/gems/packet-0.1.6/lib/packet/packet_nbio...
2008 May 23
0
Backgroundrb-devel Digest, Vol 24, Issue 7
...le_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/activerecord/lib/../../ >> activesupport/lib/active_support/whiny_nil.rb:35:in >>> `each_with_index'' >>> from >>> >> /opt/local/lib/ruby/gems/1.8/gems/packet-0....
2008 May 30
5
Upper limit to number of jobs queued by BDRb?
...=>: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 `each'' /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in `each_with_in...