GDAL - numpy is 0xa error.txt

The merge window text - Loren Amelang, 2019-01-23 01:40 AM

Download (5.05 KB)

 
1
https://issues.qgis.org/issues/19628
2

    
3

    
4
Processing algorithm…
5
Algorithm 'Merge' starting…
6
Input parameters:
7
{ 'DATA_TYPE' : 5, 'INPUT' : ['C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_46_436_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_435_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_436_to2226_clip_manual.tif'], 'NODATA_INPUT' : None, 'NODATA_OUTPUT' : None, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/4b6c3f04383c46e893a6431bacdd337e/OUTPUT.tif', 'PCT' : False, 'SEPARATE' : False }
8

    
9
GDAL command:
10
cmd.exe /C gdal_merge.bat -ot Float32 -of GTiff -o C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/4b6c3f04383c46e893a6431bacdd337e/OUTPUT.tif --optfile C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe\mergeInputFiles.txt
11
GDAL command output:
12
0RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
13

    
14
Traceback (most recent call last):
15

    
16
File "C:\OSGEO4~1\bin\gdal_merge.py", line 611, in <module>
17

    
18
sys.exit(main())
19

    
20
File "C:\OSGEO4~1\bin\gdal_merge.py", line 596, in main
21

    
22
fi.copy_into(t_fh, band, band, nodata)
23

    
24
File "C:\OSGEO4~1\bin\gdal_merge.py", line 343, in copy_into
25

    
26
nodata_arg)
27

    
28
File "C:\OSGEO4~1\bin\gdal_merge.py", line 124, in raster_copy
29

    
30
m_band)
31

    
32
File "C:\OSGEO4~1\bin\gdal_merge.py", line 180, in raster_copy_with_mask
33

    
34
t_xsize, t_ysize)
35

    
36
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal.py", line 2635, in ReadAsArray
37

    
38
from osgeo import gdalnumeric
39

    
40
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdalnumeric.py", line 2, in <module>
41

    
42
from osgeo.gdal_array import *
43

    
44
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 17, in <module>
45

    
46
_gdal_array = swig_import_helper()
47

    
48
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 16, in swig_import_helper
49

    
50
return importlib.import_module('_gdal_array')
51

    
52
File "C:\OSGEO4~1\apps\Python27\lib\importlib\__init__.py", line 37, in import_module
53

    
54
__import__(name)
55

    
56
ImportError: No module named _gdal_array
57

    
58
Execution completed in 4.45 seconds
59
Results:
60
{'OUTPUT': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/4b6c3f04383c46e893a6431bacdd337e/OUTPUT.tif, 'createOptions': {'fileEncoding': 'System'}}>}
61

    
62
Loading resulting layers
63
Algorithm 'Merge' finished
64
Processing algorithm…
65
Algorithm 'Merge' starting…
66
Input parameters:
67
{ 'DATA_TYPE' : 5, 'INPUT' : ['C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_46_436_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_435_to2226_clip_manual.tif','C:/Users/loren/Giant Files/HEC-RAS Dam Break/QGIS Projects/FEMA808/DEM_47_436_to2226_clip_manual.tif'], 'NODATA_INPUT' : None, 'NODATA_OUTPUT' : None, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/45c6b955ef4747209e3802b5075ea7f1/OUTPUT.tif', 'PCT' : False, 'SEPARATE' : False }
68

    
69
GDAL command:
70
cmd.exe /C gdal_merge.bat -ot Float32 -of GTiff -o C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/45c6b955ef4747209e3802b5075ea7f1/OUTPUT.tif --optfile C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe\mergeInputFiles.txt
71
GDAL command output:
72
0RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa
73

    
74
Traceback (most recent call last):
75

    
76
File "C:\OSGEO4~1\bin\gdal_merge.py", line 611, in <module>
77

    
78
sys.exit(main())
79

    
80
File "C:\OSGEO4~1\bin\gdal_merge.py", line 596, in main
81

    
82
fi.copy_into(t_fh, band, band, nodata)
83

    
84
File "C:\OSGEO4~1\bin\gdal_merge.py", line 343, in copy_into
85

    
86
nodata_arg)
87

    
88
File "C:\OSGEO4~1\bin\gdal_merge.py", line 124, in raster_copy
89

    
90
m_band)
91

    
92
File "C:\OSGEO4~1\bin\gdal_merge.py", line 180, in raster_copy_with_mask
93

    
94
t_xsize, t_ysize)
95

    
96
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal.py", line 2635, in ReadAsArray
97

    
98
from osgeo import gdalnumeric
99

    
100
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdalnumeric.py", line 2, in <module>
101

    
102
from osgeo.gdal_array import *
103

    
104
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 17, in <module>
105

    
106
_gdal_array = swig_import_helper()
107

    
108
File "C:\OSGEO4~1\apps\Python27\lib\site-packages\osgeo\gdal_array.py", line 16, in swig_import_helper
109

    
110
return importlib.import_module('_gdal_array')
111

    
112
File "C:\OSGEO4~1\apps\Python27\lib\importlib\__init__.py", line 37, in import_module
113

    
114
__import__(name)
115

    
116
ImportError: No module named _gdal_array
117

    
118
Execution completed in 0.38 seconds
119
Results:
120
{'OUTPUT': <QgsProcessingOutputLayerDefinition {'sink':C:/Users/loren/AppData/Local/Temp/processing_bca97ea25eae489380bbbe05ba63e2fe/45c6b955ef4747209e3802b5075ea7f1/OUTPUT.tif, 'createOptions': {'fileEncoding': 'System'}}>}
121

    
122
Loading resulting layers
123
Algorithm 'Merge' finished