Created
May 26, 2011 07:08
-
-
Save kitplummer/992693 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
➜ ruote_pp ruby lib/main.rb | |
0 60 pa * {"regex"=>"ping"} | |
1 60 pa * {"regex"=>"pong"} | |
2 60 pa * {"regex"=>"logger"} | |
3 60 pa * {"regex"=>"alpha"} | |
4 60 la * 20110526-bipahemado {:t=>["define", {"name"=>"game"}, [["sequence", {}, [["setup", {}, []], ["repeat", {}, [["play", {}, []], ["break", {"if"=>"${f:count} >= 6"}, []]]]]], ["define", {"setup"=>nil}, [["alpha", {}, []], ["logger", {}, []]]], ["define", {"play"=>nil}, [["ping", {"command"=>"/ping/ping", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []], ["pong", {"command"=>"/pong/pong", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []]]], ["define", {"shout"=>nil}, [["echo", {"Error occured..."=>nil}, []]]]]], :wi=>["0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", 0]} | |
5 60 ap * 20110526-bipahemado fe38f 0_0 {:t=>["define", {"setup"=>nil}, [["alpha", {}, []], ["logger", {}, []]]], :pi=>"0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", :wi=>["0_0!fe38f6352f358445b365c22881c6606a!20110526-bipahemado", 0]} | |
6 60 va * 20110526-bipahemado 2724b 0 {"var"=>"setup"} | |
7 60 re * 20110526-bipahemado 2724b 0 {"updated_tree"=>nil, :wi=>["0_0!fe38f6352f358445b365c22881c6606a!20110526-bipahemado", 0]} | |
8 60 ap * 20110526-bipahemado 8a402 0_1 {:t=>["define", {"play"=>nil}, [["ping", {"command"=>"/ping/ping", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []], ["pong", {"command"=>"/pong/pong", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []]]], :pi=>"0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", :wi=>["0_1!8a4027c0974f660a7596a8258870b222!20110526-bipahemado", 0]} | |
9 60 va * 20110526-bipahemado 2724b 0 {"var"=>"play"} | |
0 60 re * 20110526-bipahemado 2724b 0 {"updated_tree"=>nil, :wi=>["0_1!8a4027c0974f660a7596a8258870b222!20110526-bipahemado", 0]} | |
1 60 ap * 20110526-bipahemado 2ed40 0_2 {:t=>["define", {"shout"=>nil}, [["echo", {"Error occured..."=>nil}, []]]], :pi=>"0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", :wi=>["0_2!2ed401549f0d5a17c3227abe390eb992!20110526-bipahemado", 0]} | |
2 60 va * 20110526-bipahemado 2724b 0 {"var"=>"shout"} | |
3 60 re * 20110526-bipahemado 2724b 0 {"updated_tree"=>nil, :wi=>["0_2!2ed401549f0d5a17c3227abe390eb992!20110526-bipahemado", 0]} | |
4 60 ap * 20110526-bipahemado ec06f 0_3 {:t=>["sequence", {}, [["setup", {}, []], ["repeat", {}, [["play", {}, []], ["break", {"if"=>"${f:count} >= 6"}, []]]]]], :pi=>"0!2724ba93d3b093b0ee703679fb0fa8c3!20110526-bipahemado", :wi=>["0_3!ec06f4a61e904d18f5b425f336132ccb!20110526-bipahemado", 0]} | |
5 60 ap * 20110526-bipahemado 810a0 0_3_0 {:t=>["subprocess", {"ref"=>"setup"}, []], :pi=>"0_3!ec06f4a61e904d18f5b425f336132ccb!20110526-bipahemado", :wi=>["0_3_0!810a0d6ddf9c8b52e61467d8fb67f0d1!20110526-bipahemado", 0]} | |
6 60 la * 20110526-bipahemado 6b24a 0_0 {:t=>["define", {"setup"=>nil}, [["alpha", {}, []], ["logger", {}, []]]], "forgotten"=>nil, :pi=>"0_3_0!810a0d6ddf9c8b52e61467d8fb67f0d1!20110526-bipahemado", :wi=>["0_0!6b24a699d17873420bd4d8b5a11c3ecf!20110526-bipahemado", 0]} | |
7 60 ap * 20110526-bipahemado d3396 0_0_0 {:t=>["participant", {"ref"=>"alpha"}, []], :pi=>"0_0!6b24a699d17873420bd4d8b5a11c3ecf!20110526-bipahemado", :wi=>["0_0_0!d3396ff5060a02304e778071e7ff8696!20110526-bipahemado", 1]} | |
8 60 di * 20110526-bipahemado d3396 0_0_0 {"participant"=>["Ruote::BlockParticipant", {"block"=>"proc do |wi|\n wi.fields[\"state\"] = \"alpha\"\n wi.fields[\"count\"] = 0\nend"}], "participant_name"=>"alpha", :wi=>["0_0_0!d3396ff5060a02304e778071e7ff8696!20110526-bipahemado", 5]} | |
9 60 rc * 20110526-bipahemado d3396 0_0_0 {"participant_name"=>"alpha", "receiver"=>"Ruote::BlockParticipant", :wi=>["0_0_0!d3396ff5060a02304e778071e7ff8696!20110526-bipahemado", 3]} | |
0 60 dd * 20110526-bipahemado d3396 0_0_0 {} | |
1 60 re * 20110526-bipahemado 6b24a 0_0 {"updated_tree"=>nil, :wi=>["0_0_0!d3396ff5060a02304e778071e7ff8696!20110526-bipahemado", 3]} | |
2 60 ap * 20110526-bipahemado 7e2f3 0_0_1 {:t=>["participant", {"ref"=>"logger"}, []], :pi=>"0_0!6b24a699d17873420bd4d8b5a11c3ecf!20110526-bipahemado", :wi=>["0_0_1!7e2f314efaf10825e816d1f8e737af2f!20110526-bipahemado", 4]} | |
State: alpha | |
Count: 0 | |
3 60 di * 20110526-bipahemado 7e2f3 0_0_1 {"participant"=>["Ruote::BlockParticipant", {"block"=>"proc do |workitem|\n puts(\"State: \#{workitem.fields[\"state\"]}\")\n puts(\"Count: \#{workitem.fields[\"count\"]}\")\nend"}], "participant_name"=>"logger", :wi=>["0_0_1!7e2f314efaf10825e816d1f8e737af2f!20110526-bipahemado", 5]} | |
4 60 rc * 20110526-bipahemado 7e2f3 0_0_1 {"participant_name"=>"logger", "receiver"=>"Ruote::BlockParticipant", :wi=>["0_0_1!7e2f314efaf10825e816d1f8e737af2f!20110526-bipahemado", 3]} | |
5 60 dd * 20110526-bipahemado 7e2f3 0_0_1 {} | |
6 60 re * 20110526-bipahemado 6b24a 0_0 {"updated_tree"=>nil, :wi=>["0_0!6b24a699d17873420bd4d8b5a11c3ecf!20110526-bipahemado", 3]} | |
7 60 re * 20110526-bipahemado 810a0 0_3_0 {"updated_tree"=>nil, :wi=>["0_3_0!810a0d6ddf9c8b52e61467d8fb67f0d1!20110526-bipahemado", 3]} | |
8 60 re * 20110526-bipahemado ec06f 0_3 {"updated_tree"=>nil, :wi=>["0_3_0!810a0d6ddf9c8b52e61467d8fb67f0d1!20110526-bipahemado", 3]} | |
9 60 ap * 20110526-bipahemado 67593 0_3_1 {:t=>["repeat", {}, [["play", {}, []], ["break", {"if"=>"${f:count} >= 6"}, []]]], :pi=>"0_3!ec06f4a61e904d18f5b425f336132ccb!20110526-bipahemado", :wi=>["0_3_1!675937d3607a3ff0ff4d617bfbd57a8e!20110526-bipahemado", 3]} | |
0 60 ap * 20110526-bipahemado fbe90 0_3_1_0 {:t=>["subprocess", {"ref"=>"play"}, []], :pi=>"0_3_1!675937d3607a3ff0ff4d617bfbd57a8e!20110526-bipahemado", :wi=>["0_3_1_0!fbe9009040acfc47511637b5071028dd!20110526-bipahemado", 3]} | |
1 60 la * 20110526-bipahemado a5497 0_1 {:t=>["define", {"play"=>nil}, [["ping", {"command"=>"/ping/ping", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []], ["pong", {"command"=>"/pong/pong", "reply_queue"=>"ruote_workitems"}, []], ["logger", {}, []]]], "forgotten"=>nil, :pi=>"0_3_1_0!fbe9009040acfc47511637b5071028dd!20110526-bipahemado", :wi=>["0_1!a5497da9faf5c697e4af1e81847b077d!20110526-bipahemado", 3]} | |
2 60 ap * 20110526-bipahemado 0207b 0_1_0 {:t=>["participant", {"command"=>"/ping/ping", "ref"=>"ping", "reply_queue"=>"ruote_workitems"}, []], :pi=>"0_1!a5497da9faf5c697e4af1e81847b077d!20110526-bipahemado", :wi=>["0_1_0!0207b904439912af20fba501aeb20b8c!20110526-bipahemado", 4]} | |
3 60 er * 20110526-bipahemado 0207b 0_1_0 | |
20110526-bipahemado NoMethodError | |
20110526-bipahemado undefined method `call' for nil:NilClass | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/amqp-f21a8ba/lib/mq/exchange.rb:228:in `initialize' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/amqp-f21a8ba/lib/mq/queue.rb:474:in `new' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/amqp-f21a8ba/lib/mq/queue.rb:474:in `exchange' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/amqp-f21a8ba/lib/mq/queue.rb:370:in `publish' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-amqp-a165b18/lib/ruote-amqp/participant.rb:161:in `consume' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/svc/dispatch_pool.rb:92:in `do_dispatch' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/svc/dispatch_pool.rb:80:in `dispatch' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/svc/dispatch_pool.rb:46:in `handle' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:225:in `process' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:164:in `step' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:73:in `run' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:85:in `run_in_thread' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:85:in `initialize' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:85:in `new' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/worker.rb:85:in `run_in_thread' | |
20110526-bipahemado /Users/kplummer/.rvm/gems/ruby-1.8.7-p334/bundler/gems/ruote-321ee7b/lib/ruote/engine.rb:70:in `initialize' | |
20110526-bipahemado lib/main.rb:9:in `new' | |
20110526-bipahemado lib/main.rb:9 | |
there are processes with errors : | |
process 20110526-bipahemado |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment