From: Eric Hodel Date: 2004-10-11T04:34:59+09:00 Subject: Re: DRb Return Cant Jump Across Threads --yQDbd2FCF2Yhw41T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thomas Counsell (tamc2@cam.ac.uk) wrote: > Hello, >=20 > I'm experimenting with adding DRb access to a wiki. When a method is=20 > called through DRb from irb to the running wiki it always results in=20 > the errors: >=20 > Server: /opt/local/lib/ruby/site_ruby/1.8/drb/drb.rb:726:in=20 > `main_loop': return jump can't across threads (ThreadError) > Client: NameError: undefined method `name' called for from=20 > (druby://localhost:8001)=20 > /opt/local/lib/ruby/site_ruby/1.8/drb/drb.rb:632:in=20 > `check_insecure_method' on the client. >=20 > Can anybody give me any hints on what I might have done wrong? Two things to look for: callcc return in a block/proc --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --yQDbd2FCF2Yhw41T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFBaY7hMypVHHlsnwQRAu+EAJ498NJ006RK46ee6vm020tThdcpzwCg3LnA 7QFppZeSQ1NGEzjwbE8IhFI= =LYRp -----END PGP SIGNATURE----- --yQDbd2FCF2Yhw41T--