Hi, found the error in my workflow where I used an ActiveSupport Duration
call_rescheduler :reschedule_delay_time => 5.minutes after changing to: call_rescheduler :reschedule_delay_time => 5.minutes.to_s it works .. Btw. you marked ruote-mon as experimental, so I guess its not a good idea to use it in production, the #todos list some missing implementations too, what is the road-map for that? Thanks, Marco Am 15.06.2012 um 12:31 schrieb Marco S: > Hi John, > > I'm new to this list. I work with ruote for some time now, and I'm > really impressed. > Today I wanted to give ruote-mon a try, but it fails with the > following error when defining a process. > > /Users/pixelvitamina/.rvm/gems/ruby-1.9.3-head@hhp-dashboard/gems/ > bson-1.6.4/lib/bson/bson_c.rb:24:in `serialize': Cannot serialize an > object of class ActiveSupport::Duration into BSON. > (BSON::InvalidDocument) > from /Users/pixelvitamina/.rvm/gems/ruby-1.9.3-head@hhp-dashboard/ > gems/bson-1.6.4/lib/bson/bson_c.rb:24:in `serialize' > from /Users/pixelvitamina/.rvm/gems/ruby-1.9.3-head@hhp-dashboard/ > gems/mongo-1.6.4/lib/mongo/collection.rb:437:in `update' > from /Users/pixelvitamina/.rvm/gems/ruby-1.9.3-head@hhp-dashboard/ > bundler/gems/ruote-mon-08d0a498fd32/lib/ruote/mon/storage.rb:116:in > `put' > from /Users/pixelvitamina/.rvm/gems/ruby-1.9.3-head@hhp-dashboard/ > bundler/gems/ruote-65acf4c1436b/lib/ruote/storage/base.rb:235:in > `put_engine_variable' > from /Users/pixelvitamina/.rvm/gems/ruby-1.9.3-head@hhp-dashboard/ > bundler/gems/ruote-65acf4c1436b/lib/ruote/dashboard.rb:1125:in `[]=' > from /Users/pixelvitamina/Development/Projects/hhp-dashboard/config/ > initializers/ruote-kit.rb:60:in `process_definition' > > I use mongodb v2.0.6, but the same happens with v2.0.2 > > Thank you! > Marco > > -- > 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 -- 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
