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] Syntax error unterminated quoted string from the QMK Configurator #992

Open
sillyfatcat opened this issue Sep 4, 2021 · 1 comment
Labels

Comments

@sillyfatcat
Copy link

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.

image
shelbys_programming.txt

Additional Context?

No response

@sillyfatcat sillyfatcat added the bug label Sep 4, 2021
@sigprof
Copy link
Contributor

sigprof commented Sep 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants