[Bug] Syntax error unterminated quoted string from the QMK Configurator
sillyfatcat opened this issue · 1 comments
sillyfatcat commented
Describe the Bug
I get the following error when pressing compile.
Warning: The bin/qmk script is being deprecated. Please install the QMK CLI: python3 -m pip install qmk
sh: 1: Syntax error: Unterminated quoted string
cmp: invalid option -- 'f'
cmp: Try 'cmp --help' for more information.
make: *** ing/cflags.txt] Error 2
Attached the json as well. This is when configuring the sneakbox/disarray/staggered keyboard.
Additional Context?
No response
sigprof commented
The keymap name is not supposed to contain characters which are special to the shell; in your case (shelby's_programming
) the apostrophe character ('
) is the problem. In general, it is best to stick to something which looks like a valid C identifier (although many existing keymaps in the repo also use -
in keymap names).
However, QMK Configurator should have some validation of the “Keymap Name” field to prevent such errors, and the missing validation could be considered as a bug.