cp -rf ./grid2viz/data/agents/nodisc_powerlinegreedy/ ./grid2viz/data/agents/same_agent_different_run
mv ./grid2viz/data/agents/same_agent_different_run/0037/ ./grid2viz/data/agents/same_agent_different_run/0038
Exception on /_dash-update-component [POST]
Traceback (most recent call last):
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/grid2op/EpisodeData.py", line 155, in from_disk
with open(os.path.join(episode_path, EpisodeData.PARAMS)) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/tezirg/Code/grid2viz.mjothy/grid2viz/data/agents/nodisc_powerlinegreedy/0038/_parameters.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/dash/dash.py", line 1459, in dispatch
response.set_data(self.callback_map[output]["callback"](*args))
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/dash/dash.py", line 1339, in add_context
output_value = func(*args, **kwargs) # %% callback invoked %%
File "/home/tezirg/Code/grid2viz.mjothy/grid2viz/index.py", line 135, in display_page
return macro.layout(timestamps, scenario, study_agent), "macro"
File "/home/tezirg/Code/grid2viz.mjothy/grid2viz/src/macro/macro_lyt.py", line 261, in layout
indicator_line(scenario, study_agent),
File "/home/tezirg/Code/grid2viz.mjothy/grid2viz/src/macro/macro_lyt.py", line 19, in indicator_line
episode = make_episode(study_agent, scenario)
File "/home/tezirg/Code/grid2viz.mjothy/grid2viz/src/manager.py", line 49, in make_episode
episode = compute_episode(episode_name, agent)
File "/home/tezirg/Code/grid2viz.mjothy/grid2viz/src/manager.py", line 89, in compute_episode
path, episode_name
File "/home/tezirg/Code/grid2viz.mjothy/venv_grid2viz/lib/python3.6/site-packages/grid2op/EpisodeData.py", line 173, in from_disk
raise Grid2OpException(f"EpisodeData file not found \n {str(ex)}")
grid2op.Exceptions.Grid2OpException: Grid2OpException "EpisodeData file not found
[Errno 2] No such file or directory: '/home/tezirg/Code/grid2viz.mjothy/grid2viz/data/agents/nodisc_powerlinegreedy/0038/_parameters.json'"