I think, you need latest version of packet to go with latest svn
version of backgroundrb.
On Fri, Dec 12, 2008 at 10:59 PM, C?dric <akyrho at gmail.com>
wrote:> Hi everyone,
>
> I get into trouble while running backgroundrb on my MacBook (Mac OS 10.5.5)
>
> - svn version of backgroundrb
> - chronic (0.2.3)
> - packet (0.1.5)
>
> When I run script/backgroundrb, everything seems OK, but when i call a
> worker from IRB, i got this error :
>
>
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:279:in
> `load_missing_constant'': uninitialized constant Packet::BinParser
> (NameError)
> from
>
/Library/Ruby/Gems/1.8/gems/activesupport-2.1.2/lib/active_support/dependencies.rb:468:in
> `const_missing''
> from /Users/cedric/Documents/Aptana
> Studio/tweed/vendor/plugins/backgroundrb/server/lib/master_worker.rb:165:in
> `post_init''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_connection.rb:21:in
> `invoke_init''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:302:in
> `decorate_handler''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:76:in
> `accept_connection''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:202:in
> `handle_external_messages''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:178:in
> `handle_read_event''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `each''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `handle_read_event''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
> `start_reactor''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `loop''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `start_reactor''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:21:in
> `run''
> from /Users/cedric/Documents/Aptana
> Studio/tweed/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in
> `initialize''
> from script/backgroundrb:37:in `new''
> from script/backgroundrb:37
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:25:in
> `read_data'': Packet::DisconnectError (Packet::DisconnectError)
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:46:in
> `handle_internal_messages''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in
> `handle_read_event''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `each''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `handle_read_event''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
> `start_reactor''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `loop''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `start_reactor''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:20:in
> `start_worker''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:133:in
> `fork_and_load''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:96:in
> `load_workers''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:91:in
> `each''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:91:in
> `load_workers''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:20:in
> `run''
> from /Users/cedric/Documents/Aptana
> Studio/tweed/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in
> `initialize''
> from script/backgroundrb:37:in `new''
> from script/backgroundrb:37
> www:tweed cedric$
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:25:in
> `read_data'': Packet::DisconnectError (Packet::DisconnectError)
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:46:in
> `handle_internal_messages''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:176:in
> `handle_read_event''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `each''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:174:in
> `handle_read_event''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:130:in
> `start_reactor''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `loop''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:124:in
> `start_reactor''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:20:in
> `start_worker''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:133:in
> `fork_and_load''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:108:in
> `start_worker''
> from /Users/cedric/Documents/Aptana
> Studio/tweed/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:16:in
> `initialize''
> from
>
/Users/cedric/.gem/ruby/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:19:in
> `run''
> from /Users/cedric/Documents/Aptana
> Studio/tweed/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in
> `initialize''
> from script/backgroundrb:37:in `new''
> from script/backgroundrb:37
>
> I know this problem has already been raised but i can''t have a fix
with
> this. Let me know if more informations are needed.
>
> Any help would be appreciated.
>
>
> --
> Bousmanne C?dric
>
> Jabber / XMPP : akyrho at gmail.com
> Mail : akyrho at gmail.com
> Blog : http://www.parenthese.be/
>
> _______________________________________________
> 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