okay, I've got it. to resolve (gui.py:9127): Gtk-CRITICAL **: gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
, you should change can default
from Common Properties
of your filechooser buttons to Yes
.
and to resolve (gui.py:9127): Gtk-CRITICAL **: _gtk_file_chooser_embed_initial_focus: assertion 'GTK_IS_FILE_CHOOSER_EMBED (chooser_embed)' failed
, you should change filechooser.destroy()
to filechooser.hide()