Result:

I have a world writable directory in my path (user path only). So Ruby tries to complain about this which means sending the message to the client which doesn't work for some reason (see bug 22495 in ruby).


Sorry for the noise.


Ittay


Ittay Dror wrote:

It turns out that running the server as root works. Apparently, the other issues are as a result of the client actually running as a server on itself or something like that. I'll try to see why I can't run as a normal user.

Ittay

Ittay Dror wrote:


Ittay Dror wrote:

Hi Victor,

I have a buildfile with only this:
puts %{echo hi}

When invoked normally, 'hi' is printed. But when I invoke using the dbuildr script, nothing is printed, except for a message:
deadlock 0xb7fcf1b8: sleep:

this is what i get when running ruby with -d and dbuildr with --trace:
(in /tmp, development)
deadlock 0xb7fbc1bc: sleep:J(0xb7c82410)Exception `Errno::EINVAL' at /usr/lib/ruby/1.8/drb/drb.rb:946 - Invalid argument
(main) - /work/research/buildr/addon/buildr/drb.rb:174
Exception `Errno::EBADF' at /usr/lib/ruby/1.8/drb/drb.rb:936 - Bad file descriptor Exception `DRb::DRbConnError' at /usr/lib/ruby/1.8/drb/drb.rb:570 - connection closed Exception `Errno::EPIPE' at /usr/lib/ruby/1.8/drb/drb.rb:626 - Broken pipe Exception `DRb::DRbConnError' at /usr/lib/ruby/1.8/drb/drb.rb:628 - Broken pipe Exception `DRb::DRbConnError' at /usr/lib/ruby/1.8/drb/drb.rb:608 - Bad file descriptor Exception `Errno::EBADF' at /usr/lib/ruby/1.8/drb/drb.rb:936 - Bad file descriptor
Buildr aborted!
Bad file descriptor
/usr/lib/ruby/1.8/drb/drb.rb:936:in `close'
/usr/lib/ruby/1.8/drb/drb.rb:936:in `close'
/usr/lib/ruby/1.8/drb/drb.rb:1206:in `close'
/usr/lib/ruby/1.8/drb/drb.rb:1188:in `open'
/usr/lib/ruby/1.8/drb/drb.rb:1092:in `method_missing'
/usr/lib/ruby/1.8/drb/drb.rb:1110:in `with_friend'
/usr/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
/tmp/buildfile:1:in ``'
/tmp/buildfile:1

Do you have any idea why this is happening? (I use ruby 1.8.7 and buildr updated 5 minutes ago)

Ittay




--
--
Ittay Dror <[EMAIL PROTECTED]>


Reply via email to