Open cyounkins opened 8 years ago
Hi, sorry for missing this.
In SWF, you have to define your domains and activity types first. Is the test
domain activity_task_a
task registered? See http://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-task-lists.html.
I've moved on from this project - I'd encourage you to set it up fresh, try it, and improve the documentation if steps on AWS need to be made.
This library looks really good but I'm having trouble getting it to work!
First, the quickstart doc says to have the following imports:
Well, that results in
ImportError
because all those are under thepyswfaws
module.After fixing that, I get
WorkflowExecutionFailed
with exceptionglobal name 'activity_task_a' is not defined
. I addedfrom activity import activity_task_a
to the top of the decider, but then I getWorkerflowExecutionFailed
with exception'int' object has no attribute 'result'
. I assume this is because the activity is being executed in local mode. How do I fix?Once I get this working I'll send a PR to fix the documentation. Thanks for any help!
Gist with current config: https://gist.github.com/cyounkins/a9f0a0fb87a250fea877d72ae9c3f86c