Plugin setup code

Level 1
Plugin setup code


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?




0 Kudos
1 Reply


this error arise when using custom forms ( 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