Changes between Version 3 and Version 4 of Ticket #1919
- Timestamp:
- Nov 27, 2018, 12:49:07 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1919 – Description
v3 v4 1 1 On the wcs_extract test, wcst_import is stuck in an infinite loop here (on Debian testing): 2 2 {{{ 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> 5 4 main() 6 File " /home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/wcst_import.py", line 136, in main5 File "wcst_import/wcst_import.py", line 136, in main 7 6 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_recipe7 File "wcst_import/master/recipe/recipe_registry.py", line 89, in run_recipe 9 8 recipe.describe() 10 File " /home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/recipes/wcs_extract/recipe.py", line 91, in describe9 File "wcst_import/recipes/wcs_extract/recipe.py", line 91, in describe 11 10 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_importer11 File "wcst_import/recipes/wcs_extract/recipe.py", line 124, in _get_importer 13 12 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_coverage13 File "wcst_import/recipes/wcs_extract/recipe.py", line 117, in _get_coverage 15 14 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__ 17 16 self._read() 18 File " /home/dimitar/rasdaman/community/src-install/share/rasdaman/wcst_import/util/coverage_reader.py", line 428, in _read17 File "wcst_import/util/coverage_reader.py", line 428, in _read 19 18 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_intervals19 File "wcst_import/util/coverage_reader.py", line 298, in _get_intervals 21 20 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__ 23 22 def __init__(self, low, high=None): 24 25 It seems it's stuck in an infinite loop:26 23 27 24 294 while (resolution > 0 and high <= stop) or (resolution < 0 and stop <= high): … … 48 45 -0.0 49 46 }}} 47 48 `error_correction` and `geo_pixels_per_slice` are 0, so low/high never change in this loop.