nkh / P5-App-Asciio

Plain ASCII diagram
https://nkh.github.io/P5-App-Asciio/
56 stars 4 forks source link

Asciio fails to launch on Fedora 40 #183

Closed jeditransistor closed 3 months ago

jeditransistor commented 3 months ago

Steps to reproduce:

Clean Fedora 40 install

dnf install asciio -y

user@host:~$ asciio Gtk-Message : Failed to load module "pk-gtk-module" at /usr/lib64/perl5/vendor_perl/Gtk2.pm line 126. Subroutine Pango::Layout::set_text redefined at /usr/share/perl5/vendor_perl/Gtk3.pm line 2299. Subroutine Pango::Layout::set_markup redefined at /usr/share/perl5/vendor_perl/Gtk3.pm line 2305. GLib-GObject-CRITICAL : cannot register existing type 'GtkWidget' at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : cannot add class private field to invalid type '' at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : cannot add private field to invalid (non-instantiatable) type '' at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : cannot register existing type 'GtkBuildable' at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-CRITICAL : g_once_init_leave_pointer: assertion 'result != 0' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL : g_type_register_static: assertion 'parent_type > 0' failed at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110. GLib-GObject-CRITICAL **: cannot add private field to invalid (non-instantiatable) type '' at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 110.

nkh commented 3 months ago

Hi, that's an old version of Asciio using gtk2 which is not supported any more on many platforms, install manually.

https://nkh.github.io/P5-App-Asciio/guide/installation.html

jeditransistor commented 3 months ago

So perhaps I should pester the maintainer of the Fedora package... I'll see if I can do some digging. Thanks!