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
The following code works fine if run it in terminal directly on macOS 12.3 with M1 chipset. But,
if it was packaged by cx_Freeze, the app created is hanged up
and no GUI is presented. The error info is presented below:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The following code works fine if run it in terminal directly on macOS 12.3 with M1 chipset. But,
if it was packaged by cx_Freeze, the app created is hanged up
and no GUI is presented. The error info is presented below:
/opt/homebrew/lib/python3.9/site-packages/gi/overrides/Gtk.py:1680: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
return _Gtk_main(*args, **kwargs)
/opt/homebrew/lib/python3.9/site-packages/gi/overrides/Gtk.py:1680: Warning: g_once_init_leave: assertion 'result != 0' failed
return _Gtk_main(*args, **kwargs)
If we use Gtk.Button instead of Gtk.DrawingArea, there is no problem packaged by cx_Freeze.
I have no idea whether it is a bug of cx_Freeze.
Beta Was this translation helpful? Give feedback.
All reactions