-
Notifications
You must be signed in to change notification settings - Fork 38
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
Can not get output in sublime to work #29
Comments
It usually takes at most a day for the changes to sync up with the Sublime Package Control system and then be delivered back to those that are using automatic updates. Are you using it through Package Control and has it updated to 3.0.2? Have you checked your package location to confirm the code has been updated to the latest version? |
I just tryed removing the package, and installing again from Package control, Opened the code and it has the sys import. |
It seems that Sublime Package Control updated their format, possibly, and is not automatically picking up my updates. It did not pick up release 3.0.2 because it says the last release date it is using is a day before the 3.0.2 release. I've submitted a pull to update the settings. wbond/package_control_channel#6107 In the meantime, you could also manually clone MayaSublime to your package location. |
Did this end up working for you? |
I tried with the latest source from here. Now I'm getting this error in Maya's script editor
sys error is gone but still not working. :( |
I've just tested this, with a fresh install from Package Control, using Maya 2016 ext2, and it works as expected. Can you try making sure you have removed all traces of MayaSublime, and then install it fresh from Package Control? You may want to make sure you have cleared your user prefs in case that is causing a problem. |
@justinfx ,I'm using the latest version, and I can get "receive_maya_output" work only if I set "no_collisions" to true. Otherwise, I get the same error "# NameError: name '_MayaSublime_streamScriptEditor' is not defined". |
@kurtontheway , I was able to reproduce this as you said, by enabling "receive_maya_output" and disabling "no_collisions". The problem was that the callback was only ever being installed into the private python namespace. I've pushed fixes to install it to the appropriate namespace (global or private) based on the settings. Can you confirm the master branch works for you? If so, I can tag it as 3.0.3 to it releases to package control |
Tagged as release 3.0.4: |
@justinfx , Sorry for the late response and thank you for the quick fix, but I was unable to receive any maya output in sublime console by enabling "receive_maya_output" and disabling "no_collisions", no error messages as well. |
Even after restarting Maya./Sublime? I at first saw the same issue because the old code was still loaded in Maya. But then I was seeing output in the Sublime console. |
After restarting both Maya and Sublime. |
Sorry, I have been really busy but I will find time to look at it again. It must have something to do with the two namespaces causing headaches |
I get the following error in Maya's script editor
I noticed you did a commit where you added
import sys
to pubScriptEditor.py. Installed latest version but I still get the error.Any ideas?
Im using Maya2016 Extension 2
The text was updated successfully, but these errors were encountered: