Re: [Maya-Python] Can't import modules - Maya on Linux

2011-11-20 Thread Justin Israel
That error wouldnt be coming from the importing of standard python modules like os or sys or math. Its complaining about that 'String:Joint_Grp' being an invalid argument to someother command. Is that the complete traceback error you got? And stupid question... But... That object does exist with

[Maya-Python] Can't import modules - Maya on Linux

2011-11-20 Thread Panupat Chongstitwattana
Hi Everyone. So far I've been using Maya on Windows to learn Python. Today I tried to run some scripts on Linux and got this error import os # Error: TypeError: Object String:Joint_Grp is invalid # cmds.lockNode( 'String:Joint_Grp', lock=False ) cmds.lockNode( 'String:Curve_Grp', lock=False ) cmd