Let's just pull what we have for now, and see what further error states we might be able to find out.


On Feb 5, 2013, at 9:05 PM, Sef Kloninger <notifications@github.com> wrote:

> In main/courses/exams/autograder.py:
> 
> > +                retry_limit = 4        # after this many attempts, don't retry
> > +                attempt = 1            # start counting at 1
> > +                watchwords = ['time out', 'timed out', 'timeout', 'error', 'fail', 'failure']
> > +                while attempt <= retry_limit:
> > +                    try:
> > +                        post_data = urllib.urlencode(post_params)
> > +                        time_before = datetime.now()
> > +                        grader_conn = urllib2.urlopen(grader_url, post_data, grader_timeout)
> > +                        time_after = datetime.now()
> > +                        duration = time_after - time_before  # timedelta
> > +                        logger.info("interactive grader \"%s\" returned in %s" 
> > +                                % (grader_name, str(duration)))
> > +                        graded_result = grader_conn.read()
> > +
> > +                        for w in watchwords:
> > +                            if string.find(graded_result.lower(), w, 0, 10) != -1:
> that's better. I can't make this change tonight, so either we pull what we have now (and I've tested) and we can fix later, or if you want to take a crack at a fix, I'd appreciate that. Either way I'd hate for it to miss this release just for this.
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>