Can no longer enable plugins after 2.3.3 -> 2.4.0 update

I’m running Arch Linux 5.6.13. Just performed the update to Audacity 2.4.0 (from the official repositories) and found that all my plugins had been disabled. Didn’t seem to be a big deal until I found that I can’t re-enable any of my Nyquist or LADSPA plugins.

The dialog for enabling/disabling plugins shows that the plugins are enabled after I attempt to re-enable them. But on clicking OK, none of the plugins appear on the Generate/Effect/Analyze menus, even after quitting and relaunching Audacity. Attempting to run macros that call these plugins also fails.

Has anyone else encountered this, or did somethings possibly go wrong during the upgrade process?

There’s at least a couple of possibilities. To help narrow down the problem, try resetting Audacity.
To do that, quit Audacity and then open the hidden folder:

~/.audacity-data/

and move or delete the three files:

  • audacity.cfg
  • pluginregistry.cfg
  • pluginsettings.cfg

Then restart Audacity and look in the menus to see which effects are enabled.

Thanks, steve. It occurred to me this morning that I ought to check the pluginregistry.cfg file. Apparently I was a bit tired when I updated Audacity last night.

It looks like the app is recognizing LADSPA plugins just fine as it turns out. But after deleting the pluginregistry.cfg and pluginsettings.cfg, it became obvious that no Nyquist plugins are being detected by Audacity. The Add/Remove Plug-ins dialog lists neither /usr/share/audacity/plug-ins nor ~/.audacity-data/Plug-Ins (where my customized plug-ins reside), although both directories exist and contain many Nyquist plug-ins.

After creating a new default audacity.cfg file, I checked the Effects panel in the Preferences. The “Nyquist” checkbox is missing from the list of available plug-in types.

Screenshot_2020-05-18_12-30-19.png
I assume this is why neither of the Nyquist plug-n folders are listed.

Is there a way I can re-enable support for Nyquist plug-ins by manually editing the cfg files perhaps?

Tried adding this to the audacity.cfg file to reflect the settings of the other plug-in types there:

[Nyquist]
Enable=1

The lines get removed from the config when Audacity is launched and Nyquist plug-ins, apart from the built-in ones, are still not usable. :frowning:

Look in “Help menu > About Audacity → Build Information”.
Scroll down to “Features”.
Is “Nyquist” enabled?

Untitled.png

Yes, the build info says that Nyquist plug-in support is enabled.
Screenshot_2020-05-19_08-05-58.png

I tried removing and reinstalling Audacity 2.4.0 and still see the same issues. The built-in Nyquist filters seem to work, although I had to mess with the Enable checkbox at the bottom of the effect itself to get the Apply button to become available in some cases.

I also encountered another new issue in 2.4.0: selecting View > Track Size > Fit to Height from the menus causes the app to crash. This didn’t occur with 2.3.3. Fit to Width works fine.

Where do I find the crash logs for this? Would this be useful to you?

I just tried to upgrde from 2.3.3 to 2.4.1 and experienced the same problem. I assumed it had been fixed with the 2.4.1 release.

Hi,

I can confirm this issue with 2.4.1 also. Has the bundled content been omitted from the source archive?

Listing the .deb package contents with dpkg shows no evidence of bundled content. Even the standard macros aren’t present in .audacity-data/Macros.

UPDATE: It appears that the .audacity-data/Macros folder isn’t populated until you visit the Tools|Macros… menu item. I’m not sure if you need to view the macros by selecting them also. That’s a bit unexpected.

ATB,
Neil

…what i did here…

Grabbed the previous .deb for audacity-data, extracted it’s contents…
https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/audacity/+build/18150499
Then manually copied the data under /usr/share/audacity/nyquist & /usr/share/audacity/plugins.
Deleted the .cfg files from ~/.audacity-data/, and restarted.

No complaints shown in Help - Diagnostics - Show Log afterwards,
Edit - Preferences - Effects does show Nyquist (checkmarked),
Add / Remove Plugins shows the Nyquist plugins to also be enabled…

Seems like things work. Emphasis on seems:
some .lsp files which were installed from the ppa deb under /usr/share/audacity/nyquist,
did had to be explicitly overwritten (different filesizes).
As in, not sure about the possible side-effects.

Debian splits Audacity into two packages:

  1. audacity
  2. audacity data

For a correct installation of Audacity, both packages, with matching version numbers should be installed. Thus to install Audacity 2.4.1 correctly, you need to install “audacity 2.4.0” and “audacity-data 2.4.0”.

The most recent “official” deb packages for Audacity is version 2.3.3-2.

Yeap. I believe it’s a packaging error from PanjaJim’s side
(referring to the ppa, no idea about Arch etc i’m afraid).

From some quick further cross-examination…the 2.4.1-ppa package currently:

  1. Does not create /usr/share/audacity/plugins in the first place
    (and thereby doesn’t install .ny files there).
  2. Does create /usr/share/audacity/nyquist, but installs fewer (and wrong) .lsp files.

2.4.1-ppa for /usr/share/audacity/nyquist…

