Hey Chad,

I was wondering if you were doing anything special when building the pymel
Sphinx docs.  I've developed an automated doc system with Sphinx here at our
studio.  I'm having issues with python code that imports pymel.  We're still
using 0.9.2.  If I put a try/except around the pymel import Sphinx seems to
build okay.

I always get this warning.
pymel.mayahook.mayautils : WARNING : Unable to open
'/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/mayaApi2008.2.07.bin' for
reading the API cache: [Errno 2] No such file or directory:
'/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/mayaApi2008.2.07.bin'

We have an XML based tool/application wrapper that modifies the environment
before a tool runs.  In the case of running Sphinx I load up the Maya
2008.2.07 with pymel.  How is this name being derived
/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/mayaApi2008.2.07.bin?  Our
wrappers don't actually rename the maya executable, the installed
applications are fresh out the box.

With the pymel imports I get the following
Exception occurred:
  File "/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/api/conversions.py",
line 1143, in _buildApiTypeHierarchy
    maya.cmds.loadPlugin( x )
RuntimeError: Plug-in, "buildRotationNode.cpp.so", was not found on
MAYA_PLUG_IN_PATH.

Partial traceback...
File
"/tmp/TOOLS_INSTALL/cent5_x86_64/MayaUtils-Project/MayaUtils/library/python/menuUtils.py",
line 8, in <module>
    from pymel import *
  File "/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/__init__.py", line
1473, in <module>
    import api
  File "/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/api/__init__.py",
line 13, in <module>
    from conversions import *
  File "/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/api/conversions.py",
line 1316, in <module>
    apiTypeHierarchy, apiClassInfo, apiToMelData, apiClassOverrides =
_buildApiCache(rebuildAllButClassInfo=False)
  File "/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/api/conversions.py",
line 1265, in _buildApiCache
    apiTypeHierarchy, apiTypesToApiClasses, apiClassInfo =
_buildApiTypeHierarchy(apiClassInfo=apiClassInfo)
  File "/data/app/cent5_x86_64/Pymel/0.9.2/pymel/pymel/api/conversions.py",
line 1143, in _buildApiTypeHierarchy
    maya.cmds.loadPlugin( x )
RuntimeError: Plug-in, "buildRotationNode.cpp.so", was not found on
MAYA_PLUG_IN_PATH

with try/except around pymel imports produces documenation.  I haven't dug
to deep into this, thought I'd ping you first.

Thanks
Justin

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to