-
I am using Github Actions to have the keymap be drawn for my corne keyboard but I keep getting two errors that I don't know how to get rid of. Even though the action will report that it succeeded, when I look into the "Draw keymaps" step I find these errors and no keymap svg is generated. The first one is:
When this happens I have to run the action manually many times until one succeeds. The second one is:
I don't understand how to fix this one, I thought it was because of a change I made to my keymap but when I reverted the issue was still there. My keymap itself is building properly and functioning as expected. Any pointers on this would be awesome, I have enjoyed using the keymap drawings as a reference to help me out as I experiment. It's much nicer than having to look through the code especially as it grows. This is my first time |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Can you share an example run each for the two issues? |
Beta Was this translation helpful? Give feedback.
Thanks for sharing the example! For issue 2., it looks like the new parser I am using since the last release doesn't work with integer node names, like this one: https://github.com/rael-dev/zmk-config-corne/blob/main/config/corne.keymap#L804
Here,
BASE
gets preprocessed into0
because you define#define BASE 0
and that trips up the parser. If you replace node names with e.g.base
orlayer_base
etc. it works OK.Sorry about the breakage, I just switched to the new parser in v0.19.0 and the previous one was working fine with it. At least it is not a difficult workaround.
About the first one, this sounds like #116. I thought the updates in the latest version should have fixed it, please shar…