pyvips icon indicating copy to clipboard operation
pyvips copied to clipboard

Unable to load library (if '/' in name or '\\' in name: TypeError: argument of type 'NoneType' is not iterable)

Open Ksenia-Evin opened this issue 3 years ago • 2 comments

Hello! I'm using gdal2mbtiles which uses vips underneath. So I am getting this error when trying to convert a .tif file to .mbtiles. Didn't find any similar problem. Hope for your advice. Thanks in advance! image

Ksenia-Evin avatar Feb 16 '22 10:02 Ksenia-Evin

Hi @Ksenia-Evin,

I had a quick look at gdal2mbtiles and they have their own libvips loader:

https://github.com/ecometrica/gdal2mbtiles/blob/master/gdal2mbtiles/vips.py#L87

I don't really understand why they do this, but I think that's the bit that's failing. I would open an issue there.

jcupitt avatar Feb 16 '22 11:02 jcupitt

@jcupitt Thanks for quick answer! Thanks for the advice, will see

Ksenia-Evin avatar Feb 16 '22 11:02 Ksenia-Evin