Skip to content

[Bug] Error when trying to generate the report of the simulation #631

@mahendrark

Description

@mahendrark

I ran a simulation successfully and then tried to generate the report using:

mvs_report -i MVS_outputs/json_input_processed.json -o path_pdf_report

This resulted in the following error:

Traceback (most recent call last):
  File "/home/mr/Projects/dev_envs/mvspvcomp/bin/mvs_report", line 11, in <module>
    load_entry_point('multi-vector-simulator', 'console_scripts', 'mvs_report')()
  File "/home/mr/Projects/multi-vector-simulator/src/multi_vector_simulator/cli.py", line 232, in report
    test_app = create_app(dict_values, path_sim_output=path_sim_output)
  File "/home/mr/Projects/multi-vector-simulator/src/multi_vector_simulator/F2_autoreport.py", line 562, in create_app
    asset_folder = copy_report_assets(path_sim_output)
  File "/home/mr/Projects/multi-vector-simulator/src/multi_vector_simulator/utils/__init__.py", line 193, in copy_report_assets
    assets_folder = shutil.copytree(
  File "/usr/lib/python3.8/shutil.py", line 546, in copytree
    with os.scandir(src) as entries:
FileNotFoundError: [Errno 2] No such file or directory: '/home/mr/Projects/multi-vector-simulator/src/assets'

Checklist to make sure that the bug report ist complete:

  • OS: Xubuntu 18.02
  • Branch: dev
  • If applicable: Attach full error message
  • If applicable: Share screenshots/images of your problem
  • If applicable: Share used input data

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions