The best form of a log message is to not use string building at all, and let the log function do it for you.  I wonder if this would also solve the problem:

```
log.exception(u"Unable to grade...  %s", section_descriptor.location)
```

If you can reproduce the problem and test this as a fix, it would be better.