wwmm / easyeffects

Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
GNU General Public License v3.0
6.5k stars 269 forks source link

Core dump - missing balance key in equalizer #1900

Closed mtompkins closed 2 years ago

mtompkins commented 2 years ago

EasyEffects Version

6.3.0

What package are you using?

Other (specify below)

Distribution

Ubuntu 22.10

Describe the bug

Using both the distro apt package for 22.10 and building from source, when launching EasyEffects it crashes and dumps.

Output as follows:

GLib-GIO-ERROR **: 07:44:51.099: Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'
Trace/breakpoint trap (core dumped)

This has only happened since an upgrade of Ubuntu from 22.04.01 to 22.10 today.

Things I've tried:

Expected Behavior

EasyEffects to launch cleanly

Debug Log

Debug Log
``` Paste your log here ```

Additional Information

No response

wwmm commented 2 years ago

Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'

This looks like a package management problem. Our source code schema definitely has this key https://github.com/wwmm/easyeffects/blob/f18f4061f0560a483e23a392a7bf2ce9b1b54982/data/schemas/com.github.wwmm.easyeffects.equalizer.gschema.xml#L31. Try to run sudo glib-compile-schemas. usually this is done by the distribution package manager after installation. Maybe it did not do it for some reason.

mtompkins commented 2 years ago

Apologies for the lack of knowledge. That suggestion is looking for a directory?

In addition, also installing from source has the same outcome.

wwmm commented 2 years ago

Apologies for the lack of knowledge. That suggestion is looking for a directory?

No problems. We use GSettings to handle our configurations. In order for the keys in the schema to be available for the application at runtime it is necessary to process the necessary xml files. The command glib-compile-schemas does that. Assuming you did not install EasyEffects in a custom folder it is not necessary to give a path as argument to it. Just running it as root should be enough.

mtompkins commented 2 years ago

A bit more .. tried as you proposed and output reads:

sudo glib-compile-schemas
You should give exactly one directory name

Then trying sudo glib-compile-schems /usr/share/glib-2.0/schemas Error persists.

Looked at the directory and file

cat /usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.equalizer.gschema.xml | grep balance
        <key name="balance" type="d">
wwmm commented 2 years ago

Then trying sudo glib-compile-schems /usr/share/glib-2.0/schemas Error persists.

Oh... Ok. For some reason I thought that it was able to find the system path on its own...

cat /usr/share/glib-2.0/schemas/com.github.wwmm.easyeffects.equalizer.gschema.xml | grep balance \<key name="balance" type="d">

Things should be working in this case. I wonder how a ubuntu update could have caused this problem...

wwmm commented 2 years ago

What is printed in the terminal when you run G_MESSAGES_DEBUG=easyeffects easyeffects?

mtompkins commented 2 years ago

Things should be working in this case. I wonder how a ubuntu update could have caused this problem...

Agreed. Worked fine before / 22.04.01

G_MESSAGES_DEBUG=easyeffects easyeffects output:

(process:411403): easyeffects-DEBUG: 10:38:57.085:      easyeffects.cpp:35      easyeffects version: 6.3.0
(process:411403): easyeffects-DEBUG: 10:38:57.085:      easyeffects.cpp:45      locale directory: /usr/share/locale
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:49  system input presets directory: "/etc/easyeffects/input";
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:49  system input presets directory: "/etc/xdg/easyeffects/input";
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:49  system input presets directory: "/etc/xdg/xdg-ubuntu/easyeffects/input";
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:52  system output presets directory: "/etc/easyeffects/output";
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:52  system output presets directory: "/etc/xdg/easyeffects/output";
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:52  system output presets directory: "/etc/xdg/xdg-ubuntu/easyeffects/output";
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/input
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/output
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/autoload/input
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.086:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/autoload/output
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.201:  pipe_manager.cpp:1409   compiled with PipeWire: 0.3.57
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.201:  pipe_manager.cpp:1410   linked to PipeWire: 0.3.59
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1380   core version: 0.3.59
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1381   core name: pipewire-0
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1294   found metadata: settings
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1294   found metadata: default
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1294   found metadata: route-settings
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 56 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_7__sink with serial 59 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 57 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_6__sink with serial 60 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 58 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_5__sink with serial 61 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 59 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire__sink with serial 62 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 60 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_2__sink with serial 63 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Source 61 alsa_input.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_1__source with serial 64 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Source 62 alsa_input.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_4__source with serial 65 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Source 63 alsa_input.usb-Elgato_Cam_Link_4K_0004C7B74B000-03.iec958-stereo with serial 66 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 64 alsa_output.usb-Astro_Gaming_Astro_A50-00.stereo-game with serial 67 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 65 alsa_output.usb-Astro_Gaming_Astro_A50-00.stereo-chat with serial 68 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Source 66 alsa_input.usb-Astro_Gaming_Astro_A50-00.mono-chat with serial 69 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 67 alsa_output.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo with serial 70 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Source 68 alsa_input.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo with serial 71 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Sink 126 easyeffects_sink with serial 795 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:1149   Audio/Source/Virtual 116 easyeffects_source with serial 796 has been added
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:895    new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_5__sink" }
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:895    new metadata property: 0, default.configured.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo" }
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:895    new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_00_14.0-usb-0_11_1.0"}
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:895    new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_5__sink"}
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.207:  pipe_manager.cpp:895    new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo"}
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.208:  pipe_manager.cpp:1500   easyeffects_sink node successfully retrieved with id 126 and serial 795
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.208:  pipe_manager.cpp:1505   easyeffects_source node successfully retrieved with id 116 and serial 796
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.211:  plugin_base.cpp:289     soe: output_level successfully connected to PipeWire graph
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.212:  plugin_base.cpp:289     soe: spectrum successfully connected to PipeWire graph
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.224:  lv2_wrapper.cpp:100     http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:411403): easyeffects-DEBUG: 10:38:57.275:  lv2_wrapper.cpp:100     http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map