md5sum *
88f0341d74cd6f644cb98acfd55ebcf1  aud-do-support.lsp
b17266007c322d3e8699df06ba2876a8  dspprims.lsp
a4422936493a0532eb2e974afd85db05  envelopes.lsp
cb724412e014fb4c131f2280c56318f9  equalizer.lsp
cca84baae9e098331a927e0b79f85b8c  evalenv.lsp
28399f89b1362e519facdf23ffb10a36  fileio.lsp
d93d8eb0003376ff503573bab65177f0  init.lsp
f74fb89468e9d86546d19b5c48eee381  misc.lsp
b5c216912d541e69c1df1807a77e3632  nyinit-dbg.lsp
78cc61bf7a31636f63db019fb842a75c  nyinit.lsp
0040744733d74c6ad276d1bb3ec3f0f2  nyqmisc.lsp
23d04d941c090c78ca84f31db0056393  nyquist-plot.txt

What i see when i checksum the 2.4.1 release from Github

md5sum *
88f0341d74cd6f644cb98acfd55ebcf1  aud-do-support.lsp
f46052601b02c2650f38085398f59c69  CMakeLists.txt
b17266007c322d3e8699df06ba2876a8  dspprims.lsp
a4422936493a0532eb2e974afd85db05  envelopes.lsp
cb724412e014fb4c131f2280c56318f9  equalizer.lsp
cca84baae9e098331a927e0b79f85b8c  evalenv.lsp
28399f89b1362e519facdf23ffb10a36  fileio.lsp
d93d8eb0003376ff503573bab65177f0  init.lsp
f74fb89468e9d86546d19b5c48eee381  misc.lsp
b5c216912d541e69c1df1807a77e3632  nyinit-dbg.lsp
78cc61bf7a31636f63db019fb842a75c  nyinit.lsp
0040744733d74c6ad276d1bb3ec3f0f2  nyqmisc.lsp
3bee85d85686bf97a8221dfe2f0c6019  nyquist.lsp
23d04d941c090c78ca84f31db0056393  nyquist-plot.txt
d98d26b9dbd6866ac5e4ee0555902b03  printrec.lsp
1ed0926129156679c9f4a16a2fe0e4b1  profile.lsp
md5sum: rawwaves: Is a directory
cbb900b7ef6de8aa7efb68eb58fde467  sal.lsp
b3106b2dfc6536e06a670fe725f43511  sal-parse.lsp
4fb86c35c74cd8d6c3909c761dc6f319  seqfnint.lsp
85745e51b7c63a9e3e9573ab0101e3a4  seq.lsp
f582412b9e135870325cfdbacfb2344c  seqmidi.lsp
49707dac6d0f0d8f9570c302b347bfe2  sliders.lsp
7fd93204d94d8563d1dcbd81915a71c6  sndfnint.lsp
0ffe1c8610e62405c9d4396dfcfadf0b  spec-plot.lsp
882c1d0d437b747cbe3754d7b6c20d88  spectral-analysis.lsp
9cda01e20c91d13eee9453842fe82d6c  stk.lsp
8e66333225da5bc0cef35ed7d1e2e763  system.lsp
813b2867214c97c35b9e0b98f7238d65  test.lsp
b614ed61c1364eb89f08549849452e0f  upic.sal
1795ebfd4d1bec5d0d9f00d54d3c8427  velocity.lsp
045a65cf19693158a09474f9e17baee3  xlinit.lsp
b616754f8e77f1e7192b8b7895f26646  xm.lsp

Files are obviously missing. So, a proper fix,
(instead of mucking around with the audacity-data from previous ppa builds),
would be grabbing the .zip from github, and replacing with those…

Simple step-by-step instructions, until say PandaJim corrects the 2.4.1 packages…

git clone https://github.com/audacity/audacity
sudo rm -rf /usr/share/audacity/nyquist/
sudo mkdir -p /usr/share/audacity/nyquist /usr/share/audacity/plugins
sudo cp -r audacity/nyquist/* /usr/share/audacity/nyquist/
sudo cp audacity/plug-ins/* /usr/share/audacity/plugins/
rm .audacity-data/plug*

That’s all, have fun…

And since i just registered here (not really an audio guy myself,
Audacity is however an absolute must-have software regardless),
i felt i should at the very least express my gratitude…
Huge thanks & respect to the Audacity devs for their work throughout all those yrs.

Thanks, thx! Worked for me too.

Only it would be better to replace the last line with “rm ~/.audacity-data/plug*”

Just an update. I tried installing Audacity 2.4.1 from the official Arch repository when it became available, and the same issues are still present.

Btw, the crash when selecting “Fit to Height” from the View menu is not a normal Audacity crash where it displays the dialog saying that there was a problem. After selecting the menu item, maybe a second later Audacity just dies without any notifications ever appearing.

This is a known issue that occurs in the builds that use the old autotools build chain. It does not occur if Audacity is built with cmake. The build instructions included in the source code say to use cmake.

Found an issue that had been filed against the Arch Audacity package - apparently there are a number of issues that they’re attempting to resolve around their use of the old autotools chain, so hopefully these will get addressed with the switch to cmake that is in progress.