kubeflow-kale / kale

Kubeflow’s superfood for Data Scientists
http://kubeflow-kale.github.io
Apache License 2.0
628 stars 129 forks source link

Examples don't run on minkf-vagrant #358

Open sanjay-rendu opened 3 years ago

sanjay-rendu commented 3 years ago

I'm using the jupyter-kale-py36:kubecon21eu-automl-nightly image and cannot compile any of the examples from this repo due to the following error:


  File "/usr/local/lib/python3.6/dist-packages/kale/rpc/run.py", line 116, in run
    result = func(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/kale/rpc/nb.py", line 109, in validate_notebook
    NotebookProcessor(source_notebook_path, notebook_metadata_overrides)
  File "/usr/local/lib/python3.6/dist-packages/kale/processors/nbprocessor.py", line 185, in __init__
    super().__init__(**{**kwargs, **nb_metadata})
  File "/usr/local/lib/python3.6/dist-packages/kale/processors/baseprocessor.py", line 39, in __init__
    self.config = self.config_cls(**kwargs)
  File "/usr/local/lib/python3.6/dist-packages/kale/config/config.py", line 176, in __init__
    self._init_field(name, field_obj, input_value)
  File "/usr/local/lib/python3.6/dist-packages/kale/config/config.py", line 197, in _init_field
    type(input_value).__name__))
RuntimeError: NotebookConfig: Field 'katib_metadata' is expected of type 'V1beta1ExperimentSpec' but type 'NotebookNode' was found.