Glycin loader error

Trying to load a file with glycin gives me this error:

Loader process exited early with status '1'Command:
 env -i XDG_RUNTIME_DIR="/run/user/1000" "flatpak-spawn" "--sandbox" "--watch-bus" "--directory=/" "--forward-fd=93" "prlimit" "--as=13064965324" "/usr/libexec/glycin-loaders/2+/glycin-image-rs" "--dbus-fd" "93" (gly-loader-error, 0)

this is the relevant code:

var loader = new Gly.Loader (GLib.File.new_for_path (filename));
			
		var image = loader.load ();
			
		if (image != null)
		{
			var frame = image.next_frame ();
        }

I am using the gnome 50 flatpak runtime and i have confirmed that the given file exists.

the specific error code seems to just be a generic one.

I would appreciate any help !

It’s always a good idea to check the output with G_MESSAGES_DEBUG=all. Also your flatpak version would be interesting, since this could be a Flatpak bug [Bug]: `flatpak-spawn` uses environment from host · Issue #6717 · flatpak/flatpak · GitHub

Ran with the extra debug messages

2026-08-17T15:58:16.911771Z DEBUG glycin::gobject: Initialized logging
2026-08-17T15:58:16.984404Z DEBUG glycin::pool: No existing loader/editor in pool. Spawning new one.
2026-08-17T15:58:16.984663Z DEBUG glycin::sandbox: Setting prlimit to 16936284979 bytes
2026-08-17T15:58:16.984975Z DEBUG glycin::dbus: Spawning loader/editor:
    env -i XDG_RUNTIME_DIR="/run/user/1000" "flatpak-spawn" "--sandbox" "--watch-bus" "--directory=/" "--forward-fd=93" "prlimit" "--as=16936284979" "/usr/libexec/glycin-loaders/2+/glycin-image-rs" "--dbus-fd" "93"
2026-08-17T15:58:17.054372Z DEBUG glycin::dbus: Loader stderr: error: app/page.codeberg.foolish.Flipbook/x86_64/master not installed
2026-08-17T15:58:17.055919Z DEBUG glycin::dbus: Process exited: Some(Some(1)) Ok(ExitStatus(unix_wait_status(256)))
2026-08-17T15:58:17.055958Z DEBUG glycin::dbus: stderr disconnected without error
2026-08-17T15:58:17.055984Z DEBUG glycin::dbus: stdout disconnected without error

The flatpak version is:

Flatpak 1.19.1

Thanks for helping :^)

Glycin works if i actually install my app using flatpak builder or change something in builder.

To make it work in builder i had to go to “Select Run Command…” and change Run Command to “Flatpak Application”. The default is “Automatically Discover”.

I’m guessing that this is the problem

2026-08-17T15:58:17.054372Z DEBUG glycin::dbus: Loader stderr: error: app/page.codeberg.foolish.Flipbook/x86_64/master not installed

It seems the problem may be with how builder automatically discovers, then.

The debug messages were very helpful, thanks for telling me about them !

Please add .Devel to the end of your app ID when running in a development environment. This will allow glycin to automatically disable the sandbox for development environments.