AREA forums upgrade
Read more about the planned upgrade of our forums
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / PyMel Import error : Pop from empty list?
IMPORTANT ANNOUNCEMENT ABOUT AREA FORUMS
  RSS 2.0 ATOM  

PyMel Import error : Pop from empty list?
Rate this thread
 
67109
 
Permlink of this thread  
avatar
  • J.D.
  • Posted: 15 May 2012 08:59 PM
  • Location: Berlin
  • Total Posts: 65
  • Joined: 17 November 2010 04:53 AM

Whenever I try to import pymel as pm, or “from pymel.core import *”, I get this:

import pymel.core as pm

# pymel.core : Updating pymel with pre-loaded plugins: OpenEXRLoader, DirectConnect, mayaHIK, ikSpringSolver, Mayatomr, decomposeMatrix, tiffFloatReader, VectorRender, studioImport, mayaCharacterization, rotateHelper, Substance, MayaMuscle, OneClick, fbxmaya, ik2Bsolver, 3DxMaya # 
#  IndexError: file C:\Program Files\Autodesk\Maya2012\Python\lib\site-packages\pymel-1.0.0-py2.6.egg\pymel\internal\cmdcache.py line 212: pop from empty list #

No Idea what the problem is :/
It’s a fresh installation of Maya2012, I’ve unpacked the latest version of PyMel (1.0.3) to a custom dir, I’ve tried both maya.env setup and systemVar setups, neither of them work.
I know for a fact the the installation should work (it does work on my home computer), but for some reason it’s acting up on my work computer.

I posted this question on StackOverflow (http://stackoverflow.com/questio...#comment13607009_10516849) and one of the coders there was able to trace it to

pymel.internal.cmdcache.pyline 205lines cmds.helpcommand ).split('\n')

But didnt have any clue on how to fix this error.

Can you peeps help me out with this? Im at a complete loss here :<



AutoWalk script out on CreativeCrash!
http://www.creativecrash.com/may...gins/animation/c/autowalk
Jeeves Simple Biped Rig:
http://www.creativecrash.com/maya/downloads/character-rigs/c/jeeves
Dload, test & share! Feedback very much appreciated!

Replies: 0