keymanapp / keymanapp/keyman

bug(windows): uninstalling a keyboard that belongs to a package causes an EOleException. input is kmshell.exe -uk filename.kmx

Open
#11,490 2 comments 0 reactions 1 assignee Assigned to @rc-swag View on GitHub
bug windows/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

Sentry Issue: [KEYMAN-WINDOWS-367](https://keyman.sentry.io/issues/4279300863/?referrer=github_integration)

```
EOleException: Exception EOleException in module kmshell.exe at 00593E7E.
The keyboard hebcmp03 could not be uninstalled because it was part of package hebcmp03.

File "uninstall.pas", line 166, in uninstall.UninstallKeyboard
kbd := nil;
File "initprog.pas", line 548, in initprog.RunKMCOM
if UninstallKeyboard(nil, FirstKeyboardFileName, FSilent)
File "initprog.pas", line 340, in initprog.Run
RunKMCOM(FMode, KeyboardFileNames, FSilent, FForce, FNoWelcome, FLogFile, FQuery, FDisablePackages, FDefaultUILanguage, FStartWithConf {snip}
?, line 203, in kmshell.kmshell
?, in BaseThreadInitThunk
...
(2 additional frame(s) were not displayed)
```

Keyman 16.0.147 and earlier releases

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.