Changes between Version 3 and Version 4 of Ticket #1919


Ignore:
Timestamp:
Nov 27, 2018, 12:49:07 PM (6 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1919 – Description

    v3 v4  
    1 
     1On the wcs_extract test, wcst_import is stuck in an infinite loop here (on Debian testing):
    22{{{
    3 here's some stack trace:
    4   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/wcst_import.py", line 153, in <module>
     3  File "wcst_import/wcst_import.py", line 153, in <module>
    54    main()
    6   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/wcst_import.py", line 136, in main
     5  File "wcst_import/wcst_import.py", line 136, in main
    76    reg.run_recipe(session)
    8   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/master/recipe/recipe_registry.py", line 89, in run_recipe
     7  File "wcst_import/master/recipe/recipe_registry.py", line 89, in run_recipe
    98    recipe.describe()
    10   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/recipes/wcs_extract/recipe.py", line 91, in describe
     9  File "wcst_import/recipes/wcs_extract/recipe.py", line 91, in describe
    1110    importer = self._get_importer()
    12   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/recipes/wcs_extract/recipe.py", line 124, in _get_importer
     11  File "wcst_import/recipes/wcs_extract/recipe.py", line 124, in _get_importer
    1312    self.importer = Importer(self.resumer, self._get_coverage(), self.options['wms_import'], self.options['scale_levels'])
    14   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/recipes/wcs_extract/recipe.py", line 117, in _get_coverage
     13  File "wcst_import/recipes/wcs_extract/recipe.py", line 117, in _get_coverage
    1514    self.options['partitioning_scheme']).get_coverage()
    16   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/util/coverage_reader.py", line 65, in __init__
     15  File "wcst_import/util/coverage_reader.py", line 65, in __init__
    1716    self._read()
    18   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/util/coverage_reader.py", line 428, in _read
     17  File "wcst_import/util/coverage_reader.py", line 428, in _read
    1918    intervals = self._get_intervals(coverage_axes, self.partitioning_scheme)
    20   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/util/coverage_reader.py", line 298, in _get_intervals
     19  File "wcst_import/util/coverage_reader.py", line 298, in _get_intervals
    2120    axis_intervals.append(Interval(high, low))
    22   File "/home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/master/importer/interval.py", line 27, in __init__
     21  File "wcst_import/master/importer/interval.py", line 27, in __init__
    2322    def __init__(self, low, high=None):
    24 
    25 It seems it's stuck in an infinite loop:
    2623
    2724294                          while (resolution > 0 and high <= stop) or (resolution < 0 and stop <= high):
     
    4845-0.0
    4946}}}
     47
     48`error_correction` and `geo_pixels_per_slice` are 0, so low/high never change in this loop.