Use unicode(locator) rather than old_location for the error