On 4/1/2011 7:48 AM, kahmed wrote:


line 142 is:

"for test, err, capt in errors:"

   Somewhere in "errors" is a value that is not of length 3.

   Try this to find out what's wrong:

        for errorentry in errors :
            try :
                (test, err, capt) = errorentry  # try to unpack
            except ValueError as message :      # unpack failed
                raise(ValueError("%s: bogus entry in 'errors': %s" %
                    (message, repr(errorentry))))
            ...


                                John Nagle

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to