Maniphest T101672

Warning: TypeError "OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE" not found Startup Error
Closed, Archived

Assigned To
None
Authored By
Ludvik Koutny (rawalanche)
Oct 7 2022, 12:33 PM
Tags
  • BF Blender
Subscribers
Campbell Barton (campbellbarton)
Ludvik Koutny (rawalanche)
Omar Emara (OmarSquircleArt)

Description

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: rBb292cfe5a936
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:
  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.

Event Timeline

Ludvik Koutny (rawalanche) created this task.Oct 7 2022, 12:33 PM
Ludvik Koutny (rawalanche) updated the task description.
Ludvik Koutny (rawalanche) updated the task description.
Ludvik Koutny (rawalanche) updated the task description.Oct 7 2022, 12:36 PM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from User.Oct 10 2022, 1:16 PM
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

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?

Ludvik Koutny (rawalanche) added a comment.Oct 10 2022, 2:29 PM
In T101672#1430101, @Omar Emara (OmarSquircleArt) 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.

Omar Emara (OmarSquircleArt) closed this task as Archived.Oct 10 2022, 2:57 PM
Omar Emara (OmarSquircleArt) added a subscriber: Campbell Barton (campbellbarton).

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.

@Campbell Barton (campbellbarton) Could we maybe clarify the warning in _init_properties_from_data so that the user knows it comes from a keymap?