help lexicon-import: crashes with 'No CLI usage line is catalogued' (exit 134)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start in src/SIL.Motif.Cli/HelpCommand.cs, especially UsageLines and PrintEntry, which the exception trace identifies. Run motif help lexicon-import to reproduce the crash, then inspect the help catalog and existing tests to see how topics without usage lines are represented. Done when this topic prints without an exception and a test covers help output for catalogued topics.
Written by the indexing model from the issue text.
Description
motif help lexicon-import (with or without --full) prints the topic text, then crashes with exit 134.
Build: a16a78878312 (windows/main, 2026-11-17), Release, Linux.
Output (tail):
System.IO.InvalidDataException: No CLI usage line is catalogued for 'lexicon-import'
at SIL.Motif.Cli.HelpCommand.UsageLines (src/SIL.Motif.Cli/HelpCommand.cs:296), called from PrintEntry (line 331) and Run (line 138).
The #252 reply points agents to motif help lexicon-import (Attribution section) for the attribution composers, so this is where they'll look first.
Expected: the topic prints with no exception. A topic with no command (or no usage line) should skip the usage block. It would also help to have a Help golden or test that runs help <topic> for every catalogued topic.
Next: catalogue the usage line, or let topics without one skip the block, and add a test across all topics.
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- Avg merge
- 4h 3m
- Merged PRs (30d)
- 66
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sillsdev/motif
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
Similar issues
-
Python: Bug: ChatMessageContent.from_element drops AudioContent and BinaryContent into raw TextContentPossibly taken @halcyon-past claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/semantic-kernel#14824 · 1 comment ·
Maintainers usually reply within 3 days
-
Support Flux ignore rules (drift detection ignore paths) in Microsoft.KubernetesConfiguration schemaOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Azure/azure-resource-manager-schemas#3921 ·
Maintainers usually reply within 1 day
-
text-align: justify is ignored in HTML to PDF conversionPossibly taken @PrzemyslawKlys claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
asyncapi/modelina#2709 · 1 comment ·
Maintainers usually reply within 1 day