Geany crashes when attempting to save file (solved)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
bigphil
Posts: 86
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 13 times
Been thanked: 13 times

Geany crashes when attempting to save file (solved)

Post by bigphil »

Oh dear, I'm in trouble again.
As the subject says and also Abiword has the same problem.

It appeared to manifest itself when I downloaded the latest version of Libreoffice and generated and loaded the .sfs.
I then found that Libreoffice writer crashed when saving file. I then found the same thing with Geany and Abiword although Leafpad is OK.

Any ideas?

Regards

Phil.

Last edited by bigpup on Tue May 28, 2024 10:11 am, edited 1 time in total.
Reason: added solved
User avatar
rockedge
Site Admin
Posts: 5909
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2133 times
Been thanked: 2239 times
Contact:

Re: Geany crashes when attempting to save file

Post by rockedge »

@bigphil

can you try to start geany in a terminal? Perhaps the errors causing the crash can be identified in the output.
open a terminal and type geany, press enter

bigphil
Posts: 86
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 13 times
Been thanked: 13 times

Re: Geany crashes when attempting to save file

Post by bigphil »

@rockedge

when running in terminal and it crashes it reports -

Code: Select all

(geany:6729): GLib-GIO-ERROR **: 16:47:46.487: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
Trace/breakpoint trap

I've no idea what it means, maybe it'll make sense to you clever people.

Phil.

User avatar
rockedge
Site Admin
Posts: 5909
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2133 times
Been thanked: 2239 times
Contact:

Re: Geany crashes when attempting to save file

Post by rockedge »

This seems to be caused by incompatible GTK+-schema settings, and seems to always occur, if a program uses a GTK+-library which is newer then the currently active GTK+settings. This affects e.g.: Evince, Atril, Firefox, Chromium, LibreOffice, … (Gimp, Inkscape, Viewnior seem to be unaffected.)

Try to reinstall libgtk-3-common but this might not work.

Solution:
This seems to be caused by incompatible GTK+-schema settings, and seems to always occur, if a program uses a GTK+-library with is newer then the currently active GTK+settings, e.g. if

a package from unstable is used, with settings from “stable”;

this can be worked around with:

mkdir -p ~/.local/share/glib-2.0/schemas
cp -pi /nix/store/...-gtk+3-3.<LATEST>/share/gsettings-schemas/gtk+3-3.*/glib-2.0/schemas/gschemas.compiled ~/.local/share/glib-2.0/schema/

settings are installed locally in ~/.local/share/glib-2.0/schemas (e.g. from the workaround above), but newer packages are used, e.g. after a NixOS-upgrade or newer packages from unstable.

this may be solved by:

rm -rf ~/.local/share/glib-2.0/schemas

If this does not solve the issue, the newest settings have to be copied to this directory (see workaround above)

bigphil
Posts: 86
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 13 times
Been thanked: 13 times

Re: Geany crashes when attempting to save file

Post by bigphil »

rockedge - I've reinstalled libgtk-3-common as you suggested and it fixed the problems.

Thanks for your help.

Phil

Post Reply

Return to “Users”