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

[OnlyOffice AppBundle] App is terminate when i click Open file #13

Open
Drsheppard01 opened this issue Jan 9, 2025 · 2 comments
Open

Comments

@Drsheppard01
Copy link

Output

(process:2358): Gtk-WARNING **: 17:41:24.091: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: 17:41:24.181: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:41:24.184: Failed to load module "canberra-gtk-module"

(DesktopEditors:2358): Gtk-WARNING **: 17:41:24.575: gtk_disable_setlocale() must be called before gtk_init()

(DesktopEditors:2358): Gtk-WARNING **: 17:41:31.803: 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/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/hoxton/.icons/Marwaita/scalable/status/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/hoxton/.icons/Marwaita/scalable/status/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3

I'm not sure but looks like same issue saber-notes/saber#1124

@xplshn
Copy link
Owner

xplshn commented Jan 9, 2025

Could it be an issue where the program is unable to find any suitable icon/iconpack?
It failed when trying to load an SVG:

Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/hoxton/.icons/Marwaita/scalable/status/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/hoxton/.icons/Marwaita/scalable/status/image-missing.svg: Unrecognized image file format (gdk-pixbuf-error-quark, 3

@xplshn
Copy link
Owner

xplshn commented Jan 9, 2025

If you know how to fix this issue, you're more than welcome to help out.
Here are the AppRuns used by pelfCreator: https://github.com/xplshn/pelf/tree/pelf-ng/assets

This is the one pelfCreator uses by default: https://github.com/xplshn/pelf/blob/pelf-ng/assets/AppRun.sharun.ovfsProto

And that's the one the onlyOffice recipe is using. I don't know any of the GTK env variables wizardry that other deploy tools use, I could look into this, but right now I'm working on something else at the moment. Thanks for the bug report btw.

Drsheppard01 added a commit to Drsheppard01/pelf that referenced this issue Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants