Error running composition if subcomposition's node class name has a single part (no period)

Steps to reproduce the bug

See attached composition and screen dump.
The subcomposition encodeangle2colour is in the modules directory and appears in the node library. I can double click on the node in the main composition and it opens. If I double click in the node library it doesn’t get added to the main composition. And when I try to run the composition I get the attached error.

Have you found a workaround?

No

Other notes

  • Vuo version:
    2.4.4
  • macOS version:
    14.2.1
  • Mac model and CPU:
    MacMini Intel
  • Have you been able to reproduce the bug?
    yes
  • How severely does this bug affect you?
    Significantly

dualptz.zip (25.8 KB)

Screenshot 2024-02-12 at 7.10.08 pm

Thanks for reporting this bug, @pbourke. It turns out that Vuo doesn’t correctly handle subcomposition names that have just one part, as opposed to multiple dot-separated parts.

As a workaround, I renamed encodeangle2colour.vuo to pbourke.encodeangle2colour.vuo and hour_min_sec.vuo to pbourke.hour_min_sec.vuo, opened dual PTZ viewer 2560.vuo in a text editor and changed the references to those subcomposition there. I was then able to add the subcompositions to the canvas and run the composition.

dualptz_renamed.zip (27.6 KB)

I’ve marked the bug report as accepted and updated the title to clarify the problem.