Regression: Error in console for unknown/unused BRUSH_PAINT icon #98565

Closed
opened 2022-06-02 22:07:37 +02:00 by Marius Eugen Mihai · 12 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.2.0 Release Candidate, branch: master, commit date: 2022-06-01 13:39, hash: a493956eaa
Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: cc66d1020c

Caused by eae36be372

Short description of error
Blender console window throws an error that some icons were not found for certain icon IDs.
At first I thought this was an add-on bug, but I've encountered it on multiple add-ons, so it seems to be an issue with Blender itself.
Seems like there have been some changes to Blender's internal icon database file, and some icons have either been removed or, at least, there's a mismatch between the icon and its assigned id.
While, as far as I can tell, this doesn't seem to affect the functionality of the add-ons I've come across exhibiting the issue, it might still be worth looking into.
Exact steps for others to reproduce the error

  • Enable icon viewer add-on
  • Click on icon viewer button located at python console
    ERROR (bke.icons): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\icons.cc:838 BKE_icon_get: no icon for icon ID: 806

This also affects some other add-ons. When enabling the pie menu editor add-on by roaoao (https://blenderartists.org/t/pie-menu-editor-1-18-5/662456/4322), the add-on's interface gives a warning at the bottom: "Error (see console)".
The error is :
ERROR (bke.icons): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\icons.cc:838 BKE_icon_get: no icon for icon ID: 989

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.2.0 Release Candidate, branch: master, commit date: 2022-06-01 13:39, hash: `a493956eaa` Worked: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `cc66d1020c` Caused by eae36be372 **Short description of error** Blender console window throws an error that some icons were not found for certain icon IDs. At first I thought this was an add-on bug, but I've encountered it on multiple add-ons, so it seems to be an issue with Blender itself. Seems like there have been some changes to Blender's internal icon database file, and some icons have either been removed or, at least, there's a mismatch between the icon and its assigned id. While, as far as I can tell, this doesn't seem to affect the functionality of the add-ons I've come across exhibiting the issue, it might still be worth looking into. **Exact steps for others to reproduce the error** - Enable icon viewer add-on - Click on icon viewer button located at python console ```ERROR (bke.icons): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\icons.cc:838 BKE_icon_get: no icon for icon ID: 806``` --- This also affects some other add-ons. When enabling the pie menu editor add-on by roaoao (https://blenderartists.org/t/pie-menu-editor-1-18-5/662456/4322), the add-on's interface gives a warning at the bottom: "Error (see console)". The error is : ERROR (bke.icons): C:\Users\blender\git\blender-v320\blender.git\source\blender\blenkernel\intern\icons.cc:838 BKE_icon_get: no icon for icon ID: 989

Added subscriber: @MariusEugenMihai

Added subscriber: @MariusEugenMihai

#98759 was marked as duplicate of this issue

#98759 was marked as duplicate of this issue
Pratik Borhade changed title from Missing icons (or at least ID mismatch) to Regression: Error in console after opening the icon viewer panel 2022-06-03 06:35:05 +02:00
Member

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

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

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Pratik Borhade self-assigned this 2022-06-03 06:54:32 +02:00
Pratik Borhade removed their assignment 2022-06-03 12:42:56 +02:00
Member

Added subscribers: @lichtwerk, @ThomasDinges

Added subscribers: @lichtwerk, @ThomasDinges
Member

Not sure what exactly has introduced this error
git Bisect pointed me to (I don't think this commit is responsible) eae36be372
@ThomasDinges, @lichtwerk do you consider this a showstopper?

No idea either about the potential fix (removing myself from assignee)

Not sure what exactly has introduced this error git Bisect pointed me to (I don't think this commit is responsible) eae36be372a6b16ee3e76eff0485a47da4f3c230 @ThomasDinges, @lichtwerk do you consider this a showstopper? No idea either about the potential fix (removing myself from assignee)
Philipp Oeser self-assigned this 2022-06-03 13:16:03 +02:00
Member

It is DEF_ICON_COLOR(BRUSH_PAINT), will fix

It is DEF_ICON_COLOR(BRUSH_PAINT), will fix

This issue was referenced by 1ea1b73e49

This issue was referenced by 1ea1b73e497c9e129091931d5987399e49840beb

This issue was referenced by b52760a023

This issue was referenced by b52760a0236f45e1a5a16236a7aeb9888b60aced
Philipp Oeser changed title from Regression: Error in console after opening the icon viewer panel to Regression: Error in console for unknown/unused BRUSH_PAINT icon 2022-06-03 13:36:52 +02:00
Member

Lets stick to the rules and make it High prio first, module can lower if appropriate

Lets stick to the rules and make it High prio first, module can lower if appropriate
Member

Changed status from 'Confirmed' to: 'Resolved'

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

Added subscribers: @LalaGhost, @OmarEmaraDev

Added subscribers: @LalaGhost, @OmarEmaraDev
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 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#98565
No description provided.