BlenderKit / BlenderKit

Official BlenderKit add-on for Blender 3D. Documentation: https://github.com/BlenderKit/blenderkit/wiki
https://www.blenderkit.com/
GNU General Public License v2.0
131 stars 21 forks source link

Cannot search items in the search bar, but still can download assets from the search list. #1179

Open haowu1302 opened 3 weeks ago

haowu1302 commented 3 weeks ago

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

agajdosi commented 2 weeks ago

Hi @haowu1302, thank you for the report. Please uninstall the add-on and install https://github.com/BlenderKit/BlenderKit/releases/tag/v3.12.1.240614-beta, it should fix this issue.