You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day,
I'm trying to use Gtkada.File_Selection and its function File_Selection_Dialog for an application reading files. The package's description says
"This package provides a high level support for creating file selection dialogs by handling the signals internally"
However, when using it my program raises PROGRAM_ERROR : unhandled signal
I tried to directly use Gtk.File_Chooser and Gtk.File_Chooser_dialog but it leads to the same error.
Here is the procedure called for selecting a file and leading to the error: Retour is an unbounded string
procedure Button_Select_File_Clicked (Self : access Gtk_Button_Record'Class) is begin
Here is the full error message:
Gtk-Message: 10:32:33.938: Failed to load module "pk-gtk-module"
Gtk-Message: 10:32:33.938: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:32:33.939: Failed to load module "pk-gtk-module"
Gtk-Message: 10:32:33.940: Failed to load module "canberra-gtk-module"
Fontconfig warning: "/home/bob/Applications/Gnat_IDE/Gnat-community/etc/fonts/fonts.conf", line 86: unknown element "blank"
(log_filter_main:10478): Gtk-WARNING **: 10:32:36.273: Error loading theme icon 'image-missing' for stock: Failed to load /home/bob/Applications/Gnat_IDE/Gnat-community/share/icons/Adwaita/16x16/status/image-missing.png: Format d?image non reconnu
Good day,
I'm trying to use Gtkada.File_Selection and its function File_Selection_Dialog for an application reading files. The package's description says
"This package provides a high level support for creating file selection dialogs by handling the signals internally"
However, when using it my program raises PROGRAM_ERROR : unhandled signal
I tried to directly use Gtk.File_Chooser and Gtk.File_Chooser_dialog but it leads to the same error.
Here is the procedure called for selecting a file and leading to the error:
Retour is an unbounded string
procedure Button_Select_File_Clicked (Self : access Gtk_Button_Record'Class) is
begin
end Button_Select_File_Clicked;
Here is the full error message:
Gtk-Message: 10:32:33.938: Failed to load module "pk-gtk-module"
Gtk-Message: 10:32:33.938: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:32:33.939: Failed to load module "pk-gtk-module"
Gtk-Message: 10:32:33.940: Failed to load module "canberra-gtk-module"
Fontconfig warning: "/home/bob/Applications/Gnat_IDE/Gnat-community/etc/fonts/fonts.conf", line 86: unknown element "blank"
(log_filter_main:10478): Gtk-WARNING **: 10:32:36.273: Error loading theme icon 'image-missing' for stock: Failed to load /home/bob/Applications/Gnat_IDE/Gnat-community/share/icons/Adwaita/16x16/status/image-missing.png: Format d?image non reconnu
(log_filter_main:10478): Gdk-CRITICAL **: 10:32:36.273: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
(log_filter_main:10478): GLib-GObject-CRITICAL **: 10:32:36.273: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
**
Gtk:ERROR:gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/bob/Applications/Gnat_IDE/Gnat-community/share/icons/Adwaita/16x16/status/image-missing.png: Format d?image non reconnu (gdk-pixbuf-error-quark, 3)
raised PROGRAM_ERROR : unhandled signal
I'm not sure if the problems come from Gtk or GtkAda.
Thank you for your time.
PS: I attached some files in case you need it.
log_filter.zip
The text was updated successfully, but these errors were encountered: