When I click the picture to download models, I search from the top search bar, and it shows some error logs(see Error Log). Then, I cannot search for new items, but I can still download and place models from previously listed pictures.
Environment Information - Bug happens on:
BlenderKit version: v3.12.0.240423
Blender version and source (blender.org): v4.1.1
Operating system & architecture: Win11 (x86_64)
Using VPN, proxy, or firewall? No
Error Logs
Python: Traceback (most recent call last):
File "C:\Users\haowu\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderkit\asset_drag_op.py", line 714, in modal
self.mouse_release() # does the main job with assets
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\haowu\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderkit\asset_drag_op.py", line 621, in mouse_release
bpy.ops.view3d.blenderkit_download_gizmo_widget(
File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 107, in call
ret = _op_call(self.idname_py(), kw, C_exec, C_undo)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Error: Python: Traceback (most recent call last):
File "C:\Users\haowu\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderkit\asset_drag_op.py", line 894, in init
loc.x, bpy.context.region.height - loc.y, self.width, self.height
^^^^^
AttributeError: 'NoneType' object has no attribute 'x'
Location: C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py:107
Bug Description
When I click the picture to download models, I search from the top search bar, and it shows some error logs(see Error Log). Then, I cannot search for new items, but I can still download and place models from previously listed pictures.
Environment Information - Bug happens on:
Error Logs
Python: Traceback (most recent call last): File "C:\Users\haowu\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderkit\asset_drag_op.py", line 714, in modal self.mouse_release() # does the main job with assets ^^^^^^^^^^^^^^^^^^^^ File "C:\Users\haowu\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderkit\asset_drag_op.py", line 621, in mouse_release bpy.ops.view3d.blenderkit_download_gizmo_widget( File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py", line 107, in call ret = _op_call(self.idname_py(), kw, C_exec, C_undo) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Error: Python: Traceback (most recent call last): File "C:\Users\haowu\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderkit\asset_drag_op.py", line 894, in init loc.x, bpy.context.region.height - loc.y, self.width, self.height ^^^^^ AttributeError: 'NoneType' object has no attribute 'x' Location: C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\modules\bpy\ops.py:107
Steps to Reproduce