You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.7.6
GDAL 3.0.4, released 2020/01/28
Windows 10, 64 bit
gdal works normally as expected, e.g., gdal_translate
gdal2mbtiles -h shows help items.
Installed gdal2mbtiles with git; installation has no error message.
While running on a test tif image, the following error is thrown. It seems related to LoadLibrary() and being new to this new stack (python, gdal, gdal2mbtiles), I'm confused where the error is coming from and where to look. Is it related or unrelated to gdal2mbtiles. Python seems to be working normally.
Error
Traceback (most recent call last):
File "C:\Users\Dash\Anaconda3\Scripts\gdal2mbtiles-script.py", line 11, in
load_entry_point('gdal2mbtiles==2.1.2', 'console_scripts', 'gdal2mbtiles')()
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\main.py", line 264, in main
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\main.py", line 231, in parse_args
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\main.py", line 65, in coloring_arg
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in load_backward_compatible
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\vips.py", line 116, in
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\vips.py", line 87, in init
File "C:\Users\Dash\Anaconda3\lib\ctypes_init.py", line 442, in LoadLibrary
return self.dlltype(name)
File "C:\Users\Dash\Anaconda3\lib\ctypes_init.py", line 364, in init
self._handle = _dlopen(self._name, mode) TypeError: LoadLibrary() argument 1 must be str, not None
Can someone put me on the right track where to look for the issue or help me to troubleshoot?
Thank you
The text was updated successfully, but these errors were encountered:
Python 3.7.6
GDAL 3.0.4, released 2020/01/28
Windows 10, 64 bit
gdal works normally as expected, e.g.,
gdal_translate
gdal2mbtiles -h
shows help items.Installed gdal2mbtiles with git; installation has no error message.
While running on a test tif image, the following error is thrown. It seems related to LoadLibrary() and being new to this new stack (python, gdal, gdal2mbtiles), I'm confused where the error is coming from and where to look. Is it related or unrelated to gdal2mbtiles. Python seems to be working normally.
gdal2mbtiles test_cl.tif test.mbt --name TEST --description CMCSST --layer-type overlay --version 0.0 --format png --spatial-reference 4326 --resampling near --min-resolution 2 --max-resolution 7 --fill-borders --png8 256 --coloring palette --color="0:#ff00ff"
Error
Traceback (most recent call last):
File "C:\Users\Dash\Anaconda3\Scripts\gdal2mbtiles-script.py", line 11, in
load_entry_point('gdal2mbtiles==2.1.2', 'console_scripts', 'gdal2mbtiles')()
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\main.py", line 264, in main
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\main.py", line 231, in parse_args
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\main.py", line 65, in coloring_arg
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in load_backward_compatible
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\vips.py", line 116, in
File "C:\Users\Dash\Anaconda3\lib\site-packages\gdal2mbtiles-2.1.2-py3.7.egg\gdal2mbtiles\vips.py", line 87, in init
File "C:\Users\Dash\Anaconda3\lib\ctypes_init.py", line 442, in LoadLibrary
return self.dlltype(name)
File "C:\Users\Dash\Anaconda3\lib\ctypes_init.py", line 364, in init
self._handle = _dlopen(self._name, mode)
TypeError: LoadLibrary() argument 1 must be str, not None
Can someone put me on the right track where to look for the issue or help me to troubleshoot?
Thank you
The text was updated successfully, but these errors were encountered: