As I explained in the first post, basically the problem is that concurrence
is not cancelling the remaining task after evaluate the wait condition and
proceed to the next task
concurrence count: 1 do
manager task: 'backward_scheduling'
wait until: '${f:scheduled_starting_date}'
end
When we enter the concurrent block an scheduled_starting_date is lower than
today, ruote proceeds to the next task, that's ok, the problem is that the
backward_scheduling task is not cancelled and we get the error I attached
to the previous mail.
many thanks
On Friday, 19 October 2012 12:23:03 UTC+2, John Mettraux wrote:
>
>
> On Fri, Oct 19, 2012 at 03:02:57AM -0700, Emili Parre�o wrote:
> >
> > Hey Danny, thanks for your suggestion, but either using cancel or
> without
> > specify any action (by default ruote cancels the remaining task) doesn't
> > work :(
> > I'm afraid ruote is trying to cancel the task before or while is being
> > created. I get this error
> >
> > NoMethodError: undefined method `[]' for nil:NilClass
> > [GEM_ROOT]/gems/rufus-jig-1.0.0/lib/rufus/jig/couch.rb:133:in `all'
> > [GEM_ROOT]/gems/ruote-couch-2.2.0/lib/ruote/couch/database.rb:85:in
> `get_many'
> > [GEM_ROOT]/gems/ruote-couch-2.2.0/lib/ruote/couch/database.rb:174:in
> `get_many'
> > [GEM_ROOT]/gems/ruote-couch-2.2.0/lib/ruote/couch/storage.rb:116:in
> `get_many'
> >
> [GEM_ROOT]/bundler/gems/ruote-a3596921781c/lib/ruote/part/storage_participant.rb:340:in
>
> `fetch_all'
> >
> [GEM_ROOT]/bundler/gems/ruote-a3596921781c/lib/ruote/part/storage_participant.rb:174:in
>
> `all'
> >
> [GEM_ROOT]/bundler/gems/ruote-a3596921781c/lib/ruote/part/storage_participant.rb:167:in
>
> `each'
>
> Hello Emili,
>
> from your stacktrace we could derive that you are using
>
> - ruote at commit a3596921781c (october 2011)
> - ruote-couch 2.2.0
>
> That's already important information that was missing from your initial
> post.
>
> You get an error but you don't tell what triggered it. Stating "it doesn't
> work" doesn't help us help you.
>
> So how can we reproduce your issue ?
>
>
> Best regards,
>
> --
> John Mettraux - http://lambda.io/jmettraux
>
>
--
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