csdms / wmt

The data and database servers for the CSDMS Web Modeling Tool
2 stars 2 forks source link

hillslope 1 needs owner? #94

Closed iovereem closed 10 years ago

iovereem commented 10 years ago

The public example of the first CHILD lab called ''hillslope1' can not be saved. I receive an error message within the WMT: The URL 'https://csdms.colorado.edu/wmt/api-dev/run/stage' did not give an 'OK' response. Response code: 500

In the reporting window (api-dev/run/show) the message is as follows: 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 206, in stage_component hooks['pre-stage'].execute(component['parameters']) File "/data/web/htdocs/wmt/api/dev/db/components/child/hooks/pre-stage.py", line 9, in execute output_interval = ceil(float(env['native_output_interval']) / 365.) KeyError: 'native_output_interval'

We note that this 'public' example does not have an 'owner', whereas other working examples do have owners? For example, if I try to run the hillslope2 example, stephanie.higgins is recognized as the 'owner', and when I try to run it, it is submitted to beach just fine.

mdpiper commented 10 years ago

Fixed. There were multiple versions of the "hillslope1" model in the WMT database. Stephanie identified the valid version, so I deleted the others. I verified that the valid version of "hillslope1" can be run, and that it can be modified and saved by the user under a different name.