-
Notifications
You must be signed in to change notification settings - Fork 6
Error: GSettings schema com.github.wwmm.easyeffects not found #11
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? No Sign in to your account
Comments
Do you have Flatpak version of Easy Effects or have you installed it from your distro's repo? Which distro do you use? |
This generally happens only on a fresh install of Easy Effects and a simple reboot usually fixes those kind of problems. Also make sure to;
|
@4JX Can you get your last used preset name by running;
or
on the terminal? |
It would seem I cannot » gsettings get com.github.wwmm.easyeffects last-used-output-preset
No such schema ?com.github.wwmm.easyeffects? After some more digging I suspect it could very well be a NixOS issue for my case going by NixOS/nixpkgs#92265 (comment) & NixOS/nixpkgs#92265 (comment) (which would you look at that, references this exact extension). |
Oh right, NixOS has to patch GNOME extensions for their environment and they expect you to install those patched versions via nix package manager. I have looked at it and they provide this extension in nix package manager but only up to version 12. Hmm... Ideally they should fix it or patch it on their side and provide an up-to-date version or I would suggest you to use another more streamlined distro 😄 But I have a couple of things in my mind which I wanna try that may also make it work on NixOS. But I'll need your help. Or at worst I can provide a crippled version which still let you select the preset you want but doesn't indicate the last selected one. I'll create a new branch and give the link of it here so you can try it on your machine to see if it will work. It's late in here and I must sleep soon so I don't know if I can manage to make it tonight and I'm busy for the whole day tomorrow but I'll try to give the first test versions in the Monday evening (GMT+03:00). |
Fixed it by patching the file and then doing some nix trickery to resolve --- a/extension.js
+++ b/extension.js
@@ -339,9 +339,9 @@ const EEPSIndicator = GObject.registerClass(
_lastUsedInputPreset = _idata.trim().slice(1, -1);
} else if (appType === 'native') {
// Get last used presets
- const settings = new Gio.Settings({
- schema_id: 'com.github.wwmm.easyeffects',
- });
+ const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@easyeffects_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+ const _schema = _schema_source.lookup('com.github.wwmm.easyeffects', false);
+ const settings = new Gio.Settings({settings_schema: _schema});
_lastUsedOutputPreset = settings.get_string(
'last-used-output-preset'
);
|
error solved with Easy Effects app by Wellington Wallace load a preset after it extensions works properly |
@4JX Feels about right to me 👍 I was trying to do something similar but stuck at getting the schema source directory programmatically using GJS. I don't have any experience/knowledge regarding to nix way of doing things but if you can automatically resolve Will you also submit an auto-patch mechanism for the code which needs to be changed? My only concern is its sustainability for the future releases. Because code will have to be patched for every new release. Maybe another weak spot; Because (even though I don't plan to do in the close future, but) someday that code may change, either by me or as a necessity caused by a change in the GNOME API. And that can break the patch. It'll need to be maintained. For the sake of not breaking the patch in the future and making it easier for the maintainers I could do the patch in the upstream as another P.S. Also publishing the extension in the EGO with an undefined variable a.k.a |
I'm on Ubuntu 23.04, EasyEffects installed from .deb |
for me the solution was doing that plus loading a preset Open n close the EasyEffects app didn't solve the problem I guess the GSettings schema was not created before load the preset. Couldn't tell since I didn't check if it was there |
@ulville The patch is for |
@Hyphaed |
@4JX Yes it's not the most popular way of getting the schemas but for this situation it looks completely fine to my eyes. Thanks for the work 👍 I'll keep this open for now (until your fix gets merged) for other folks using NixOS having the same problem. You can notify me here when it's fixed for all so I can close this issue |
@4JX BTW I just realised the screenshot you've posted looks different then mine (especially the titles) and looks more like an older version of the extension. Latest version should look something like this: (text at the left, icons at the right) It may be something about the theme you're using but just wanted to make sure you're working with the latest version of the code base |
PR was merged NixOS/nixpkgs#233642. If anyone stumbles upon this check https://nixpk.gs/pr-tracker.html?pr=233642 for the status. @seandheath This might interest you ^ |
I got an error telling
Error: GSettings schema com.github.wwmm.easyeffects not found
when I click on easyeffects tray icon / presets selector
The text was updated successfully, but these errors were encountered: