Opened 4 years ago

Closed 4 years ago

#2329 closed defect (fixed)

petascope_insertdemo.sh does not report errors

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: critical Milestone: 10.0
Component: applications Version: development
Keywords: Cc:
Complexity: Medium

Description

petascope_insertdemo.sh:   importing coverage AverageChlorophyll 
(detail output in /tmp/AverageChlorophyll.log)... ok.

but /tmp/AverageChlorophyll.log has

wcst_import.sh: rasdaman v10.0.0-beta1 build g6f0319f3
Traceback (most recent call last):
  File "/opt/rasdaman/share/rasdaman/wcst_import/wcst_import.py", line 37, in <module>
    from master.recipe.recipe_registry import RecipeRegistry
  File "/opt/rasdaman/share/rasdaman/wcst_import/master/recipe/recipe_registry.py", line 41, in <module>
    from recipes.general_coverage.recipe import Recipe as GeneralRecipe
  File "/opt/rasdaman/share/rasdaman/wcst_import/recipes/general_coverage/recipe.py", line 42, in <module>
    from util.gdal_validator import GDALValidator
  File "/opt/rasdaman/share/rasdaman/wcst_import/util/gdal_validator.py", line 30, in <module>
    import osgeo.gdal as gdal
ModuleNotFoundError: No module named 'osgeo'

petascope_insertdemo.sh should detect that there was an error and return exit code 1 or so.

Change History (1)

comment:1 by Bang Pham Huu, 4 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.