- changed status to resolved
Missing "output" folder in demos
command: python -m ocellaris dam_break.inp
Traceback (most recent call last): File "$/.hashdist/bld/profile/cszix6vqsttn/lib/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "$/.hashdist/bld/profile/cszix6vqsttn/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "$/ocellaris/ocellaris/main.py", line 120, in <module> main(args.inputfile, args.set_input) File "$/ocellaris/ocellaris/main.py", line 21, in main sim.log.setup() File "$/ocellaris/ocellaris/simulation/log.py", line 80, in setup self.log_file = open(self.log_file_name, 'wt') IOError: [Errno 2] No such file or directory: 'output/dam_break_test.log'
workaround: Add a folder named "output" manually
fix: add a createIfNotExist to log.py:80
Comments (3)
-
-
-
- Log in to comment
Ensure that the output directory exist
Fixes issue
#1→ <<cset 28badcb3061c>>