Closed iovereem closed 8 years ago
Some added information. This bug seems to be occuring in Sedflux as well. I tried to upload a bathymetry file. It was only changed 1 character from one of the user-selected default files.
Same thing happens: WMT reports a successfull upload. I save the run settings and try to submit to Beach and it gives the same error reported in the previous post.
In the WMT staus window it gives the following error information:
Traceback (most recent call last): File "/data/web/htdocs/wmt/api/dev/internal/wmt/controllers/run.py", line 103, in POST submissions.stage(form.d.uuid) File "/data/web/htdocs/wmt/api/dev/internal/wmt/models/submissions.py", line 150, in stage stage_component(path, component) File "/data/web/htdocs/wmt/api/dev/internal/wmt/models/submissions.py", line 212, in stage_component hooks['post-stage'].execute(component['parameters']) File "/data/web/htdocs/wmt/api/dev/db/components/sedflux2d/hooks/post-stage.py", line 8, in execute src = find_simulation_input_file(env['bathymetry_file']) File "/data/web/htdocs/wmt/api/dev/internal/wmt/utils/hook.py", line 38, in find_simulation_input_file return find_file_in_search_path(filename, 'WMT_INPUT_FILE_PATH') File "/data/web/htdocs/wmt/api/dev/internal/wmt/utils/hook.py", line 34, in find_file_in_search_path raise FileNotFoundError(filename, paths) FileNotFoundError: bathymetrytest.csv: file not found search paths: /data/web/htdocs/wmt/api/dev/db/components/sedflux2d/files /data/web/htdocs/wmt/api/dev/files/uploads/231 /data/web/htdocs/wmt/api/dev/files/downloads
I tried to upload different hypsometry files to HydroTrend. I have been carefull to edit these files to look precisely like the HYDRO0.HYPS file that is generated for the simulations that did run sucesfully (but with choosing one of the default files). I even tried uploading one of the files that were packaged from a previous run.
The upload button gives me a indication the file has been successfully loaded. I then save the run settings.
If I subsequently submit the run to Beach WMT gives an error:
The URL 'https://csdms.colorado.edu/wmt/api-dev/run/stage' did not give an 'OK' response. Response code: 500