Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
Just started a very basic try at a plugin.
I created a project, set up a dataset, created a very very basic Python recipe.
Then i converted recepie to plugin.
When I try to use the plugin in a different project, I get this error:
Oops: an unexpected error occurred
Plugin component test-plug2 in inspection doesn't declare python setup code
What does this error mean?
How to fix?
Thanks!
Hi,
this error arise when using custom forms (https://doc.dataiku.com/dss/latest/plugins/reference/other.html#custom-settings-ui) or using the `getChoicesFromPython` option for a SELECT parameter, and not defining the `paramsPythonSetup` field in the recipe.json.
If you're experimenting with plugin-ified recipes, you should start simple and not try custom UI or python-populated dropdowns.