bug(developer): Incorrect Error Message for Missing --license kmc Parameter #12854
Closed
1 of 8 tasks
Labels
Milestone
Describe the bug
This is a follow-up to the community forum posting: https://community.software.sil.org/t/building-exe-not-working/9572
When the
kmc
(v17) parameter--license
is not provided, the error message reported is not related to the actual error and thus misleads the keyboard developer. For example:kmc build windows-package-installer source\keyboard.kps --msi keymandesktop.msi --exe setup-redist.exe --out-file keyboard.exe
produces the error message:
error KM04003: File does not exist.
When a better message would be something like:
error KM0XXXX: Missing the required parameter '--license'
If a similar error message already exists for missing required parameters, it should be applied to
--license
.Reproduce the bug
kmc
command with the--license
missing.Expected behavior
An error message that communicates the required parameter is missing.
Related issues
No response
Keyman apps
Keyman version
17.x
Operating system
Windows 11
Device
Laptop
Target application
kmc
Browser
No response
Keyboard name
Any
Keyboard version
Any
Language name
Any
Additional context
Keyman support forum: https://community.software.sil.org/t/building-exe-not-working/9572
The text was updated successfully, but these errors were encountered: