Warning: TypeError "OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE" not found Startup Error #101672

Closed
opened 2022-10-07 12:33:38 +02:00 by Ludvik Koutny · 8 comments
Contributor

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: b292cfe5a9
Worked: 3.2 and earlier

Short description of error
After updating to 3.3, I am getting following error after starting up Blender:

Read prefs: C:\Users\rawal\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend
Warning: TypeError('bpy_struct: item.attr = val: enum "OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE" not found in (\'UNLINK\', \'LOCAL\', \'SINGLE\', \'DELETE\', \'REMAP\', \'COPY\', \'PASTE\', \'ADD_FAKE\', \'CLEAR_FAKE\', \'RENAME\', \'SELECT_LINKED\')')

Yes, resetting Blender to factory settings fixes it, but completely nuking all user's settings and configuration is not really a feasible solution. For the end user, steps to troubleshoot and resolve this issue are not clear. Userprefs.blend is a binary file format user can not just open and manually fix.

Exact steps for others to reproduce the error

  1. On Windows, replace the 3.3 config folder found in C:\Users%username%\AppData\Roaming\Blender Foundation\Blender with this one: 3.3.zip
  2. Launch Blender
  3. Observe the error in the console
    Result: There are no obvious steps the end user can take to resolve this error without destroying their entire Blender configuration.
    Expected: The error either does not happen or there are obvious steps to fix the software configuration and stop the error from occurring.
**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59 **Blender Version** Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: `b292cfe5a9` Worked: 3.2 and earlier **Short description of error** After updating to 3.3, I am getting following error after starting up Blender: ``` Read prefs: C:\Users\rawal\AppData\Roaming\Blender Foundation\Blender\3.3\config\userpref.blend Warning: TypeError('bpy_struct: item.attr = val: enum "OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE" not found in (\'UNLINK\', \'LOCAL\', \'SINGLE\', \'DELETE\', \'REMAP\', \'COPY\', \'PASTE\', \'ADD_FAKE\', \'CLEAR_FAKE\', \'RENAME\', \'SELECT_LINKED\')') ``` Yes, resetting Blender to factory settings fixes it, but completely nuking all user's settings and configuration is not really a feasible solution. For the end user, steps to troubleshoot and resolve this issue are not clear. Userprefs.blend is a binary file format user can not just open and manually fix. **Exact steps for others to reproduce the error** 1. On Windows, replace the 3.3 config folder found in C:\Users\%username%\AppData\Roaming\Blender Foundation\Blender with this one: [3.3.zip](https://archive.blender.org/developer/F13627354/3.3.zip) 2. Launch Blender 3. Observe the error in the console Result: There are no obvious steps the end user can take to resolve this error without destroying their entire Blender configuration. Expected: The error either does not happen or there are obvious steps to fix the software configuration and stop the error from occurring.
Author
Contributor

Added subscriber: @Rawalanche

Added subscriber: @Rawalanche
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

This warnings seems to come from one of your keymap entries, in particular, the outliner.id_operation one at the end. Correcting this seems to solve the issue. Can you confirm that?

This warnings seems to come from one of your keymap entries, in particular, the `outliner.id_operation` one at the end. Correcting this seems to solve the issue. Can you confirm that?
Author
Contributor

In #101672#1430101, @OmarEmaraDev wrote:
This warnings seems to come from one of your keymap entries, in particular, the outliner.id_operation one at the end. Correcting this seems to solve the issue. Can you confirm that?

Yes it does. I guess the question is, why does the warning message say the source of the issue is userpref.blend and not the specific keymap .py file? The main point of this report is that when the user encounters this error, there's no clear information on how to resolve this. If I encounter this as a user, I won't really be able to solve this without googling and finding some obscure forum thread.

> In #101672#1430101, @OmarEmaraDev wrote: > This warnings seems to come from one of your keymap entries, in particular, the `outliner.id_operation` one at the end. Correcting this seems to solve the issue. Can you confirm that? Yes it does. I guess the question is, why does the warning message say the source of the issue is userpref.blend and not the specific keymap .py file? The main point of this report is that when the user encounters this error, there's no clear information on how to resolve this. If I encounter this as a user, I won't really be able to solve this without googling and finding some obscure forum thread.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

It doesn't really say that the issue happens in userpref.blend. Those are different lines in the output log.

While not considered a bug, I do agree that the warning could be be clarified better, even if it just says Keymap Warning as a hint. So I will archive the report but submit a patch or poke a developer to see if we can clarify it.

@ideasman42 Could we maybe clarify the warning in _init_properties_from_data so that the user knows it comes from a keymap?

It doesn't really say that the issue happens in `userpref.blend`. Those are different lines in the output log. While not considered a bug, I do agree that the warning could be be clarified better, even if it just says `Keymap Warning` as a hint. So I will archive the report but submit a patch or poke a developer to see if we can clarify it. @ideasman42 Could we maybe clarify the warning in `_init_properties_from_data` so that the user knows it comes from a keymap?
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
2 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#101672
No description provided.