Also, could you send the whole traceback? You may have to turn them on first from the Script Editor, with the
History > Show stack trace History > Line numbers in errors menu items. - Paul On Fri, Jan 7, 2011 at 7:45 AM, Chad Dombrova <[email protected]> wrote: > can you send all the code that causing the error? > > On Jan 7, 2011, at 6:37 AM, PixelMuncher wrote: > > > Hi all: > > I receive this error when I attempt to run a pymel script: > > # Error: TypeError: __init__() takes at most 2 arguments (4 given) # > > I've been working on this script for months and have never encountered > > this error before (at least I didn't notice it). When I run some of my > > older versions, I get the same error. I don't have an __init__ command > > or use any custom classes. > > I have 2 import statements: > > import pymel.core as pm > > import cPickle as Pickle > > Any suggestions for fixing this would be greatly appreciated. > > > > -- > > http://groups.google.com/group/python_inside_maya > > -- > http://groups.google.com/group/python_inside_maya > -- http://groups.google.com/group/python_inside_maya
