Help Shape the Future of Dataiku Join our User Research Program

Plugin setup code

Levos
Level 1
Plugin setup code

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!

 

0 Kudos
1 Reply
fchataigner2
Dataiker
Dataiker

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.

0 Kudos
A banner prompting to get Dataiku DSS