Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maya error #11

Open
Mikfr83 opened this issue Jul 23, 2017 · 5 comments
Open

Maya error #11

Mikfr83 opened this issue Jul 23, 2017 · 5 comments
Assignees

Comments

@Mikfr83
Copy link

Mikfr83 commented Jul 23, 2017

Hello,

I have this error with maya:
// Error: file: C:/Program Files/Autodesk/Maya2017/scripts/others/drInit.mel line 2573: menu: Object 'MyScripts_menu' not found. //

@BigRoy
Copy link
Member

BigRoy commented Aug 28, 2017

@Mikfr83 thanks for reporting this. We might be able to have a look at this next week. @aardschok could you have a look?

@aardschok
Copy link
Contributor

@Mikfr83 Could you elaborate on how you got at this error? A few steps to recreate the error on my side.
Thank you!

@Mikfr83
Copy link
Author

Mikfr83 commented Sep 6, 2017

Hello,
Sorry for the delayed response!
It's only appear when we use the hotbox (spacebar).
With a left / right click in the north, south, center, ... zone.
It's a none blocking error, but strange.
Thanks in advance,

@aardschok
Copy link
Contributor

Hi,

Thanks for your reply, I got the same result as you with the hotbox.
Currently we will leave it as it is and add will the information about the error to the README.

The error has to do with the fact that the menu is made through Qt commands and not through MEL or maya.cmds which register the menu correctly.

Keep an eye on this thread in the future, we definitely want to solve it.

Greetings

@BigRoy
Copy link
Member

BigRoy commented Feb 9, 2022

The only way around this as far as I have found is unfortunately is to make the top menu bar entry using maya.cmds.menu as far as I can tell. We might be able to make the regular menu item in Maya, then convert that menu object to Qt and continue the rest of the work of scripts menu on that Qt instance of the menu.

But I might need to investigate that more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants