Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “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? Sign in to your account

timeline: crashes on file dialog #164127

Closed
fgaz opened this issue Mar 14, 2022 · 7 comments · Fixed by #225338
Closed

timeline: crashes on file dialog #164127

fgaz opened this issue Mar 14, 2022 · 7 comments · Fixed by #225338
Labels
0.kind: bug Something is broken

Comments

@fgaz
Copy link
Member

fgaz commented Mar 14, 2022

re #162503, the timeline package crashes with

(.timeline-wrapped:2422797): GLib-GIO-ERROR **: 17:05:40.072: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

when a file dialog is opened (eg. file -> open).

The rest of the program seems to work.

I tried adding wrapGAppsHook, gsettings-desktop-schemas, and glib, but none of those fixed it.

I'm running awesome wm, nixos 21.11

cc @davidak

@fgaz fgaz added the 0.kind: bug Something is broken label Mar 14, 2022
@davidak
Copy link
Member

davidak commented Mar 14, 2022

Some resources i found related to the error message:

timeline sources does not have schemas files.

maybe XDG_DATA_DIRS is not set correctly on your system

@jtojnar do you know how to fix this issue?

@jtojnar
Copy link
Member

jtojnar commented Mar 14, 2022

That might be a strictDeps issue (since it defaults to true for python3.pkgs.buildPythonPackage). See similar issue with https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-hooks-gobject-introspection.

@fgaz
Copy link
Member Author

fgaz commented Mar 14, 2022

maybe XDG_DATA_DIRS is not set correctly on your system

other gnome stuff seems to work though

@jtojnar
Copy link
Member

jtojnar commented Mar 14, 2022

You need to use wrapGAppsHook. Global XDG_DATA_DIRS intentionally will not contain schemas.

@fgaz
Copy link
Member Author

fgaz commented Mar 14, 2022

I did try wrapGAppsHook, but that didn't fix it. maybe I did it wrong?

@jtojnar
Copy link
Member

jtojnar commented Mar 14, 2022

As mentioned above, for Python packages, you might also need to disable strictDeps.

@fgaz
Copy link
Member Author

fgaz commented Apr 23, 2022

I tried using wrapGAppsHook and striceDeps = false, and it still errors out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants