[gdal-dev] _gdal.FillNodata not Python function

Gabriel Vatin gabriel.vatin at kinaxia.fr
Tue Nov 7 09:04:29 PST 2017


Still no ideas about this bug ?...

Gabriel


Le 02/11/2017 à 16:00, Gabriel Vatin a écrit :
> 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