-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
Trying to do a simulation I encountered this error message:
[...]
Dash is running on http://127.0.0.1:8050/
09:22:43-INFO-Dash is running on http://127.0.0.1:8050/
* Serving Flask app "mvs_tool" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
Traceback (most recent call last):
File "mvs_tool.py", line 4, in <module>
main()
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\site-packages\multi_vector_simulator\cli.py", line 170, in main
path_png_figs=user_input.get("path_png_figs", None),
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\site-packages\multi_vector_simulator\F0_output.py", line 144, in evaluate_dict
autoreport.print_pdf(app, path_pdf_report=path_pdf_report)
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\site-packages\multi_vector_simulator\F2_autoreport.py", line 150, in print_pdf
asyncio.get_event_loop().run_until_complete(_print_pdf_from_chrome(path_pdf_report))
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\asyncio\base_events.py", line 488, in run_until_complete
return future.result()
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\site-packages\multi_vector_simulator\F2_autoreport.py", line 117, in _print_pdf_from_chrome
".dash-cell", {"visible": "true",},
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\site-packages\pyppeteer\frame_manager.py", line 855, in __await__
raise result
pyppeteer.errors.TimeoutError: Waiting for selector ".dash-cell" failed: timeout 30000ms exceeds.
And I noticed no pdf report was produced, just the asset files. So I tried to produce one with mvs_report following this guideline (https://multi-vector-simulator.readthedocs.io/en/latest/Installation.html#post-processing) but I have this error message:
(MVS) C:\Andra\MVS_GitHub>mvs_report -i C:\Andra\RLI\Master_Thesis\Data\MVS\Simulations\Greenfield\210115_GF_no_constraints\outputs_5 -pdf
{'print_report': True, 'output_folder': 'C:\\Andra\\RLI\\Master_Thesis\\Data\\MVS\\Simulations\\Greenfield\\210115_GF_no_constraints\\outputs_5', 'report_path': ''}
Traceback (most recent call last):
File "C:\Users\andra.backhaus\.conda\envs\MVS\Scripts\mvs_report-script.py", line 33, in <module>
sys.exit(load_entry_point('multi-vector-simulator', 'console_scripts', 'mvs_report')())
File "C:\Users\andra.backhaus\.conda\envs\MVS\lib\site-packages\multi_vector_simulator\cli.py", line 226, in report
path_simulation_output_json, JSON_WITH_RESULTS + JSON_FILE_EXTENSION
NameError: name 'JSON_FILE_EXTENSION' is not defined
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels