Anki works with full functionality as expected, but when clicking "File>Import" or clicking the "File>Export" button, and selecting any export format, whether checking "Include media" or not, crashes the program, with the attached error log.
(python3:22127): Gtk-CRITICAL **: 19:36:30.773: Error building template class 'GtkDialog' for an instance of type 'GtkDialog': .:2:367 Invalid object type 'GtkHeaderBar'
(python3:22127): Gtk-CRITICAL **: 19:36:30.775: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: gtk_button_box_get_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.775: Error building template class 'GtkFileChooserDialog' for an instance of type 'GtkFileChooserDialog': Unknown internal child: vbox (python3:22127): Gtk-CRITICAL **: 19:36:30.776: _gtk_file_chooser_set_delegate: assertion 'GTK_IS_FILE_CHOOSER (delegate)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.777: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.777: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.780: gtk_widget_set_visible: assertion 'GTK_IS_WIDGET (widget)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.780: gtk_widget_set_no_show_all: assertion 'GTK_IS_WIDGET (widget)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.787: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.787: gtk_container_child_set_valist: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.787: gtk_header_bar_set_show_close_button: assertion 'GTK_IS_HEADER_BAR (bar)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.788: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.788: gtk_container_child_set_valist: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.789: gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.790: gtk_file_chooser_select_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.791: gtk_file_chooser_select_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.792: gtk_file_chooser_add_filter: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.793: gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.793: gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.793: gtk_file_chooser_set_current_name: assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.793: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.793: gtk_container_foreach: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: _gtk_box_get_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: _gtk_box_set_spacing_set: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: gtk_button_box_get_layout: assertion 'GTK_IS_BUTTON_BOX (widget)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: gtk_box_set_spacing: assertion 'GTK_IS_BOX (box)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: _gtk_container_get_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: gtk_container_set_border_width: assertion 'GTK_IS_CONTAINER (container)' failed (python3:22127): Gtk-CRITICAL **: 19:36:30.800: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed Segmentation fault