artbycrunk / vscode-maya

A Visual Studio Code extension with support for coding for Maya.
MIT License
43 stars 9 forks source link

Print statements not appearing in MayaCharm #8

Closed kalkoby closed 4 years ago

kalkoby commented 4 years ago

I want to know if there is a way to print the translation information from Maya that I code in Visual Studio Code. I was able to send command to Maya to create some geometry stuffs. I do not see any output from print statements. If I were to run Python embedded in Maya, I would see the print statements. But not the external editor of VSC, your advice will be appreciated. I think the problem is that I was not able to receiving info from Maya to VSC but I was able to send information to Maya.

Thanks in advance

artbycrunk commented 4 years ago

Hi @kalkoby,

The information is available in VSC`s Output window under Maya.

image

kalkoby commented 4 years ago

Hello Savio,

Thank you so much for your reply. Setting up environment always have been so difficult for me. I am good at coding but I need to set up environment properly before I could go ahead smoothly.

That is what I want like you have.

1 I finally was able to send Python to Maya as shown on the left side. However I kept getting error on the right side. It would be nice if I could do both.

Number 2 : I also am struggling to import the custom python program. How could I do on VSC?

Thanks in advance, Karen


From: Savio Fernandes notifications@github.com Sent: Friday, August 9, 2019 3:50 AM To: artbycrunk/vscode-maya vscode-maya@noreply.github.com Cc: kalkoby dralkoby@live.com; Mention mention@noreply.github.com Subject: Re: [artbycrunk/vscode-maya] Print statements not appearing in MayaCharm (#8)

Hi @kalkobyhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkalkoby&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209952373&sdata=PnzaIvliYuU6TJao9GS5SNbUmeJOlLotwLjeXrKgIfo%3D&reserved=0,

The information is available in VSC`s Output window under Maya.

[image]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F1092099%2F62763100-4e7e5c00-babd-11e9-9218-9deaa5fb5d90.png&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209962371&sdata=SCNspR6zfAPmFveJ%2FcEkcwaHYLu0%2FzPSO78xVb7aOSs%3D&reserved=0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartbycrunk%2Fvscode-maya%2Fissues%2F8%3Femail_source%3Dnotifications%26email_token%3DABMBZPV3PYWYR47QDZ645PTQDUOTXA5CNFSM4IJ452U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3544QI%23issuecomment-519818817&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209972382&sdata=hydQVFxvfL642veXdcfh%2FHmMDl5QUp9ucgqcrZ%2FthCo%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABMBZPXFPTSOFHE5CGRS6V3QDUOTXANCNFSM4IJ452UQ&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209982393&sdata=ygU0%2FwPWk1tSEpwpLeDeogirduw1IklL4NRqLP%2BXEPY%3D&reserved=0.

kalkoby commented 4 years ago

To make things easier : I think I need to find a way to point to correct pylint in VSC.

[cid:ce0a1744-48d7-4495-a0a6-a5cf5cbda39c]


From: karen alkoby dralkoby@live.com Sent: Sunday, August 11, 2019 4:05 AM To: artbycrunk/vscode-maya reply@reply.github.com Subject: Re: [artbycrunk/vscode-maya] Print statements not appearing in MayaCharm (#8)

Hello Savio,

Thank you so much for your reply. Setting up environment always have been so difficult for me. I am good at coding but I need to set up environment properly before I could go ahead smoothly.

That is what I want like you have.

1 I finally was able to send Python to Maya as shown on the left side. However I kept getting error on the right side. It would be nice if I could do both.

Number 2 : I also am struggling to import the custom python program. How could I do on VSC?

Thanks in advance, Karen


From: Savio Fernandes notifications@github.com Sent: Friday, August 9, 2019 3:50 AM To: artbycrunk/vscode-maya vscode-maya@noreply.github.com Cc: kalkoby dralkoby@live.com; Mention mention@noreply.github.com Subject: Re: [artbycrunk/vscode-maya] Print statements not appearing in MayaCharm (#8)

Hi @kalkobyhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkalkoby&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209952373&sdata=PnzaIvliYuU6TJao9GS5SNbUmeJOlLotwLjeXrKgIfo%3D&reserved=0,

The information is available in VSC`s Output window under Maya.

[image]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F1092099%2F62763100-4e7e5c00-babd-11e9-9218-9deaa5fb5d90.png&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209962371&sdata=SCNspR6zfAPmFveJ%2FcEkcwaHYLu0%2FzPSO78xVb7aOSs%3D&reserved=0

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fartbycrunk%2Fvscode-maya%2Fissues%2F8%3Femail_source%3Dnotifications%26email_token%3DABMBZPV3PYWYR47QDZ645PTQDUOTXA5CNFSM4IJ452U2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3544QI%23issuecomment-519818817&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209972382&sdata=hydQVFxvfL642veXdcfh%2FHmMDl5QUp9ucgqcrZ%2FthCo%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABMBZPXFPTSOFHE5CGRS6V3QDUOTXANCNFSM4IJ452UQ&data=02%7C01%7C%7Cd6e24289b4554bc9402708d71c9e3a42%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637009338209982393&sdata=ygU0%2FwPWk1tSEpwpLeDeogirduw1IklL4NRqLP%2BXEPY%3D&reserved=0.

artbycrunk commented 4 years ago

Hey Karen, seems like you are having multiple issues, which are a bit hard to understand here.. maybe you can better explain on a quick chat here.. https://gitter.im/vscode-maya/vscode-maya

And regarding pylint, if you pip install pylint in your current python environment, and add pylint to your vscode settings, it should currently be activated.

artbycrunk commented 4 years ago

@kalkoby are you still having issues?

kalkoby commented 4 years ago

Hello! Sorry I did not reply back to you. I still have an issue but I am using PyCharm. For my debugging, I have to use print statements. I wish there is an interactive debugging between Maya and Python. So far, I have'nt had a luck.

Karen


From: Savio Fernandes notifications@github.com Sent: Thursday, April 30, 2020 9:18 PM To: artbycrunk/vscode-maya vscode-maya@noreply.github.com Cc: kalkoby dralkoby@live.com; Mention mention@noreply.github.com Subject: Re: [artbycrunk/vscode-maya] Print statements not appearing in MayaCharm (#8)

@kalkobyhttps://github.com/kalkoby are you still having issues?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/artbycrunk/vscode-maya/issues/8#issuecomment-622019643, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABMBZPQTBXV5L63LSNHGS6TRPG6GPANCNFSM4IJ452UQ.

jdily commented 2 years ago

Hi I am not sure why I can not see the print message under VS code output window under Maya? I follow the code above, but got no printed message. Do you know how can I get the message? image