i've never seen that error before.  i can say with confidence that pymel 1.0.2 
works with maya 2009 on fedora linux 10, but every linux distro is different.  
here's something you can do to test the compatibility of your linux against the 
version of python that comes with maya

extract the pymel 1.0.2.zip
open a terminal and cd to the directory where you extracted it
run mayapy

then from within the running mayapy python interpreter, run this:

import setup
setup.test_dynload_modules()

it will warn you about modules that do not import correctly.  if you are 
missing the version of the lib that maya expects, you should make a symbolic 
link from an existing version to the missing version.  if you need more info 
there is a section in the docs about doing that.

-chad



On May 14, 2010, at 5:51 PM, shawnpatapoff wrote:

> 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

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to