|
| 1 | +# Testcase: test239 |
| 2 | + |
| 3 | +FileNotFoundError: File not found. |
| 4 | + |
| 5 | +Final configuration: `No configuration` |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## Logs |
| 10 | +```py |
| 11 | +DEBUG statemachine.engines.base:base.py:556 States to enter: {S0, S01} |
| 12 | +DEBUG statemachine.engines.base:base.py:629 Entering state: S0 |
| 13 | +DEBUG statemachine.engines.base:base.py:125 New event 'timeout' put on the 'external' queue |
| 14 | +DEBUG statemachine.engines.base:base.py:629 Entering state: S01 |
| 15 | +DEBUG statemachine.engines.sync:sync.py:78 Processing loop started: {s0, s01} |
| 16 | +DEBUG statemachine.engines.sync:sync.py:92 Macrostep: eventless/internal queue |
| 17 | + |
| 18 | +``` |
| 19 | + |
| 20 | +## "On transition" events |
| 21 | +```py |
| 22 | +OnEnterState(state='s0', event='__initial__', data='{}') |
| 23 | +OnTransition(source='', event='__initial__', data='{}', target='s0') |
| 24 | +OnEnterState(state='s01', event='__initial__', data='{}') |
| 25 | +``` |
| 26 | + |
| 27 | +## Traceback |
| 28 | +```py |
| 29 | +Traceback (most recent call last): |
| 30 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/tests/scxml/test_scxml_cases.py", line 164, in _run_scxml_testcase |
| 31 | + sm = processor.start(listeners=listeners) |
| 32 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/io/scxml/processor.py", line 256, in start |
| 33 | + self.root = self.root_cls(**kwargs) |
| 34 | + ~~~~~~~~~~~~~^^^^^^^^^^ |
| 35 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/statemachine.py", line 164, in __init__ |
| 36 | + self._engine.start() |
| 37 | + ~~~~~~~~~~~~~~~~~~^^ |
| 38 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/engines/sync.py", line 38, in start |
| 39 | + self.activate_initial_state() |
| 40 | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ |
| 41 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/engines/sync.py", line 58, in activate_initial_state |
| 42 | + return self.processing_loop() |
| 43 | + ~~~~~~~~~~~~~~~~~~~~^^ |
| 44 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/engines/sync.py", line 116, in processing_loop |
| 45 | + self.invoke_manager.spawn_sync(state, config, internal_event) |
| 46 | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 47 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/invoke.py", line 102, in spawn_sync |
| 48 | + child_sm = self._create_child(config, invokeid, invocation, trigger_data) |
| 49 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/invoke.py", line 212, in _create_child |
| 50 | + processor.parse_scxml_file(path) |
| 51 | + ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ |
| 52 | + File "/Users/fernando.macedo/projects/python-statemachine-invoke/statemachine/io/scxml/processor.py", line 76, in parse_scxml_file |
| 53 | + scxml_content = path.read_text() |
| 54 | + File "/Users/fernando.macedo/.local/share/uv/python/cpython-3.13.1-macos-aarch64-none/lib/python3.13/pathlib/_local.py", line 546, in read_text |
| 55 | + return PathBase.read_text(self, encoding, errors, newline) |
| 56 | + ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 57 | + File "/Users/fernando.macedo/.local/share/uv/python/cpython-3.13.1-macos-aarch64-none/lib/python3.13/pathlib/_abc.py", line 632, in read_text |
| 58 | + with self.open(mode='r', encoding=encoding, errors=errors, newline=newline) as f: |
| 59 | + ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 60 | + File "/Users/fernando.macedo/.local/share/uv/python/cpython-3.13.1-macos-aarch64-none/lib/python3.13/pathlib/_local.py", line 537, in open |
| 61 | + return io.open(self, mode, buffering, encoding, errors, newline) |
| 62 | + ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 63 | +FileNotFoundError: [Errno 2] No such file or directory: 'test239sub1.scxml' |
| 64 | + |
| 65 | +``` |
0 commit comments