Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAC] BlenderGIS 2.2.8 and Blender 4.02 not loading any of the maps #868

Closed
amitchaudhary82 opened this issue Mar 2, 2024 Discussed in #867 · 5 comments
Closed

[MAC] BlenderGIS 2.2.8 and Blender 4.02 not loading any of the maps #868

amitchaudhary82 opened this issue Mar 2, 2024 Discussed in #867 · 5 comments
Labels

Comments

@amitchaudhary82
Copy link

Discussed in #867

Originally posted by amitchaudhary82 March 2, 2024
Hello,
I have newly installed Blender 4.02 on my Macbook Pro (M2 version) and have installed Blender GIS pluging
Have also created the OpenTopography API key, tested with Swagger UI and connection is OK.

Now whenever I try in Blender the below steps
Create New Flle
Click on "GIS" => "Web Geodata" => "Basemap" => Google + Sattelite
now the software hangs, no layers are loaded, have to press "Esc" key to make the system come back

Have checked the Blender Logs file and it keeps saying the below

ERROR:BlenderGIS-master.core.basemaps.mapservice:885:Corrupted tile on cache
Traceback (most recent call last):
File "/Users/amitchaudhary/Library/Application Support/Blender/4.0/scripts/addons/BlenderGIS-master/core/basemaps/mapservice.py", line 883, in getImage
img = NpImage(data)
File "/Users/amitchaudhary/Library/Application Support/Blender/4.0/scripts/addons/BlenderGIS-master/core/georaster/npimg.py", line 122, in init
self.data = self._npFromBLOB(data)
File "/Users/amitchaudhary/Library/Application Support/Blender/4.0/scripts/addons/BlenderGIS-master/core/georaster/npimg.py", line 242, in _npFromBLOB
data = self._npFromImgIO(img)
File "/Users/amitchaudhary/Library/Application Support/Blender/4.0/scripts/addons/BlenderGIS-master/core/georaster/npimg.py", line 258, in _npFromImgIO
data = imageio.imread(img)
File "/Users/amitchaudhary/Library/Application Support/Blender/4.0/scripts/addons/BlenderGIS-master/core/lib/imageio/core/functions.py", line 181, in imread
reader = read(uri, format, 'i', **kwargs)
File "/Users/amitchaudhary/Library/Application Support/Blender/4.0/scripts/addons/BlenderGIS-master/core/lib/imageio/core/functions.py", line 107, in get_reader
raise ValueError('Could not find a format to read the specified file '
ValueError: Could not find a format to read the specified file in mode 'i'

Could someone please support here as I thought it should be "plug and play" kind of a thing

@amitchaudhary82
Copy link
Author

as an additional info, I can see that .gpkg files are available in my Blender Cache folder and these files I can also open them in QGIS however when I just drag and drop them in Blender, they are not loaded
GPKG file in Blender

GPKG file in QGIS

I have also tried to download Blender 3.6.9 and it has the same issue

@ngoosojk
Copy link

ngoosojk commented Mar 6, 2024

I am also experiencing the same issue with Ubuntu 22.04. Blender version is 4.0.2 and blenderGIS version is 2.2.8

@rmnblm
Copy link

rmnblm commented Mar 16, 2024

This will solve your problem (at least it did for me): #655 (comment)

TL;DR:

Run:

brew install freeimage
launchctl setenv IMAGEIO_FREEIMAGE_LIB /opt/homebrew/Cellar/freeimage/3.18.0/lib/libfreeimage.dylib

Then try again opening the basemap.

@airbag00
Copy link

This will solve your problem (at least it did for me): #655 (comment)

TL;DR:

Run:

brew install freeimage
launchctl setenv IMAGEIO_FREEIMAGE_LIB /opt/homebrew/Cellar/freeimage/3.18.0/lib/libfreeimage.dylib

Then try again opening the basemap.

This worked for me! blender 4.1 on a M1 mac mini running macos Sonoma.

@domlysz domlysz changed the title BlenderGIS 2.2.8 and Blender 4.02 not loading any of the maps [MAC] BlenderGIS 2.2.8 and Blender 4.02 not loading any of the maps May 3, 2024
@domlysz domlysz added the mac label May 3, 2024
@domlysz
Copy link
Owner

domlysz commented May 7, 2024

@domlysz domlysz closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants