[gdal-dev] _gdal.FillNodata not Python function

Gabriel Vatin gabriel.vatin at kinaxia.fr
Thu Nov 2 08:00:55 PDT 2017


Hi all,

I'm working with Python 3.6 32bits, GDAL package 
(GDAL‑2.2.2‑cp36‑cp36m‑win32.whl) i've installed from here : 
https://www.lfd.uci.edu/~gohlke/pythonlibs/

I also installed the gdal-202-1800-core.msi from here : 
http://www.gisinternals.com/query.html?content=filelist&file=release-1800-gdal-2-2-1-mapserver-7-0-6.zip

Here is the error I get when I try the fillnodata python utility :
gdal_fillnodata -md 2 myImage.tif myImage_correction.tif
Traceback (most recent call last):
   File "C:\Python36\Scripts\gdal_fillnodata.py", line 197, in <module>
     callback = prog_func )
   File "C:\Python36\lib\site-packages\osgeo\gdal.py", line 2742, in 
FillNodata
     return _gdal.FillNodata(*args, **kwargs)
RuntimeError: Object given is not a Python function

Do you have any idea how to fix it ? Maybe wrong installation ?... Thanks !


Gabriel


More information about the gdal-dev mailing list