davemds pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=283efd1a281853569db01b384303b7aee9ee00b9
commit 283efd1a281853569db01b384303b7aee9ee00b9 Author: Dave Andreoli <[email protected]> Date: Fri Aug 5 15:09:06 2016 +0200 Logger: do not fail if the error msg contain invalid chars now invalid chars are replaced by an "?" --- efl/utils/logger.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/efl/utils/logger.pyx b/efl/utils/logger.pyx index 55b3675..0fcdd53 100644 --- a/efl/utils/logger.pyx +++ b/efl/utils/logger.pyx @@ -60,8 +60,8 @@ cdef void py_eina_log_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, vsprintf(log_buf, fmt, args) - msg = log_buf.decode("utf-8") - name = d.name.decode("utf-8") + msg = log_buf.decode('UTF-8', 'replace') + name = d.name.decode('UTF-8', 'replace') rec = logging.LogRecord( name, log_levels[level], file, line, msg, None, None, fnc) --
