[Backgroundrb-devel] Packet error on startup suddenly.

hemant gethemant at gmail.com
Fri May 30 12:21:03 EDT 2008


Mike discovered a bug there and It could be because of that. If I am
not asking for too much, can you try git version of backgroundrb and
packet.

http://gnufied.org/2008/05/21/bleeding-edge-version-of-backgroundrb-for-better-memory-usage/

Git version has that fix. If you are not inclined in learning git
mumbo,jumbo you can just download tarball and try. BTW, i have the
fix, i will try to backport it to svn.

Thanks for patience.

On Fri, May 30, 2008 at 10:03 AM, Kirk Brown <hueyplong at gmail.com> wrote:
> Hello, I've been using backgroundrb successfully for months now, but
> suddenly I'm getting the error below when trying to start it up. I did
> some searching and I see that someone posted about it last month:
>
> http://rubyforge.org/pipermail/backgroundrb-devel/2008-April/001685.html
>
> Anyone have any idea what could have happened? I made no changes to
> the code or configs, but I did recently update the packages on the
> Debian server that it's running on. Could some package be affecting
> packet 0.1.5?
>
> Here's the error, and thanks for any help you can give me!
>
>
> /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:48:in
> `process_request': undefined method `send_request' for nil:NilClass
> (NoMethodError)
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:27:in
> `handle_object'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:20:in
> `receive_data'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_parser.rb:37:in
> `call'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_parser.rb:37:in
> `extract'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_meta_pimp.rb:18:in
> `receive_data'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:64:in
> `handle_internal_messages'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in
> `handle_read_event'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `each'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `handle_read_event'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
> `start_reactor'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `loop'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `start_reactor'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:21:in
> `run'
>        from /var/www/do512/releases/20080529045546/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in
> `initialize'
>        from script/backgroundrb:42:in `new'
>        from script/backgroundrb:42
> /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:25:in
> `read_data': Packet::DisconnectError (Packet::DisconnectError)
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:46:in
> `handle_internal_messages'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in
> `handle_read_event'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `each'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `handle_read_event'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
> `start_reactor'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `loop'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `start_reactor'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:20:in
> `start_worker'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:133:in
> `fork_and_load'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:96:in
> `load_workers'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:91:in
> `each'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:91:in
> `load_workers'
>        from /usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:20:in
> `run'
>        from /var/www/do512/releases/20080529045546/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in
> `initialize'
>        from script/backgroundrb:42:in `new'
>        from script/backgroundrb:42
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>



-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org


More information about the Backgroundrb-devel mailing list