plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

Gem files crash when clicking help

Open alicwyz opened this issue 6 months ago • 1 comments

Versions: 0.9.2 (earlier one without gem included) and the latest nightly (both had the same problem)

When opening a file with gem objects - except the example files, the error only happens if the file was saved in a different folder (like downloads or documents, in my case) -, everything works fine, except when you press help on any node. Then the program freezes for a bit and crashes.

How to reproduce (in my pc at least):

  • Install plugdata latest nightly
  • Open a gem example, or add any gem object (like [gemhead])
  • Save the patch somewhere in documents/downloads/...
  • Reopen that patch, select the object and click help
  • Alternatively, add any object on that patch (like [osc~]) and click help on it

If there are no gem objects, help seems to work fine (?).

alicwyz avatar Jun 19 '25 21:06 alicwyz

Okay, the problem was the file didn't have the [declare -lib Gem]. Starting a new file from scratch and placing the [declare] first, before all other gem objects, prevents this from happening. However, placing the [declare] after the other objects in the old file didn't stop the issue.

alicwyz avatar Jun 21 '25 18:06 alicwyz