def from_user_data(self, value):
        try:
            return str(value)
        except (__HOLE__, ValueError):
            raise SolrError("Could not convert data to binary string (field %s)" %
                    self.name)
dataset/ETHPy150Open tow/sunburnt/sunburnt/schema.py/SolrBinaryField.from_user_data