Installing Nyquist Plugins, strange behavior

Hi,

i am trying to install and activate 2 different nyquist scripts under the main menu item “generate”.

The first one is a downloaded “ready to use” script named “FM Tone Generator”, which is of ;type “generate”.

The second one is a self written nyquist plugin named “Sweep.ny”.

When activating ONLY ONE OF THEM, they appear under their name in the main menu item “generate” and works as expected.

But if i activate both, a new menu item “not available” appears under “generate”
and both plugins listed under this “not available” item.

This are the headers of both plugins:

;nyquist plug-in
;version 3
;type generate
;name “Frequency Sweep”

;nyquist plug-in
;version 3
;type generate
;categories “http://lv2plug.in/ns/lv2core#GeneratorPlugin”
;name “FM Tone Generator…”
;action “Generating Tone…”
;info “by Steve Daulton (www.easyspacepro.com).\nReleased under GPL v2.\n”

I think what you are seeing is a quirk in the new menu code. Audacity can identify a number of effect categories, and by default it sorts effects under those heading. If Audacity cannot identify a category, then if there is only one “unknown” category effect, it is listed as a separate entry, but if there are more than one “unknowns”, then they are grouped together in an “unknown” category.

The line in the “FM Tone Generator” plug-in:

;categories “http://lv2plug.in/ns/lv2core#GeneratorPlugin”

was a mechanism for adding category information to Nyquist plug-ins, but this mechanism is no longer supported in Audacity.

Thank you for your fast reply.
I changed the headers, but it still does not work.

First Plugin:
;nyquist plug-in
;version 3
;type generate
;name “Frequency Sweep”

Header of the second plugin:
;nyquist plug-in
;version 3
;type generate
;name “FM Tone Generator…”

What makes me confused is, that if i disable one of the plugins (no matter, which one) every thing is correct.
Only if both are activated, they do not appear in the correct menu.

i wrote a third plugin named “test” and the same header.

it does not appear in the menu too. all combinations of more than one plugin appears under “not available”

As I wrote:

OK, now we know “the why”.
But what about a suggested solution?
How to set a category, and which categories would be correct?