domlysz / BlenderGIS

Blender addons to make the bridge between Blender and geographic data
GNU General Public License v3.0
7.78k stars 1.35k forks source link

Map view doesn't render preview, nothing added to inspector #673

Open kylewetton opened 2 years ago

kylewetton commented 2 years ago

Blender and OS versions

Blender: 3.2.1 OS: Monterey 12.3.1 Computer: Apple Silicon M1 Pro

Describe the bug

Assuming default settings (with OpenTopography API key installed)

Screen Shot 2022-05-31 at 10 11 12 AM

In a blank/ new project, when selecting GIS > Web geodata > Basemap > Ok, the map doesn't render and nothing appends to the Inspector

Screen Shot 2022-05-31 at 10 11 20 AM Screen Shot 2022-05-31 at 10 11 26 AM Screen Shot 2022-05-31 at 10 11 31 AM

How to Reproduce

Steps are outlined above

Error message

This is a silent error, no error messages surface

massandsurface commented 2 years ago

I have the same setup (except for OS Monterey 12.4) and have the same issues.

HELPMEPLEASE0011 commented 2 years ago

I had the same problem, the fix is to download blender 2.83 via steam (instructions on the blender LTS page in fine gray print under download button), then after your city is made you can probably transfer it to a later version. I hope this helps!

alexander-macleod commented 2 years ago

same problem here on mac using blender 3.2 is the only fix to downgrade blender to 2.8?!!!

HELPMEPLEASE0011 commented 2 years ago

as far as I know, yes

rmrten commented 2 years ago

Have the same issue. Setup: OS: MacOS 12.4 CPU: Apple Silicone M1 Blender: 3.2.0 BlenderGIS: 2.2.8

UI steps GIS > Web geodata > basemap > Source: Google Layer: Satellite > OK this outputs in console window command:

bpy.ops.view3d.map_start(dialog="MAP", zoom=0)

Console error:

>>> bpy.ops.view3d.map_start(dialog="MAP", zoom=0)
Error: Python: Traceback (most recent call last):
  File "/Users/martin/Library/Application Support/Blender/3.2/scripts/addons/BlenderGIS-228/operators/view3d_mapviewer.py", line 523, in execute
    bpy.ops.view3d.map_viewer('INVOKE_DEFAULT', srckey=self.src, laykey=self.lay, grdkey=self.grd, recenter=self.recenter)
  File "/Applications/Blender.app/Contents/Resources/3.2/scripts/modules/bpy/ops.py", line 114, in __call__
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Operator bpy.ops.view3d.map_viewer.poll() failed, context is incorrect

location: /Applications/Blender.app/Contents/Resources/3.2/scripts/modules/bpy/ops.py:116

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.2/python/lib/python3.10/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<blender_console>", line 1, in <module>
  File "/Applications/Blender.app/Contents/Resources/3.2/scripts/modules/bpy/ops.py", line 116, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "/Users/martin/Library/Application Support/Blender/3.2/scripts/addons/BlenderGIS-228/operators/view3d_mapviewer.py", line 523, in execute
    bpy.ops.view3d.map_viewer('INVOKE_DEFAULT', srckey=self.src, laykey=self.lay, grdkey=self.grd, recenter=self.recenter)
  File "/Applications/Blender.app/Contents/Resources/3.2/scripts/modules/bpy/ops.py", line 114, in __call__
    ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Operator bpy.ops.view3d.map_viewer.poll() failed, context is incorrect

location: /Applications/Blender.app/Contents/Resources/3.2/scripts/modules/bpy/ops.py:116

This: location: /Applications/Blender.app/Contents/Resources/3.2/scripts/modules/bpy/ops.py:116 Reference to this code:

image

Not sure if it helps just tried to track some more info. But still stuck with blank window and nothing added to Outliner window as mentioned before.

will-bryan commented 2 years ago

I had the same issue on my 14" MacBook Pro (M1 pro apple silicon). I resolved it by installing the Mac-Intel Blender version instead of downgrading blender.

rmrten commented 2 years ago

I had the same issue on my 14" MacBook Pro (M1 pro apple silicon). I resolved it by installing the Mac-Intel Blender version instead of downgrading blender.

Worth to try. Thank you for tip.

barts83eu commented 2 years ago
Screenshot 2022-07-04 at 12 07 02

same issues on Mac Mini M1 2020 with Blender 3.3.0 Alpha

Blender seems to be doanloading 104/104 elements at zoom 22

barts83eu commented 2 years ago

cache file attached

Screenshot 2022-07-04 at 12 10 42

GOOGLE_SAT_WM.gpkg.txt

clementin-bonneau-riera commented 2 years ago

exact same issue on Blender 3.2.1 on Windows 10

image

image

JuanBreva commented 2 years ago

Another Mac user here.

Similar thing happens when importing a georeferenced TIFF file: instead of successfully displaying the GeoTiff, it only displays a black and/or white blank shape.