Created
January 27, 2010 07:49
-
-
Save tosch/287638 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> pdef = Ruote.process_definition{sequence{workflow_step_one; workflow_step_two}} | |
=> ["define", {}, [["sequence", {}, [["workflow_step_one", {}, []], ["workflow_step_two", {}, []]]]]] | |
>> wfid = Ruote.engine.launch pdef | |
=> "20100127-beposopaya" | |
>> Ruote.engine.process(wfid) | |
=> == Ruote::ProcessStatus == | |
expressions : 3 | |
0!!20100127-beposopaya : #<Ruote::Exp::SequenceExpression:0xb6937d88> | |
0_0!!20100127-beposopaya : #<Ruote::Exp::SequenceExpression:0xb69375a4> | |
0_0_0!!20100127-beposopaya : #<Ruote::Exp::ParticipantExpression:0xb6936dc0> | |
errors : 1 | |
0_0_0!!20100127-beposopaya | |
>> errors = Ruote.engine.process(wfid).errors | |
>> puts errors.first.message | |
#<Spec::Example::NoDescriptionError: No description supplied for example group declared on /var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/part/storage_participant.rb:46:in `initialize'> | |
>> puts errors.first.trace | |
/var/lib/gems/1.8/gems/rspec-1.2.9/lib/spec/dsl/main.rb:25:in `context' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/part/storage_participant.rb:46:in `initialize' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/part/participant_list.rb:173:in `new' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/part/participant_list.rb:173:in `lookup' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/part/dispatch_pool.rb:44:in `dispatch' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/worker.rb:236:in `process' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/worker.rb:172:in `step' | |
/var/lib/gems/1.8/gems/ruote-2.1.5/lib/ruote/worker.rb:65:in `run' | |
/home/tsc/git/media_flow/config/initializers/ruote.rb:44:in `run_worker!' | |
/home/tsc/git/media_flow/lib/tasks/ruote.rake:4 | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' | |
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling' | |
/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' | |
/var/lib/gems/1.8/gems/rake-0.8.7/bin/rake:31 | |
/var/lib/gems/1.8/bin/rake:19:in `load' | |
/var/lib/gems/1.8/bin/rake:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment