BlenderGIS icon indicating copy to clipboard operation
BlenderGIS copied to clipboard

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

Open kylewetton opened this issue 2 years ago • 11 comments

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

kylewetton avatar May 30 '22 22:05 kylewetton

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

massandsurface avatar Jun 01 '22 15:06 massandsurface

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!

HELPMEPLEASE0011 avatar Jun 13 '22 11:06 HELPMEPLEASE0011

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

alexander-macleod avatar Jun 13 '22 15:06 alexander-macleod

as far as I know, yes

HELPMEPLEASE0011 avatar Jun 14 '22 08:06 HELPMEPLEASE0011

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.

rmrten avatar Jun 14 '22 15:06 rmrten

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.

will-bryan avatar Jun 14 '22 15:06 will-bryan

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.

rmrten avatar Jun 14 '22 15:06 rmrten

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 avatar Jul 04 '22 11:07 barts83eu

cache file attached Screenshot 2022-07-04 at 12 10 42

GOOGLE_SAT_WM.gpkg.txt

barts83eu avatar Jul 04 '22 11:07 barts83eu

exact same issue on Blender 3.2.1 on Windows 10

image

image

clementin-bonneau-riera avatar Jul 08 '22 15:07 clementin-bonneau-riera

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.

JuanBreva avatar Sep 15 '22 20:09 JuanBreva