Open raimonesteve opened 7 years ago
Hi, thanks for the bug report! str(exception)
definitely should not fail, I'll try to figure out why that happens.
Try with this:
def str(self): return unicode(self.message).encode('utf-8')
inside Error class
Hie,
working with psycopg2cffi backend, in exception database (SQL constrains) can't encode ASCII character.
Is it possible exceptions database to encoding with unicode?
More information: https://bugs.tryton.org/issue6128
The traceback: