@@ -8,32 +8,38 @@ Final configuration: `['fail']`
88
99## Logs  
1010``` py 
11- DEBUG     statemachine.engines.base:base.py:374  States to enter: {S0}
12- DEBUG     statemachine.io.scxml.actions:actions.py:443  Error executing actions
13- Traceback (most recent call last):
14-   File " /home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py" 441 , in  datamodel
15-     act(machine = machine)
16-     ~~~^^^^^^^^^^^^^^^^^ 
17-   File " /home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py" 412 , in  data_initializer
18-     value =  _eval(action.expr, ** kwargs)
19-   File " /home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py" 125 , in  _eval
20-     return  eval (expr, {}, kwargs)
21-   File " <string>" 1 , in  < module> 
22-     import  sys;exec (eval (sys.stdin.readline()))
23-     ^^^^^^^^^^^^^ 
24- NameError : name ' _ioprocessors' is  not  defined
11+ DEBUG     statemachine.engines.base:base.py:386  States to enter: {S0}
2512DEBUG     statemachine.engines.sync:sync.py:64  Processing loop started: s0
26- DEBUG     statemachine.io.scxml.actions:actions.py:170  Cond Var1 ->  None 
27- DEBUG     statemachine.io.scxml.actions:actions.py:170  Cond True  ->  True 
28- DEBUG     statemachine.engines.sync:sync.py:89  Eventless/ internal queue: {transition  from  S0 to Fail}
29- DEBUG     statemachine.engines.base:base.py:283  States to exit : {S0}
30- DEBUG     statemachine.engines.base:base.py:374  States to enter: {Fail}
13+ DEBUG     statemachine.io.scxml.actions:actions.py:179  Cond Var1 ->  < statemachine.io.scxml.processor.IOProcessor object  at 0x 7f0f23f91190> 
14+ DEBUG     statemachine.engines.sync:sync.py:89  Eventless/ internal queue: {transition  from  S0 to S1}
15+ DEBUG     statemachine.engines.base:base.py:276  States to exit : {S0}
16+ DEBUG     statemachine.engines.base:base.py:386  States to enter: {S1}
17+ DEBUG     statemachine.io.scxml.actions:actions.py:476  Error executing actions
18+ Traceback (most recent call last):
19+   File " /home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py" 472 , in  __call__ 
20+     action(* args, ** kwargs)
21+     ~~~~~~^^^^^^^^^^^^^^^^^ 
22+   File " /home/macedo/projects/python-statemachine/statemachine/io/scxml/actions.py" 253 , in  __call__ 
23+     raise  ValueError (
24+     ... < 2  lines> ... 
25+     )
26+ ValueError : < assign>  ' location' 
27+ DEBUG     statemachine.engines.sync:sync.py:89  Eventless/ internal queue: {transition error.execution from  S1 to S2}
28+ DEBUG     statemachine.engines.base:base.py:276  States to exit : {S1}
29+ DEBUG     statemachine.engines.base:base.py:386  States to enter: {S2}
30+ DEBUG     statemachine.io.scxml.actions:actions.py:258  Assign: Var2 =  < statemachine.io.scxml.processor.IOProcessor object  at 0x 7f0f23f915b0> 
31+ DEBUG     statemachine.io.scxml.actions:actions.py:179  Cond Var1== Var2 ->  False 
32+ DEBUG     statemachine.engines.sync:sync.py:89  Eventless/ internal queue: {transition  from  S2 to Fail}
33+ DEBUG     statemachine.engines.base:base.py:276  States to exit : {S2}
34+ DEBUG     statemachine.engines.base:base.py:386  States to enter: {Fail}
3135
3236``` 
3337
3438## "On transition" events  
3539``` py 
36- DebugEvent(source = ' s0' event = ' None' data = ' {} ' target = ' fail' 
40+ DebugEvent(source = ' s0' event = ' None' data = ' {} ' target = ' s1' 
41+ DebugEvent(source = ' s1' event = ' error.execution' data = ' {\' event_id\' : None, \' error\' : ValueError("<assign> \' location\'  cannot assign to a protected attribute: _ioprocessors")}' target = ' s2' 
42+ DebugEvent(source = ' s2' event = ' None' data = ' {} ' target = ' fail' 
3743``` 
3844
3945## Traceback  
0 commit comments