Amaranth Toolset Bug in Asset browser panel #94212

Closed
opened 2021-12-17 23:55:11 +01:00 by Victor Makushin · 7 comments

System Information
Operating system: Microsoft Windows 10 Pro
CPU: Intel Core i7-5960X Extreme Edition, 3000 MHz
Motherboard: Asus X99-Deluxe (1 PCI-E x4, 5 PCI-E x16, 1 M.2, 8 DDR4 DIMM, Audio, Dual Gigabit LAN, WiFi)
Graphics card: NVIDIA GeForce GTX TITAN Black (6 GB)
Disk Drive: Crucial_CT512MX100SSD1 (512 GB, SATA-III)

Blender Version: 3.0.0 2021-12-02
Branch: master
Worked: (newest version of Blender that worked as expected)

Short description of error
Clicking on button "Current Blends folder" (Amaranth toolset is enabled) in Asset Browser gives the following error:

Python: Traceback (most recent call last):

File "D:\PROGRAMS\3_D\BLENDER\blender_3.0.0\3.0\scripts\addons\amaranth\scene\current_blend.py", line 38, in execute
  bpy.ops.file.select_bookmark(dir="//")
File "D:\PROGRAMS\3_D\BLENDER\blender_3.0.0\3.0\scripts\modules\bpy\ops.py", line 132, in __call__
  ret = _op_call(self.idname_py(), None, kw)

RuntimeError: Operator bpy.ops.file.select_bookmark.poll() failed, context is incorrect

location: :-1

Exact steps for others to reproduce the error
Just click on button "Current Blends folder" in Asset Browser.

Amaranth Toolset Bug in Asset browser panel.mp4

**System Information** Operating system: Microsoft Windows 10 Pro CPU: Intel Core i7-5960X Extreme Edition, 3000 MHz Motherboard: Asus X99-Deluxe (1 PCI-E x4, 5 PCI-E x16, 1 M.2, 8 DDR4 DIMM, Audio, Dual Gigabit LAN, WiFi) Graphics card: NVIDIA GeForce GTX TITAN Black (6 GB) Disk Drive: Crucial_CT512MX100SSD1 (512 GB, SATA-III) **Blender Version**: 3.0.0 2021-12-02 Branch: master Worked: (newest version of Blender that worked as expected) **Short description of error** Clicking on button "Current Blends folder" (Amaranth toolset is enabled) in Asset Browser gives the following error: Python: Traceback (most recent call last): ``` File "D:\PROGRAMS\3_D\BLENDER\blender_3.0.0\3.0\scripts\addons\amaranth\scene\current_blend.py", line 38, in execute bpy.ops.file.select_bookmark(dir="//") File "D:\PROGRAMS\3_D\BLENDER\blender_3.0.0\3.0\scripts\modules\bpy\ops.py", line 132, in __call__ ret = _op_call(self.idname_py(), None, kw) ``` RuntimeError: Operator bpy.ops.file.select_bookmark.poll() failed, context is incorrect location: <unknown location>:-1 **Exact steps for others to reproduce the error** Just click on button "Current Blends folder" in Asset Browser. [Amaranth Toolset Bug in Asset browser panel.mp4](https://archive.blender.org/developer/F12758903/Amaranth_Toolset_Bug_in_Asset_browser_panel.mp4)

Added subscriber: @mvj1

Added subscriber: @mvj1
Member

Added subscribers: @pablovazquez, @lichtwerk

Added subscribers: @pablovazquez, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm, this op does not really belong in the Asset Browser, should just poll for it and not show at all I think.

CC @pablovazquez

Can confirm, this op does not really belong in the Asset Browser, should just poll for it and not show at all I think. CC @pablovazquez
Pablo Vazquez self-assigned this 2022-07-24 05:28:59 +02:00

This issue was referenced by b007120010

This issue was referenced by b00712001075abd383af7d88252ee199b5991231
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

Indeed that feature is only meant for the File Browser, not the Asset Browser. Fixed in master.

Thanks for the report!

Indeed that feature is only meant for the File Browser, not the Asset Browser. Fixed in `master`. Thanks for the report!
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#94212
No description provided.