Skip to content

[WISE Bug]: Missing value in lut file results in odd error messages and failed validation. #108

@spydmobile

Description

@spydmobile

Contact Details

spydmobile@gmail.com

What happened?

when launching a model (or validating) that has a lut file with aa missing value eg. no Zero, the system fails with odd errors.

80000000000032c7: Invalid/unknown file format.
root@c6d959b9cec5:/usr/src/app# 

Version

(Linux) 2021.11.xx

What component are you seeing the problem on?

PSaaS Binary, JS Api

Relevant log output

{
 "success": true,
 "valid": false,
 "validation_tree": {
  "error_level": "SEVERE",
  "protobuf_name": "CWFGM.PSaaS",
  "error_values": [
   {
    "name": "/usr/src/app/psaas_data/dipjobs/job_20220530162836509/job.fgmj"
   }
  ],
  "children": [
   {
    "error_level": "SEVERE",
    "protobuf_name": "CWFGM.ProjectProto.Project",
    "error_values": [
     {
      "name": "project"
     }
    ],
    "children": [
     {
      "error_level": "SEVERE",
      "protobuf_name": "CWFGM.GridProto.CwfgmGrid",
      "error_values": [
       {
        "name": "grid"
       }
      ],
      "children": [
       {
        "error_level": "SEVERE",
        "protobuf_name": "CWFGM.GridProto.CwfgmGrid",
        "error_values": [
         {
          "name": "fuelmap.file",
          "value": "Inputs/fuels.tif"
         }
        ],
        "children": [],
        "error_id": "Import.Fuelmap:Invalid"
       }
      ]
     }
    ]
   }
  ]
 },
 "load_warnings": "Error: CWFGM.GridProto.CwfgmGrid: Fuel grid could not be imported."
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions