Hello Flyte community I was testing flytedecks for...
# ask-the-community
Hello Flyte community I was testing flytedecks for the first time. I found the online examples here https://docs.flyte.org/en/latest/user_guide/development_lifecycle/decks.html#decks do not work . There is a
not mentioned and I get the error I will post in this thread. This page seems to be an older version since it uses the deprecated
but is not listed as such
This is with creating a custom container with the required dependencies
Copy code
Traceback (most recent call last):

      File "/usr/local/lib/python3.11/site-packages/flytekit/exceptions/scopes.py", line 183, in system_entry_point
        return wrapped(*args, **kwargs)
      File "/usr/local/lib/python3.11/site-packages/flytekit/core/base_task.py", line 747, in dispatch_execute
        self._write_decks(native_inputs, native_outputs_as_map, ctx, new_user_params)
      File "/usr/local/lib/python3.11/site-packages/flytekit/core/python_function_task.py", line 369, in _write_decks
      File "/usr/local/lib/python3.11/site-packages/flytekit/deck/renderer.py", line 107, in to_html
        installed_packages = json.loads(
      File "/usr/local/lib/python3.11/json/__init__.py", line 346, in loads
        return _default_decoder.decode(s)
      File "/usr/local/lib/python3.11/json/decoder.py", line 340, in decode
        raise JSONDecodeError("Extra data", s, end)


    JSONDecodeError: Extra data: line 2 column 1 (char 6887)

SYSTEM ERROR! Contact platform administrators.
flytekit==1.12.3 flytectl 0.8.24
Why such an old version of flytekit
Yes we moved to change flag name to enable_decks
Cc @Nikki Everett docs?
i can update
Is it old? v1.12.3 is the latest https://github.com/flyteorg/flytekit/releases and 0.8.24 seems to be the latest stable version of flytectl
Oops my bad I read it as 1.2.3 haha
@Nuha Jabakhanji would you mind raising an issue to track this?