sartography / spiff-example-cli

GNU Lesser General Public License v3.0
38 stars 10 forks source link

No multi_instan_array.bpmn file #6

Closed kwang1971 closed 2 years ago

kwang1971 commented 2 years ago

When running the sample of ExampleCode-multi-save-restor.py, could not find the target bpmn file.

(env_spiff) D:\2021\Python\spiffexample\SpiffExample>python ExampleCode-multi-save-restore.py Traceback (most recent call last): File "ExampleCode-multi-save-restore.py", line 39, in x.add_bpmn_file('multi_instance_array.bpmn') File "D:\2021\Python\env_spiff\lib\site-packages\SpiffWorkflow\bpmn\parser\BpmnParser.py", line 116, in add_bpmn_file self.add_bpmn_files([filename]) File "D:\2021\Python\env_spiff\lib\site-packages\SpiffWorkflow\bpmn\parser\BpmnParser.py", line 130, in add_bpmn_files f = open(filename, 'r') FileNotFoundError: [Errno 2] No such file or directory: 'multi_instance_array.bpmn'

danfunk commented 2 years ago

Sorry I missed this Kwang, and thank you for following up and closing it now that we have a fix in place. Some of these changes are dependent on the master branch of SpiffWorkflow and are not a part of any release yet. But we plan to do a release soon.