(easyeffects:411403): GLib-GIO-ERROR **: 10:38:57.277: Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'
Trace/breakpoint trap (core dumped)
wwmm commented 2 years ago

Besides the crash nothing unusual in the logs. Run easyeffects -r to reset its settings. This way we will know if only the equalizer is causing problems.

mtompkins commented 2 years ago

Tried the reset initially and between install methods. No joy.

Executed again for good measure ...

easyeffects -r

(easyeffects:417852): GLib-GIO-ERROR **: 10:42:05.377: Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'
Trace/breakpoint trap (core dumped)
wwmm commented 2 years ago

Ok. What if you uninstall the package providing Linux Studio Plugins? Maybe this way we will be able to force the binding to this key to be avoided.

mtompkins commented 2 years ago

Removed all lsp-* & easyeffects. Reinstalled easyeffects which pulled

The following NEW packages will be installed:
  easyeffects lsp-plugins-lv2 lsp-plugins-r3d-glx

Tried a reset. Same output.

_MESSAGES_DEBUG=easyeffects easyeffects
(process:433284): easyeffects-DEBUG: 10:49:00.812:      easyeffects.cpp:35      easyeffects version: 6.3.0
(process:433284): easyeffects-DEBUG: 10:49:00.812:      easyeffects.cpp:45      locale directory: /usr/share/locale
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:49  system input presets directory: "/etc/easyeffects/input";
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:49  system input presets directory: "/etc/xdg/easyeffects/input";
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:49  system input presets directory: "/etc/xdg/xdg-ubuntu/easyeffects/input";
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:52  system output presets directory: "/etc/easyeffects/output";
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:52  system output presets directory: "/etc/xdg/easyeffects/output";
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:52  system output presets directory: "/etc/xdg/xdg-ubuntu/easyeffects/output";
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/input
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/output
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/autoload/input
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.813:  presets_manager.cpp:194 user presets directory already exists: /home/mtompkins/.config/easyeffects/autoload/output
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.932:  pipe_manager.cpp:1409   compiled with PipeWire: 0.3.57
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.932:  pipe_manager.cpp:1410   linked to PipeWire: 0.3.59
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1380   core version: 0.3.59
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1381   core name: pipewire-0
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1294   found metadata: settings
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1294   found metadata: default
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1294   found metadata: route-settings
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1149   Audio/Sink 56 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_7__sink with serial 59 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1149   Audio/Sink 57 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_6__sink with serial 60 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.937:  pipe_manager.cpp:1149   Audio/Sink 58 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_5__sink with serial 61 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Sink 59 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire__sink with serial 62 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Sink 60 alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_2__sink with serial 63 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Source 61 alsa_input.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_1__source with serial 64 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Source 62 alsa_input.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_4__source with serial 65 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Source 63 alsa_input.usb-Elgato_Cam_Link_4K_0004C7B74B000-03.iec958-stereo with serial 66 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Sink 64 alsa_output.usb-Astro_Gaming_Astro_A50-00.stereo-game with serial 67 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Sink 65 alsa_output.usb-Astro_Gaming_Astro_A50-00.stereo-chat with serial 68 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Source 66 alsa_input.usb-Astro_Gaming_Astro_A50-00.mono-chat with serial 69 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Sink 67 alsa_output.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo with serial 70 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Source 68 alsa_input.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo with serial 71 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Sink 116 easyeffects_sink with serial 1023 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:1149   Audio/Source/Virtual 124 easyeffects_source with serial 1024 has been added
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:895    new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_5__sink" }
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:895    new metadata property: 0, default.configured.audio.source, Spa:String:JSON, { "name": "alsa_input.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo" }
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:895    new metadata property: 0, default.video.source, Spa:String:JSON, {"name":"v4l2_input.pci-0000_00_14.0-usb-0_11_1.0"}
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:895    new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.pci-0000_00_1f.3-platform-sof_sdw.HiFi__hw_sofsoundwire_5__sink"}
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.938:  pipe_manager.cpp:895    new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-Kingston_HyperX_Quadcast_4110-00.analog-stereo"}
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.939:  pipe_manager.cpp:1500   easyeffects_sink node successfully retrieved with id 116 and serial 1023
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.939:  pipe_manager.cpp:1505   easyeffects_source node successfully retrieved with id 124 and serial 1024
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.942:  plugin_base.cpp:289     soe: output_level successfully connected to PipeWire graph
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.943:  plugin_base.cpp:289     soe: spectrum successfully connected to PipeWire graph
(easyeffects:433284): easyeffects-DEBUG: 10:49:00.954:  lv2_wrapper.cpp:100     http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:433284): easyeffects-DEBUG: 10:49:01.005:  lv2_wrapper.cpp:100     http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map

