An invalid argument has been encountered : Recipe has no name

Options
Chris_hkl
Chris_hkl Registered Posts: 3 ✭✭✭✭
Hi,

I created a new plugin, and when I try to use the custom recipe, after choosing my input and clicking on "create" I have this red message "An invalid argument has been encountered : Recipe has no name". Could you please help me ?

Regards,

Christophe Haikal

Answers

  • UserBird
    UserBird Dataiker, Alpha Tester Posts: 535 Dataiker
    Options
    Hi,

    This message usually appears when your plugin recipe does not have an output. Is that your case ? If not can you give me more details about the input/output in your plugin.json file ?

    Cheers,

    Du
  • Chris_hkl
    Chris_hkl Registered Posts: 3 ✭✭✭✭
    Options
    Yes it is my case, is having an output mandatory ? Because I do not need one.
  • UserBird
    UserBird Dataiker, Alpha Tester Posts: 535 Dataiker
    Options
    Hi,

    Indeed, DSS should not let you create a plugin recipe without output. Having an output is part of the concept of recipe in DSS. Even if your recipe doesn't actually write to the output, its existence is still needed to track changes and rebuilds.

    If you don't want to have outputs on your recipe, maybe you should consider other types of plugin components, like for example the Macro one.
  • Chris_hkl
    Chris_hkl Registered Posts: 3 ✭✭✭✭
    Options
    Thank you Duphan for your quick reply,
    Concerning the plugin, is it possible to print something in it ? ( in case of error for example)
Setup Info
    Tags
      Help me…