On Thu, Jan 24, 2013 at 10:45:50AM -0800, EJI wrote: > > After trimming the fat on the code (removing some participants and > on_error), I got some more interesting information: > > (...) > > errors: 1 > > *** > 0_0_0_0_3!d1ff5dd3dd812f5cdacbd0069a4ce51f!20130124-1835-jenigopo-kizotogu > : > action: dispatch > > message: #<ActiveRecord::RecordNotFound: Couldn't find User with id=4 > [WHERE "users"."del > eted_at" IS NULL]> > > trace: > /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.6/lib/active_record/relation/finder > _methods.rb:341:in `find_one' > /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.6/lib/active_record/relation/finder > _methods.rb:312:in `find_with_ids' > /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.6/lib/active_record/relation/finder > _methods.rb:107:in `find' > /app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.6/lib/active_record/querying.rb:5:i > n `find' > /app/lib/approval_participant.rb:12:in `on_workitem' > /app/vendor/bundle/ruby/1.9.1/bundler/gems/ruote-1fd3945d6376/lib/ruote/svc/dispatch_po > ol.rb:199:in `block in participant_send' > > (...) > > I guess I'm getting the exception in the log since on_error is removed. > > Additional notes: > > - The User record in question has existed for about a day - I can find it > via console
It "has existed", so it doesn't exist anymore and the code in /app/lib/approval_participant.rb can't find? > - Using Postgres on Heroku > - Exception appears to be referencing slightly older code -- if I alter a > participant and re-deploy, could the worker still be referencing an older > version of a participant? Does the worker really get restarted? If it's still the old worker running, it's probably still using the participant it had when it got started. > With this new clue, I think it has to be something more straightforward > (and probably something stupid I'm missing!) Let's continue digging. 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
