Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(developer): Incorrect Error Message for Missing --license kmc Parameter #12854

Closed
1 of 8 tasks
dyacob opened this issue Jan 4, 2025 · 1 comment
Closed
1 of 8 tasks

Comments

@dyacob
Copy link

dyacob commented Jan 4, 2025

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

  1. Execute a 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 for Android
  • Keyman for iPhone and iPad
  • Keyman for Linux
  • Keyman for macOS
  • Keyman for Windows
  • Keyman Developer
  • KeymanWeb
  • Other - give details at bottom of form

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

@dyacob dyacob added the bug label Jan 4, 2025
@ermshiperete ermshiperete changed the title bug: Incorrect Error Message for Missing --license kmc Parameter bug(developer): Incorrect Error Message for Missing --license kmc Parameter Jan 6, 2025
@ermshiperete
Copy link
Contributor

Duplicates #12846

@keymanapp-test-bot keymanapp-test-bot bot added this to the A18S19 milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants