First of all, as John mentioned in
http://groups.google.com/group/openwferu-users/msg/f3029ef07c2825cd,
I'm building an example Rails app in which I am implementing a sample
workflow, diagrammed at
http://wiki.github.com/threetee/ruote-rails-example/activity-diagram.
I am making good progress (with lots of help from John and Kenneth in
IRC and on the ruote and daemon-kit lists, and all of the human
participants in the workflow are now functioning properly. The example
app is available at
http://github.com/threetee/ruote-rails-example.
See the Usage section of the project's README for instructions on how
to test it out.
So as I mentioned above, although the human participants in my process
are working perfectly, the AMQP participants are not. I have added the
participants to config/initializers/ruote_kit.rb, and have
incorporated them into the pdef in app/models/email.rb. However, once
the process reaches the AMQP participants, I get this error:
#<RuntimeError: unknown expression 'kitty'>
Full trace is below. Any thoughts on why this is happening? Maybe I'm
not registering my AMQP participants properly?
----------
$ cat work_development/errors/go/err_0_0_5_0\!\!20100507-
bodafugigo.json
{"msg":{"_rev":0,"variables":null,"put_at":"2010-05-07 11:45:49.836878
UTC","workitem":{"put_at":"2010-05-07 11:45:38.880416
UTC","wfid":"20100507-
bodafugigo","participant_name":"approver","_id":"wi!0_0_3!!20100507-
bodafugigo","fields":
{"address":"
te...@test.com","forms_not_ok":false,"object_id":
11,"object_type":"email"},"type":"workitems","fei":
{"sub_wfid":null,"wfid":"20100507-
bodafugigo","engine_id":"engine","expid":"0_0_5_0"}},"action":"apply","_id":"13252!
2148237740!2010-05-07!1273232749.836819!024","type":"msgs","parent_id":
{"sub_wfid":null,"wfid":"20100507-
bodafugigo","engine_id":"engine","expid":"0_0_5"},"fei":
{"sub_wfid":null,"wfid":"20100507-
bodafugigo","engine_id":"engine","expid":"0_0_5_0"},"tree":["kitty",
{"command":"/sample/quote"},[]]},"_rev":0,"put_at":"2010-05-07
11:45:49.858716 UTC","_id":"err_0_0_5_0!!20100507-
bodafugigo","type":"errors","trace":"/Library/Ruby/Gems/1.8/gems/
ruote-2.1.10/lib/ruote/worker.rb:353:in
`raise_unknown_expression_error'
/Library/Ruby/Gems/1.8/gems/ruote-2.1.10/lib/ruote/worker.rb:337:in
`launch'
/Library/Ruby/Gems/1.8/gems/ruote-2.1.10/lib/ruote/worker.rb:236:in
`process'
/Library/Ruby/Gems/1.8/gems/ruote-2.1.10/lib/ruote/worker.rb:181:in
`step'
/Library/Ruby/Gems/1.8/gems/ruote-2.1.10/lib/ruote/worker.rb:68:in
`run'
/Users/edennis/Code/testing/ruote-rails-example/vendor/gems/ruote-
kit-2.1.7/lib/ruote-kit.rb:78:in `run_worker!'
/Users/edennis/Code/testing/ruote-rails-example/lib/tasks/
ruote_kit.rake:4
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/monitor.rb:242:in `synchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19","message":"#<RuntimeError: unknown expression
'kitty'>","fei":{"sub_wfid":null,"wfid":"20100507-
bodafugigo","engine_id":"engine","expid":"0_0_5_0"}}
----------
Thanks in advance for any assistance.
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to
openwfe...@googlegroups.com
to unsubscribe : send email to
openwferu-use...@googlegroups.com
more options :
http://groups.google.com/group/openwferu-users?hl=en