UI_pie_menu_invoke: named menu "ORIGIN_MT_pivotmenu" not found #39

Closed
opened 2024-10-01 18:58:20 +02:00 by oliver-panrok · 11 comments

System Information
Operating system: Win10

Blender Version: 4.2.2
Add-on Version: 1.6.2

when trying to use Ctrl+ALT+X for the "set Origin" Pie menu nothing happens on screen followed by this in the console "UI_pie_menu_invoke: named menu "ORIGIN_MT_pivotmenu" not found"

**System Information** Operating system: Win10 Blender Version: 4.2.2 Add-on Version: 1.6.2 when trying to use Ctrl+ALT+X for the "set Origin" Pie menu nothing happens on screen followed by this in the console "UI_pie_menu_invoke: named menu "ORIGIN_MT_pivotmenu" not found"
oliver-panrok added the
bug
label 2024-10-01 18:58:20 +02:00
Demeter Dzadik added the
need info
label 2024-10-03 19:16:47 +02:00
Collaborator

Hmm, "ORIGIN_MT_pivotmenu" isn't a thing in the codebase anymore, so I feel like this might've been an error in the update process, and I'd expect it to work after restarting Blender. Can you check again?

Hmm, "ORIGIN_MT_pivotmenu" isn't a thing in the codebase anymore, so I feel like this might've been an error in the update process, and I'd expect it to work after restarting Blender. Can you check again?
Author

it is kind of crazy . it works perfectly with Blender 4.2.1 at home, but in 4.2.2 at work i get this error . I don't have admin rights over there, maybe thats why ?

I checked this several times with Blender restarts ...
thx for your response btw.

it is kind of crazy . it works perfectly with Blender 4.2.1 at home, but in 4.2.2 at work i get this error . I don't have admin rights over there, maybe thats why ? I checked this several times with Blender restarts ... thx for your response btw.
Collaborator

Is there any chance you have an old version of the add-on installed alongside the latest version? Because if you're still getting this error mentioning ORIGIN_MT_pivotmenu then that's my best guess. For reference, that class was renamed in the code to PIE_MT_set_origin in this commit, 2 months ago, which was v1.5.0 of the add-on.

Is there any chance you have an old version of the add-on installed alongside the latest version? Because if you're still getting this error mentioning `ORIGIN_MT_pivotmenu` then that's my best guess. For reference, that class was renamed in the code to `PIE_MT_set_origin` in [this commit](https://projects.blender.org/extensions/space_view3d_pie_menus/commit/63fe1597c1439fa541a479f39d8cb326980e1662#diff-a647c84e712c4dd4947fbfbe2f130c23a450081c), 2 months ago, which was v1.5.0 of the add-on.
Author

I'm sure the old version was removed before 1.6.2 was installed - I will double check this on monday at work ...

I'm sure the old version was removed before 1.6.2 was installed - I will double check this on monday at work ...
Author

double check result : it simply does not work ... but : all other shortcuts except Crtl+Alt+X are working

double check result : it simply does not work ... but : all other shortcuts except Crtl+Alt+X are working
Collaborator

What if you change the shortcut to something else?
Are you still getting the console error mentioned earlier, about ORIGIN_MT_pivotmenu?

What if you change the shortcut to something else? Are you still getting the console error mentioned earlier, about `ORIGIN_MT_pivotmenu`?
Author

will try tomorrow at work ...

will try tomorrow at work ...
Author

changing the shortcut works . after saving the settings and restarting Blender 4.2.2 it is back to Crtl+Alt+X and does not work ...

changing the shortcut works . after saving the settings and restarting Blender 4.2.2 it is back to Crtl+Alt+X and does not work ...
Collaborator

Can you search for "Ctrl Alt X" in your keymap editor like this:

image

And see if you get any potentially conflicting results? AFAIK, there shouldn't be anything other than this one entry from the add-on.

As for why the preferences aren't saving/loading correctly, I'm not too sure. Currently trying to figure that out in another task, but I can't reproduce the issue as it seems to work fine on my end.

Can you search for "Ctrl Alt X" in your keymap editor like this: <img width="593" alt="image" src="attachments/04f70e85-f9c5-44fa-b134-c224bea5fae8"> And see if you get any potentially conflicting results? AFAIK, there shouldn't be anything other than this one entry from the add-on. As for why the preferences aren't saving/loading correctly, I'm not too sure. Currently trying to figure that out in another task, but I can't reproduce the issue as it seems to work fine on my end.
Author

today i found out that deleting the "viewport_pie_menus.txt" makes it possible to change the shortcut to "-" ... this works then, changing it back to "Crtl Alt X" brings back the error message ...

i will try the Keymap / Key-Binding search tomorrow at work .

thx a lot !

today i found out that deleting the "viewport_pie_menus.txt" makes it possible to change the shortcut to "-" ... this works then, changing it back to "Crtl Alt X" brings back the error message ... i will try the Keymap / Key-Binding search tomorrow at work . thx a lot !
Author

it looks like you found the error ! brilliant - THX !!!

it looks like you found the error ! brilliant - THX !!!
Sign in to join this conversation.
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: extensions/space_view3d_pie_menus#39
No description provided.