Hey Chad thanks for the reply, I did as you suggested and get the follow list:
Warning: Could not import module dlmodule: dynamic module does not define init function (initdlmodule) Warning: Could not import module _multibytecodecmodule: dynamic module does not define init function (init_multibytecodecmodule) Warning: Could not import module parsermodule: dynamic module does not define init function (initparsermodule) Warning: Could not import module _localemodule: dynamic module does not define init function (init_localemodule) Warning: Could not import module _shamodule: dynamic module does not define init function (init_shamodule) Warning: Could not import module rgbimgmodule: dynamic module does not define init function (initrgbimgmodule) Warning: Could not import module _testcapimodule: dynamic module does not define init function (init_testcapimodule) Warning: Could not import module cryptmodule: dynamic module does not define init function (initcryptmodule) Warning: Could not import module fcntlmodule: dynamic module does not define init function (initfcntlmodule) Warning: Could not import module timingmodule: dynamic module does not define init function (inittimingmodule) Warning: Could not import module selectmodule: dynamic module does not define init function (initselectmodule) Warning: Could not import module collectionsmodule: dynamic module does not define init function (initcollectionsmodule) Warning: Could not import module itertoolsmodule: dynamic module does not define init function (inititertoolsmodule) Warning: Could not import module nismodule: dynamic module does not define init function (initnismodule) Warning: Could not import module _md5module: dynamic module does not define init function (init_md5module) Warning: Could not import module gdbmmodule: dynamic module does not define init function (initgdbmmodule) Warning: Could not import module spwdmodule: dynamic module does not define init function (initspwdmodule) Warning: Could not import module _randommodule: dynamic module does not define init function (init_randommodule) Warning: Could not import module grpmodule: dynamic module does not define init function (initgrpmodule) Warning: Could not import module mmapmodule: dynamic module does not define init function (initmmapmodule) Warning: Could not import module cmathmodule: dynamic module does not define init function (initcmathmodule) I cd into the /lib64 and the file doesn't exist in any way, no version. Could I have an odd install going on? Cheers, Shawn On May 17, 8:50 am, Chad Dombrova <[email protected]> wrote: > 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 -- http://groups.google.com/group/python_inside_maya
