keep un-truncate engine from breaking
keep un-truncate engine from breaking

I don't actually know what is happening, with 3.1 in publisher and the latest in clearly, on canvas I do receive:

Traceback (most recent call last):
  File "/usr/src/clearly/clearly/event_core/event_listener.py", line 131, in _process_task_event
    task.result = EventListener.compile_task_result(task)
  File "/usr/src/clearly/clearly/event_core/event_listener.py", line 157, in compile_task_result
    safe_compile_text(result, raises=True)
  File "/usr/src/clearly/clearly/safe_compiler.py", line 76, in safe_compile_text
    txt = ast.parse(txt, mode='eval')
  File "/usr/local/lib/python3.8/ast.py", line 47, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 1
    {'result': ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,...
                                                                                                                                    ^
SyntaxError: unexpected EOF while parsing

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/kombu/serialization.py", line 50, in _reraise_errors
    yield
  File "/usr/local/lib/python3.8/site-packages/kombu/serialization.py", line 263, in loads
    return decode(data)
  File "/usr/local/lib/python3.8/site-packages/kombu/utils/json.py", line 86, in loads
    s = s.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/clearly/clearly/event_core/event_listener.py", line 136, in _process_task_event
    task.result = repr(self._app.AsyncResult(task.uuid).result)
  File "/usr/local/lib/python3.8/site-packages/celery/result.py", line 438, in result
    return self._get_task_meta()['result']
  File "/usr/local/lib/python3.8/site-packages/celery/result.py", line 414, in _get_task_meta
    return self._maybe_set_cache(self.backend.get_task_meta(self.id))
  File "/usr/local/lib/python3.8/site-packages/celery/backends/base.py", line 451, in get_task_meta
    meta = self._get_task_meta_for(task_id)
  File "/usr/local/lib/python3.8/site-packages/celery/backends/base.py", line 774, in _get_task_meta_for
    return self.decode_result(meta)
  File "/usr/local/lib/python3.8/site-packages/celery/backends/base.py", line 322, in decode_result
    return self.meta_from_decoded(self.decode(payload))
  File "/usr/local/lib/python3.8/site-packages/celery/backends/base.py", line 326, in decode
    return loads(payload,
  File "/usr/local/lib/python3.8/site-packages/kombu/serialization.py", line 263, in loads
    return decode(data)
  File "/usr/local/lib/python3.8/contextlib.py", line 131, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.8/site-packages/kombu/serialization.py", line 54, in _reraise_errors
    reraise(wrapper, wrapper(exc), sys.exc_info()[2])
  File "/usr/local/lib/python3.8/site-packages/vine/five.py", line 194, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.8/site-packages/kombu/serialization.py", line 50, in _reraise_errors
    yield
  File "/usr/local/lib/python3.8/site-packages/kombu/serialization.py", line 263, in loads
    return decode(data)
  File "/usr/local/lib/python3.8/site-packages/kombu/utils/json.py", line 86, in loads
    s = s.decode('utf-8')
kombu.exceptions.DecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte

rsalmei/clearly