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

PY_MAYA_CALLBACK fails if sys is not imported before executing #33

Closed
Jawabiscuit opened this issue Jun 5, 2017 · 7 comments
Closed

Comments

@Jawabiscuit
Copy link

I put an import sys statement in Maya's userSetup.py or .mel and it works.

@justinfx
Copy link
Owner

justinfx commented Jun 5, 2017

Is this a duplicate of #28? I had fixed this same problem in the past. Can you confirm if you are on an old version? Fixed in 3.0.2

@justinfx
Copy link
Owner

justinfx commented Jun 6, 2017

Ok, so you manually cloned the plugin instead of using Package Control, which means it won't be auto updating. It will be however old it was when you cloned it. You could type git log to see the most recent commit. Or you could look at the "messages" subdirectory and see what the latest version file is. If you run git pull do you pick up any new changes.

@Jawabiscuit
Copy link
Author

git pull
Already up-to-date.

@justinfx
Copy link
Owner

justinfx commented Jun 7, 2017

I can't reproduce this problem at work. I will have to try when I have time from another computer. Seems like the problem should have already been fixed but you say you have the latest clone.

@justinfx
Copy link
Owner

justinfx commented Jun 7, 2017

Hah! I just figure out why I missed it. Needed to enabled the callback :-) I will push up a fix.

@justinfx
Copy link
Owner

justinfx commented Jun 7, 2017

Pull again and that should fix it. Thanks!

@Jawabiscuit
Copy link
Author

Good on my end 👍

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

2 participants