Hey team - when attempting to load a card via meta...
# ask-metaflow
g
Hey team - when attempting to load a card via metaflow UI I get a data exception that metaflow could not unpack artifact. I noticed this seems to only happen for the flow when the artifact is big.
Copy code
Card of type default is unable to be rendered with arguments None.
Stack trace :  Traceback (most recent call last):
  File "/metaflow/metaflow/datastore/content_addressed_store.py", line 163, in load_blobs
    blob = unpack_code(f)
  File "/metaflow/metaflow/datastore/content_addressed_store.py", line 188, in _unpack_v1
    return f.read()
  File "/metaflow/metaflow_redacted/lib/python3.7/gzip.py", line 287, in read
    return self._buffer.read(size)
  File "/metaflow/metaflow_redacted-64_e27b3daccfa81c5bfd1528fb33d2293fee317aa7/lib/python3.7/gzip.py", line 482, in read
    uncompress = self._decompressor.decompress(buf, size)
  File "/metaflow/metaflow/plugins/cards/card_cli.py", line 163, in raise_timeout
    raise TimeoutError
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/metaflow/metaflow/plugins/cards/card_cli.py", line 503, in create
    rendered_info = render_card(mf_card, task, timeout_value=timeout)
  File "/metaflow/metaflow/plugins/cards/card_cli.py", line 384, in render_card
    rendered_info = mf_card.render(task)
  File "/metaflow/metaflow/plugins/cards/card_modules/basic.py", line 600, in render
    components=self._components,
  File "/metaflow/metaflow/plugins/cards/card_modules/basic.py", line 340, in render
    self._task, graph=self._graph
  File "/metaflow/metaflow/plugins/cards/card_modules/convert_to_native_type.py", line 98, in __call__
    task_dict["data"], type_infered_objects = self._create_task_data_dict(task)
  File "/metaflow/metaflow/plugins/cards/card_modules/convert_to_native_type.py", line 108, in _create_task_data_dict
    data_object = data.data
  File "/metaflow/metaflow/client/core.py", line 902, in data
    obj = filecache.get_artifact(ds_type, location[6:], meta, *components)
  File "/metaflow/metaflow/client/filecache.py", line 216, in get_artifact
    [name],
  File "/metaflow/metaflow/datastore/task_datastore.py", line 364, in load_artifacts
    for (key, blob) in self._ca_store.load_blobs(to_load.keys()):
  File "/metaflow/metaflow/datastore/content_addressed_store.py", line 166, in load_blobs
    "Could not unpack artifact '%s': %s" % (path, e)
metaflow.datastore.exceptions.DataException: Could not unpack artifact 'redacted/data/e4/e4b47794c3c7916ec33e01f6aea76935ab9e3734':
1