Post #5288: I tried to investigate your issue, but unfortunately, I couldn’t reproduce the e
📋 Metadata
- Author: Pluglug
- Date: 2024-11-22 12:49:43
- Type:
answer - Quality Score: 7/10
- Reply to: post_05285
🏷️ Tags
popup-dialog preferences intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Popup Dialog Editor
- Panel Group Editor
💬 Content
I tried to investigate your issue, but unfortunately, I couldn’t reproduce the error.
Did the error occur when you launched Blender 4.3 for the first time? Specifically, did you migrate your previous preferences and then enable PME?
Looking at the error, it seems that PME’s preferences are missing when attempting to handle a “panel” (referred to as a Popup Dialog in PME). PME uses a handler to delay the registration of user custom elements until after its own initialization. The error indicating that prefs does not exist suggests a failure in this delayed process.
Starting with Blender 4.2, and especially with the introduction of Extensions, migrating preferences doesn’t seem as reliable as before. I apologize for my limited knowledge in this area, but personally, I avoid automatic preference migration due to concerns about potential issues.
I also vaguely remember encountering an error when registering a menu in the preferences screen in the past. If I recall correctly, it was something about a missing ID defined as a constant in PME.
If you have custom elements registered in locations like the one shown in the attached image, could you try removing them and then migrating your preferences? In my testing, custom elements created in a fresh Blender 4.3 environment work as expected, so creating them anew should allow you to use them without issues.
