GTK-Based App Crashes after deploying
I deploy(install) gnome-calculator on Windows 10 following these instructions.
https:##packages.msys2.org/package/mingw-w64-clang-x86_64-gnome-calculator?repo=clang64
I just enter the pacman -S mingw-w64-clang-x86_64-gnome-calculator command.
When I launch the calculator in the installation path of MSYS2, there comes a WARNING and a console, which I not understand up to now.
It says (in a CMD-Like appearance):
(gnome-calculator.exe:10276): GLib-GIO-WARNING **: 17:14:36.090: Failed to open application manifest `C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppxManifest.xml' for package #7 (`Microsoft.Windows.SecHealthUI_10.0.19041.1023_neutral__cw5n1h2txyewy'): error code 0x2
BESIDES, when I open to the Preferences in gnome-calculator to change the font size(too small), it crashes.
So I couldn't use it normally.
Evince has similar issues, and Evince could NOT open ANY PDF files. It keeps saying: Source _rels/.rels not found in archive in Evince.
However, gedit doesn't have this issue.
I do uninstall Microsoft Defender forcefully, and I do not want to install it back again. I DO NOT understand WHY it tells me about the loss of Defender GUI and WHY IT CRASHES.
Thanks for reporting the issue.
there comes a WARNING and a console, which I not understand up to now.
That warning is not from any msys2/mingw or gnome related packages. It's from Windows own UWP package.
BESIDES, when I open to the Preferences in gnome-calculator to change the font size(too small), it crashes.
I can not reproduce the issue in my system. The Preferences tab is working fine.
Evince has similar issues, and Evince could NOT open ANY PDF files.
Agree. Evince can not open PDF in my setup. But it shows different error "File type Text Document (text/plain) is not supported".
Hi!
(gnome-calculator.exe:10276): GLib-GIO-WARNING **: 17:14:36.090: Failed to open application manifest `C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppxManifest.xml' for package #7 (`Microsoft.Windows.SecHealthUI_10.0.19041.1023_neutral__cw5n1h2txyewy'): error code 0x2
Error code 0x2 is ERROR_FILE_NOT_FOUND, but you can just ignore that. GLib shouldn't print a warning in the first place (it's useful for debugging, though)
when I open to the Preferences in gnome-calculator to change the font size(too small), it crashes
I guess it's https://github.com/msys2/MINGW-packages/issues/11848. Try updating your MSYS2 installation: https://www.msys2.org/wiki/MSYS2-installation/. Try running pacman -Syu twice, until it says that everything is up-to-date.
Thanks for reporting this issue!