Fritzing: No GSettings schemas are installed on the system

I’m trying to run fritzing (both from nixos-24.11 and nixos-unstable) and it runs ok until I try opening open/save dialog when it crashes:

michal@uli-desktop ~ [SIGTRAP]> nix run nixpkgs#fritzing

(Fritzing:2234071): GLib-GIO-ERROR **: 12:25:49.720: No GSettings schemas are installed on the system
fish: Job 1, 'nix run nixpkgs#fritzing' terminated by signal SIGTRAP (Trace or breakpoint trap)

I’m quite confused:

  • I have thought that gsettings were removed from this world long ago in favor of dconf and I my config.programs.dconf.enable is true.
  • No other GTK application I use is crashing.

What could be the problem? Thanks.

have you tried installing gsetting schemes like gsettings-desktop-schemas ?

What do you mean by installing? How do you install them?
Adding them to environment.systemPackages or home.packages doesn’t change anything.

Fritzing is a Qt5 app calling a GTK dialog, maybe it’s an issue with portals? Which desktop are you using?

Niri. My other QT apps like e.g. qbittorrent are happily using GTK dialogs. Haven’t had any other such problem yet.

File a bug in nixpkgs, it’s probably a packaging bug.