-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
xournalpp crashes complaining on missing icons #163107
Comments
Dropping into nested |
I've had the same problem. |
Can reproduce with But GTK should fallback to its built-in |
Looking at the relevant resource, it looks like it has an incorrect MIME type: Compared to when running in GNOME: The following also seems to work: env XDG_DATA_DIRS=$(nix-build -A shared-mime-info)/share:$(nix-build -A gnome.adwaita-icon-theme)/share $(nix-build -A xournalpp)/bin/xournalpp Though weirdly, just
We need to trace it with But if you just want to get it working, I would try something like environment.systemPackages = [
pkgs.gnome.adwaita-icon-theme
pkgs.shared-mime-info
];
environment.pathsToLink = [
"/share/icons"
"/share/mime"
]; |
@jtojnar solution worked for me. Anyone knows if this was raised upstream on the gtk project? |
I think this is likely caused by something we are doing (e.g. compiling GLib with internal MIME implementation and the idiosyncratic package composition). |
This might be fixed in upcoming xournalpp releases.
|
Hello, this is still an issue for me! On a NixOS unstable 23.11 install with KDE Plasma. Same error as original post:
|
I fixed the error:
by adding the missing
|
As refered on a related issue thread xournalpp / xournal++ crashes at startup |
Just in case #292764 |
Still not working native on unstable for Logs without the workaround:
|
I opened #330162. Reviews are welcome. |
This seems to still be happening on Darwin. Perhaps xournalpp should be marked as broken there? |
Describe the bug
Good day. I'm on NixOS unstable with KDE/Wayland.
Trying to run xournalapp from nix-shell has the later crashing.
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -p xournalpp
xournalpp
Then it crashes with:
The full error is beflow.
Expected behavior
xournalapp starting
Notify maintainers
@dtzWill @Profpatsch @siraben
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Full error output:
The text was updated successfully, but these errors were encountered: