buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ittay Dror <ittay.d...@gmail.com>
Subject Re: errors trying addon/buildr/drb
Date Mon, 20 Oct 2008 09:04:13 GMT
Also, Buildr.application.buildfile returns the path to the top 
directory, not to the buildfile

Ittay

Ittay Dror wrote:
> Hi,
>
>
> I'm trying the drb addon. I created a dbuildr script as described in 
> the comments and then I launch the server and from another shell try 
> to use it. It runs some commands but then fails:
>
> 0xdbf84a84 is not id value
>
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:375:in `_id2ref'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:375:in `to_obj'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1409:in `to_obj'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1717:in `to_obj'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:613:in 
> `recv_request'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:913:in 
> `recv_request'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1537:in 
> `init_with_client'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1549:in 
> `setup_message'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1501:in `perform'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1596:in `main_loop'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1592:in `loop'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1592:in `main_loop'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1588:in `start'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1588:in `main_loop'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1437:in `run'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1434:in `start'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1434:in `run'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1354:in 
> `initialize'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1634:in `new'
> (druby://127.0.1.1:2112) /usr/lib/ruby/1.8/drb/drb.rb:1634:in 
> `start_service'
> (druby://127.0.1.1:2112) 
> /work/research/buildr/addon/buildr/drb.rb:92:in `run_client'
> (druby://127.0.1.1:2112) 
> /work/research/buildr/addon/buildr/drb.rb:83:in `run'
> (druby://127.0.1.1:2112) dbuildr:5
> /usr/lib/ruby/1.8/fileutils.rb:1460:in `fu_output_message'
> /usr/lib/ruby/1.8/fileutils.rb:198:in `mkpath'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1072:in `mkpath'
> /work/research/buildr/lib/buildr/core/filter.rb:177:in `run'
> /work/research/buildr/lib/buildr/core/compile.rb:410:in `initialize'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute'
> /work/research/buildr/lib/buildr/core/application.rb:593:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /work/research/buildr/lib/buildr/core/application.rb:579:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in 
> `invoke_prerequisites'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/compile.rb:388:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/application.rb:586:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /work/research/buildr/lib/buildr/core/application.rb:579:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in 
> `invoke_prerequisites'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/compile.rb:388:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/application.rb:586:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /work/research/buildr/lib/buildr/core/application.rb:579:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in 
> `invoke_prerequisites'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/test.rb:470:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/application.rb:586:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /work/research/buildr/lib/buildr/core/application.rb:579:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in 
> `invoke_prerequisites'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in 
> `invoke_prerequisites'
> /work/research/buildr/lib/buildr/core/application.rb:586:in 
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /work/research/buildr/lib/buildr/core/application.rb:579:in 
> `invoke_with_call_chain'
> /work/research/buildr/lib/buildr/core/application.rb:574:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in `invoke_task'
> /work/research/buildr/lib/buildr/core/application.rb:228:in `top_level'
> /work/research/buildr/lib/buildr/core/application.rb:228:in `each'
> /work/research/buildr/lib/buildr/core/application.rb:228:in `top_level'
> /work/research/buildr/lib/buildr/core/application.rb:466:in 
> `standard_exception_handling'
> /work/research/buildr/lib/buildr/core/application.rb:219:in `top_level'
> /work/research/buildr/addon/buildr/drb.rb:167:in `remote_run'
> /work/research/buildr/addon/buildr/drb.rb:141:in `remote_run'
> /work/research/buildr/addon/buildr/drb.rb:134:in `with_config'
> /work/research/buildr/addon/buildr/drb.rb:141:in `remote_run'
> /usr/lib/ruby/1.8/drb/drb.rb:1562:in `__send__'
> /usr/lib/ruby/1.8/drb/drb.rb:1562:in `perform_without_block'
> /usr/lib/ruby/1.8/drb/drb.rb:1522:in `perform'
> /usr/lib/ruby/1.8/drb/drb.rb:1596:in `main_loop'
> /usr/lib/ruby/1.8/drb/drb.rb:1592:in `loop'
> /usr/lib/ruby/1.8/drb/drb.rb:1592:in `main_loop'
> /usr/lib/ruby/1.8/drb/drb.rb:1588:in `start'
> /usr/lib/ruby/1.8/drb/drb.rb:1588:in `main_loop'
> /usr/lib/ruby/1.8/drb/drb.rb:1437:in `run'
> /usr/lib/ruby/1.8/drb/drb.rb:1434:in `start'
> /usr/lib/ruby/1.8/drb/drb.rb:1434:in `run'
> /usr/lib/ruby/1.8/drb/drb.rb:1354:in `initialize'
> /usr/lib/ruby/1.8/drb/drb.rb:1634:in `new'
> /usr/lib/ruby/1.8/drb/drb.rb:1634:in `start_service'
> /work/research/buildr/addon/buildr/drb.rb:99:in `run_server'
> /work/research/buildr/addon/buildr/drb.rb:114:in `run_server!'
> /work/research/buildr/addon/buildr/drb.rb:85:in `run'
> dbuildr:5
> /usr/lib/ruby/1.8/drb/drb.rb:848:in `initialize': Address already in 
> use - bind(2) (Errno::EADDRINUSE)
>    from /usr/lib/ruby/1.8/drb/drb.rb:848:in `open'
>    from /usr/lib/ruby/1.8/drb/drb.rb:848:in `open_server_inaddr_any'
>    from /usr/lib/ruby/1.8/drb/drb.rb:864:in `open_server'
>    from /usr/lib/ruby/1.8/drb/drb.rb:759:in `open_server'
>    from /usr/lib/ruby/1.8/drb/drb.rb:757:in `each'
>    from /usr/lib/ruby/1.8/drb/drb.rb:757:in `open_server'
>    from /usr/lib/ruby/1.8/drb/drb.rb:1346:in `initialize'
>    from /usr/lib/ruby/1.8/drb/drb.rb:1634:in `new'
>    from /usr/lib/ruby/1.8/drb/drb.rb:1634:in `start_service'
>    from /work/research/buildr/addon/buildr/drb.rb:99:in `run_server'
>    from /work/research/buildr/addon/buildr/drb.rb:114:in `run_server!'
>    from /work/research/buildr/addon/buildr/drb.rb:85:in `run'
>    from dbuildr:5
>
>
> Thanks,
>
> Ittay
>
>

-- 
--
Ittay Dror <ittay.dror@gmail.com>



Mime
View raw message