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 a String namespace?



On Nov 20, 2011, at 11:11 PM, Panupat Chongstitwattana <[email protected]> 
wrote:

> 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 )
> cmds.lockNode( 'String:Surface_Grp', lock=False )
> cmds.lockNode( 'String:Locator_Grp', lock=False )
> cmds.lockNode( 'String:IkHandle_Grp', lock=False )
> cmds.lockNode( 'String:Cluster_Grp', lock=False )
> 
> Maya 2011 x64 running on Fedora 14.
> 
> Any idea what this error is? I'm getting this same error with anything
> I'm trying to import - sys, math, etc.
> 
> Panupat C.
> 
> -- 
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings: 
> http://groups.google.com/group/python_inside_maya/subscribe

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to