There is a typo at the top please disregard. After a[0].listAttr the error begins.
On May 14, 5:50 pm, shawnpatapoff <[email protected]> wrote: > Hey Everyone, > > In linux I have Maya 2009 with the most recent pyMel > > I run: > a = polyCube() > a.listAttr() > > I get these errors: > # Error: 'list' object has no attribute 'listAttr' > # Traceback (most recent call last): > # File "<maya console>", line 1, in <module> > # AttributeError: 'list' object has no attribute 'listAttr' # > a[0].listAttr() > # Error: 'NoneType' object has no attribute 'parse' > # Traceback (most recent call last): > # File "<maya console>", line 1, in <module> > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/core/nodetypes.py", line 468, in listAttr > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/core/nodetypes.py", line 468, in <lambda> > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/core/nodetypes.py", line 1280, in attr > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/core/nodetypes.py", line 356, in attr > # File "/Volumes/VFX/home/shawnpatapoff/key_local_tool_development/ > key_base/python/pymel/util/nameparse.py", line 1426, in > getBasicPartList > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/util/objectParser.py", line 367, in __new__ > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/util/objectParser.py", line 146, in classparse > # File "/home/shawnpatapoff/key_local_tool_development/key_base/ > python/pymel/util/objectParser.py", line 582, in parse > # AttributeError: 'NoneType' object has no attribute 'parse' # > > I'm running the OSX as well and it works fine. Is there something I > didnt consider in the linux installation? > > Cheers, > Shawn > > --http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
