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

Snap package crashes when trying to change the font #1160

Open
2 of 4 tasks
KadyrTkm opened this issue Mar 28, 2023 · 7 comments
Open
2 of 4 tasks

Snap package crashes when trying to change the font #1160

KadyrTkm opened this issue Mar 28, 2023 · 7 comments
Labels
bug Something isn't working high_priority High Priority Issues are marked with this label. linux Linux related Issues

Comments

@KadyrTkm
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi, on my computer(Linux Ubuntu OS) when I click change font size in cpeditor options it just exits cpeditor. Idk why it just exit and nothing changes after re-opening the cpeditor.

Expected Behavior

I was expecting a change in font size

Steps To Reproduce

  1. Open options
  2. Options --> Preferences
  3. Appearance -- >Font
  4. click to "Monospace 15"
  5. and it just exits from cpeditor

CP Editor Version

6.10.3

OS

Ubuntu 22.04.02 LTS (Jammy Jellyfish)

Are you willing to contribute to this?

  • I'm ready to fix this (and will open a PR soon)
  • I'd like to have a try (with the help of the maintainers)
  • No, thanks

Anything else?

No response

@KadyrTkm KadyrTkm added the bug Something isn't working label Mar 28, 2023
@ouuan
Copy link
Member

ouuan commented Mar 28, 2023

Please try starting CP Editor from the terminal and see if there's any output when CP Editor exits as in your description.

@KadyrTkm
Copy link
Author

Here is all the output on the terminal after the CP Editor crashed:

kadyr@kadyr-IdeaPad-3-15IML05:~$ env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/cpeditor_cpeditor.desktop /snap/bin/cpeditor Gtk-Message: 13:03:33.580: Failed to load module "canberra-gtk-module" /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
/snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so) Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgioremote-volume-monitor.so /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so: undefined symbol: g_tls_channel_binding_error_quark Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiognutls.so /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libproxy.so.1)
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgiolibproxy.so
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast

(cpeditor:2821): Gtk-WARNING **: 13:03:50.943: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Yaru/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
Aborted (core dumped)`

@KadyrTkm
Copy link
Author

@ouuan
Copy link
Member

ouuan commented Mar 28, 2023

You can try using the deb package or the AppImage as a workaround.

I'm not familiar with snap. cc @coder3101

@KadyrTkm
Copy link
Author

Thanks a lot, I used the deb (not snap) package to install the program and everything is fine

@ouuan
Copy link
Member

ouuan commented Mar 28, 2023

We still need to fix the snap package if it's indeed broken, so this is a valid bug report.

@ouuan ouuan reopened this Mar 28, 2023
@ouuan ouuan changed the title cpeditor is not able to change font on ubuntu Snap package crashes when trying to change the font Mar 28, 2023
@ouuan ouuan added high_priority High Priority Issues are marked with this label. linux Linux related Issues labels Mar 28, 2023
@coder3101
Copy link
Member

I will check if snap is broken and try to reproduce the issue this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high_priority High Priority Issues are marked with this label. linux Linux related Issues
Projects
None yet
Development

No branches or pull requests

3 participants