On Fri, Aug 19, 2011 at 02:41:26AM -0700, Girardin Yoanne wrote:
>
> First, this is my code snippet : https://gist.github.com/28d47535e9dba220e120
>
> For the moment, the SshParticipant only put something in the workitem
> and the ResultParticipant print it.
>
> As you can see, I try to use multiple engines with a Redis storage to
> launch the main process and a subprocess. My goal is to do that in a
> distributed way with possibly hundreds or thousands of hosts on a
> computing grid.
>
> So far, I got this error message :
>
>   20110819-biwarekuki NoMethodError
>   20110819-biwarekuki undefined method `get' for
> {"preserve_configuration"=>true}:Hash
>   20110819-biwarekuki /var/lib/gems/1.8/gems/ruote-redis-2.2.0/lib/
> ruote/redis/storage.rb:350:in `do_get'
>
> (...)

Hello Yoanne/_Taz_,

here is an updated version:

  https://gist.github.com/1157286

It uses ruote and ruote-redis "edge" (github master).

Your version was not working because

a) (my fault) redis storage couldn't be registered as EngineParticipant, since 
they relied on instance of ::Redis, the latest ruote-redis (edge) fixes that. 
Sorry.

b) Your slave and master were pointing to the same redis database (:db => 14), 
making them the same engine...


> Thank you in advance for any help, I'm completely stuck on that for 2
> weeks now.

Why didn't you ask for help two weeks ago ?


Best regards,

--
John Mettraux - http://lambda.io/processi

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to