(easyeffects:433284): GLib-GIO-ERROR **: 10:49:01.007: Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'
Trace/breakpoint trap (core dumped)

(Please advise if I've misunderstood)

wwmm commented 2 years ago

Ok. Something bizarre must have happened after this Ubuntu update. It does not make sense that this error is happening. You can reinstall linux studio.

When you say you compiled from source how did you do it? Through Debian build scripts or directly from our source code? Usually I do the following steps when running directly from the source folder

git clone https://github.com/wwmm/easyeffects.git
cd easyeffects
glib-compile-schemas data/schemas/
meson _build
cd _build
ninja
cd src
source ../../util/environmental_variables.sh
./easyeffects

If this works the problem is in the Debian build scripts.

wwmm commented 2 years ago

Another interesting test would be to create a new user account and see if there things are fine.

mtompkins commented 2 years ago

Another interesting test would be to create a new user account and see if there things are fine.

Unfortunately not an option for me.

wwmm commented 2 years ago

Unfortunately not an option for me.

Ok. And the manual compilation steps I showed before? Are you able to do them?

mtompkins commented 2 years ago

Ok. And the manual compilation steps I showed before? Are you able to do them?

Happy to oblige ... let me make sure I understand the ask. Remove all lsp-* & apt easyeffects Compile and install locally

Correct?

mtompkins commented 2 years ago

Output of that

sudo ninja -C _build install
ninja: Entering directory `_build'
[1/2] Installing files.
Installing data/com.github.wwmm.easyeffects.metainfo.xml to /usr/share/metainfo
Installing data/com.github.wwmm.easyeffects.desktop to /usr/share/applications
Installing po/cs/LC_MESSAGES/easyeffects.mo to /usr/share/locale/cs/LC_MESSAGES
Installing po/de/LC_MESSAGES/easyeffects.mo to /usr/share/locale/de/LC_MESSAGES
Installing po/fr_FR/LC_MESSAGES/easyeffects.mo to /usr/share/locale/fr_FR/LC_MESSAGES
Installing po/gl/LC_MESSAGES/easyeffects.mo to /usr/share/locale/gl/LC_MESSAGES
Installing po/hr/LC_MESSAGES/easyeffects.mo to /usr/share/locale/hr/LC_MESSAGES
Installing po/id_ID/LC_MESSAGES/easyeffects.mo to /usr/share/locale/id_ID/LC_MESSAGES
Installing po/it_IT/LC_MESSAGES/easyeffects.mo to /usr/share/locale/it_IT/LC_MESSAGES
Installing po/nl/LC_MESSAGES/easyeffects.mo to /usr/share/locale/nl/LC_MESSAGES
Installing po/pl/LC_MESSAGES/easyeffects.mo to /usr/share/locale/pl/LC_MESSAGES
Installing po/pt_BR/LC_MESSAGES/easyeffects.mo to /usr/share/locale/pt_BR/LC_MESSAGES
Installing po/ru/LC_MESSAGES/easyeffects.mo to /usr/share/locale/ru/LC_MESSAGES
Installing po/sk/LC_MESSAGES/easyeffects.mo to /usr/share/locale/sk/LC_MESSAGES
Installing po/sv/LC_MESSAGES/easyeffects.mo to /usr/share/locale/sv/LC_MESSAGES
Installing po/da/LC_MESSAGES/easyeffects.mo to /usr/share/locale/da/LC_MESSAGES
Installing po/nb_NO/LC_MESSAGES/easyeffects.mo to /usr/share/locale/nb_NO/LC_MESSAGES
Installing po/es_MX/LC_MESSAGES/easyeffects.mo to /usr/share/locale/es_MX/LC_MESSAGES
Installing po/es_CO/LC_MESSAGES/easyeffects.mo to /usr/share/locale/es_CO/LC_MESSAGES
Installing po/tr/LC_MESSAGES/easyeffects.mo to /usr/share/locale/tr/LC_MESSAGES
Installing po/zh_CN/LC_MESSAGES/easyeffects.mo to /usr/share/locale/zh_CN/LC_MESSAGES
Installing po/ro/LC_MESSAGES/easyeffects.mo to /usr/share/locale/ro/LC_MESSAGES
Installing po/es_VE/LC_MESSAGES/easyeffects.mo to /usr/share/locale/es_VE/LC_MESSAGES
Installing po/ja/LC_MESSAGES/easyeffects.mo to /usr/share/locale/ja/LC_MESSAGES
Installing po/ko/LC_MESSAGES/easyeffects.mo to /usr/share/locale/ko/LC_MESSAGES
Installing po/es/LC_MESSAGES/easyeffects.mo to /usr/share/locale/es/LC_MESSAGES
Installing po/km/LC_MESSAGES/easyeffects.mo to /usr/share/locale/km/LC_MESSAGES
Installing po/af/LC_MESSAGES/easyeffects.mo to /usr/share/locale/af/LC_MESSAGES
Installing po/th/LC_MESSAGES/easyeffects.mo to /usr/share/locale/th/LC_MESSAGES
Installing po/news/cs/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/cs/LC_MESSAGES
Installing po/news/de/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/de/LC_MESSAGES
Installing po/news/fr_FR/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/fr_FR/LC_MESSAGES
Installing po/news/gl/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/gl/LC_MESSAGES
Installing po/news/hr/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/hr/LC_MESSAGES
Installing po/news/id_ID/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/id_ID/LC_MESSAGES
Installing po/news/it_IT/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/it_IT/LC_MESSAGES
Installing po/news/nl/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/nl/LC_MESSAGES
Installing po/news/pl/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/pl/LC_MESSAGES
Installing po/news/pt_BR/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/pt_BR/LC_MESSAGES
Installing po/news/ru/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/ru/LC_MESSAGES
Installing po/news/sk/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/sk/LC_MESSAGES
Installing po/news/sv/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/sv/LC_MESSAGES
Installing po/news/da/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/da/LC_MESSAGES
Installing po/news/nb_NO/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/nb_NO/LC_MESSAGES
Installing po/news/es_MX/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/es_MX/LC_MESSAGES
Installing po/news/es_CO/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/es_CO/LC_MESSAGES
Installing po/news/tr/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/tr/LC_MESSAGES
Installing po/news/zh_CN/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/zh_CN/LC_MESSAGES
Installing po/news/ro/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/ro/LC_MESSAGES
Installing po/news/es_VE/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/es_VE/LC_MESSAGES
Installing po/news/ja/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/ja/LC_MESSAGES
Installing po/news/ko/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/ko/LC_MESSAGES
Installing po/news/es/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/es/LC_MESSAGES
Installing po/news/km/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/km/LC_MESSAGES
Installing po/news/af/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/af/LC_MESSAGES
Installing po/news/th/LC_MESSAGES/easyeffects-news.mo to /usr/share/locale/th/LC_MESSAGES
Installing src/easyeffects to /usr/bin
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.autogain.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.bassenhancer.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.bassloudness.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.compressor.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.convolver.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.crossfeed.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.crystalizer.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.deesser.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.delay.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.echo_canceller.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.equalizer.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.equalizer.channel.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.exciter.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.filter.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.gate.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.limiter.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.loudness.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.maximizer.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.multibandcompressor.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.multibandgate.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.outputlevel.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.pitch.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.reverb.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.rnnoise.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.spectrum.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.streamoutputs.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.stereotools.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/schemas/com.github.wwmm.easyeffects.streaminputs.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/mtompkins/git/easyeffects/data/com.github.wwmm.easyeffects.svg to /usr/share/icons/hicolor/scalable/apps
Installing /home/mtompkins/git/easyeffects/data/com.github.wwmm.easyeffects-symbolic.svg to /usr/share/icons/hicolor/symbolic/apps
Installing /home/mtompkins/git/easyeffects/_build/data/com.github.wwmm.easyeffects.service to /usr/share/dbus-1/services
Installing /home/mtompkins/git/easyeffects/help/C/advancedinfo.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/autogain.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/bassenhancer.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/bassloudness.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/blocklist.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/compressor.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/convolver.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/crossfeed.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/crystalizer.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/deesser.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/delay.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/echocanceller.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/effectsorder.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/enableapp.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/equalizer.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/exciter.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/filter.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/gate.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/general.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/guide_1.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/index.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/limiter.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/loudness.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/maximizer.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/multibandcompressor.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/multibandgate.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/pipewire.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/pitch.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/reverb.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/rnnoise.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/saturated.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/settingsmenu.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/spectrum.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/stereotools.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/testsignals.page to /usr/share/help/C/easyeffects
Installing /home/mtompkins/git/easyeffects/help/C/userpresets.page to /usr/share/help/C/easyeffects
Running custom install script '/usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-schemas /usr/share/glib-2.0/schemas'
Running custom install script '/usr/bin/gtk4-update-icon-cache -q -t -f /usr/share/icons/hicolor'
Running custom install script '/usr/bin/update-desktop-database -q /usr/share/applications'

Same error on launch

wwmm commented 2 years ago

Remove all lsp-* & apt easyeffects

As this did not help you can reinstall lsp. The equalizer will need it anyway.

Compile and install locally

No need to run ninja install. Just compile the source code. The last part ./easyeffects will execute the binary generated inside the _build folder.

wwmm commented 2 years ago

sudo ninja -C _build install

Under normal circumstances this should have worked too. But I think that for some reason the GSettings database in the system path was somehow corrupted. So the idea is running the binary in the local folder without installing. The glib-compile-schemas data/schemas/ and the source ../../util/environmental_variables.sh steps should make sure that a local database is used.

mtompkins commented 2 years ago

I believe this is what you are asking. I had compiled earlier so just moved the binary

./_build/src/easyeffects

(easyeffects:482487): GLib-GIO-ERROR **: 11:12:38.535: Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'
Trace/breakpoint trap (core dumped)
wwmm commented 2 years ago

./_build/src/easyeffects

This is not going to work because of how source ../../util/environmental_variables.sh is exporting the database path. You have to be inside _build/src and then run ./easyeffects.

mtompkins commented 2 years ago

./_build/src/easyeffects

This is not going to work because of how source ../../util/environmental_variables.sh is exporting the database path. You have to be inside _build/src and then run ./easyeffects.

Understood. Thank you. Same result.

./easyeffects

(easyeffects:490158): GLib-GIO-ERROR **: 11:16:24.053: Settings schema 'com.github.wwmm.easyeffects.equalizer' does not contain a key named 'balance'
Trace/breakpoint trap (core dumped)
wwmm commented 2 years ago

If glib-compile-schemas data/schemas/ was executed inside the source folder and things still do not work then GSettings was broken by this ubuntu update. Was the package dconf among the ones updated? I am using the code in our master branch right now here on Arch Linux. There is no issue with the equalizer keys.

mtompkins commented 2 years ago
sudo cat /var/log/dpkg.log | grep dconf
2022-10-20 06:17:28 upgrade dconf-editor:amd64 3.38.3-3 43.0-1
2022-10-20 06:17:28 status half-configured dconf-editor:amd64 3.38.3-3
2022-10-20 06:17:28 status unpacked dconf-editor:amd64 3.38.3-3
2022-10-20 06:17:28 status half-installed dconf-editor:amd64 3.38.3-3
2022-10-20 06:17:28 status unpacked dconf-editor:amd64 43.0-1
2022-10-20 06:22:51 configure dconf-editor:amd64 43.0-1 <none>
2022-10-20 06:22:51 status unpacked dconf-editor:amd64 43.0-1
2022-10-20 06:22:51 status half-configured dconf-editor:amd64 43.0-1
2022-10-20 06:22:51 status installed dconf-editor:amd64 43.0-1
mtompkins commented 2 years ago

If glib-compile-schemas data/schemas/ was executed inside the source folder and things still do not work then GSettings was broken by this ubuntu update. Was the package dconf among the ones updated? I am using the code in our master branch right now here on Arch Linux. There is no issue with the equalizer keys.

Understood. I'll likely try a new install at this point based on your view. I'm sure that'll solve it - but what a task.

Thank you for your time and effort today and a great app!

mtompkins commented 2 years ago

Can confirm that killing the dconf database and letting Ubuntu create a new one did resolve the issue. For reference ~/.config/dconf