On 10/29/07, Maarten <[EMAIL PROTECTED]> wrote: > > I have a custom listener that launches new processes by passing a > LaunchItem to handle_object. This gives the following exception: > > W, [2007-10-29T10:24:24.695484 #398] WARN -- : > OpenWFE::SchedulerService 'scheduler' - trigger() caught exception > exception : wrong number of arguments (1 for 2) > /usr/local/lib/ruby/gems/1.8/gems/openwferu-0.9.15/lib/openwfe/engine/ > engine.rb:223:in `launch' > /usr/local/lib/ruby/gems/1.8/gems/openwferu-0.9.15/lib/openwfe/engine/ > engine.rb:223:in `reply' > /usr/local/lib/ruby/gems/1.8/gems/openwferu-0.9.15/lib/openwfe/ > listeners/listener.rb:90:in `handle_object' > > I think there's a bug in Engine#reply which calls > ExpressionPool#launch, which expects two arguments instead of one. > > Another thing I noticed was that listeners do not accept LaunchItems > by default, which is not clear from the documentation or the source. I > had to set accept_launchitems to true.
Hi Marteen, I fixed these issues and clarified the accept_launchitems thinggy 4 days ago. http://fisheye3.cenqua.com/changelog/openwferu/trunk/openwfe-ruby/lib/openwfe/listeners?cs=1188 Thanks for the feedback, -- John Mettraux -///- http://jmettraux.openwfe.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
