DRb Return Cant Jump Across Threads

Hello,

I'm experimenting with adding DRb access to a wiki. When a method is called through DRb from irb to the running wiki it always results in the errors:

Server: /opt/local/lib/ruby/site_ruby/1.8/drb/drb.rb:726:in `main_loop': return jump can't across threads (ThreadError)
Client: NameError: undefined method `name' called for from (druby://localhost:8001) /opt/local/lib/ruby/site_ruby/1.8/drb/drb.rb:632:in `check_insecure_method' on the client.

Can anybody give me any hints on what I might have done wrong?

I'm running ruby 1.8.2 (2004-07-29) [powerpc-darwin7.5.0].

Many thanks

Tom

Two things to look for:

callcc

return in a block/proc

ยทยทยท

Thomas Counsell (tamc2@cam.ac.uk) wrote:

Hello,

I'm experimenting with adding DRb access to a wiki. When a method is
called through DRb from irb to the running wiki it always results in
the errors:

Server: /opt/local/lib/ruby/site_ruby/1.8/drb/drb.rb:726:in
`main_loop': return jump can't across threads (ThreadError)
Client: NameError: undefined method `name' called for from
(druby://localhost:8001)
/opt/local/lib/ruby/site_ruby/1.8/drb/drb.rb:632:in
`check_insecure_method' on the client.

Can anybody give me any hints on what I might have done wrong?

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04