You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out the python scripts are kind of strict about endlines, and I was getting this:
$ python copy2mcm.py -i pixelaatio.mcm \
-o ../betaflight-configurator-tigert/resources/osd/clarity.mcm -f 0xA0 -t 0xA0 -c 64
Read 256 chars from pixelaatio.mcm
Read 0 chars from ../betaflight-configurator-tigert/resources/osd/clarity.mcm
Traceback (most recent call last):
File "copy2mcm.py", line 76, in <module>
odata[copy_to + i] = idata[copy_from + i]
IndexError: list assignment index out of range
My font was created with the MAX7456Charwizard java editor. Turns out it creates Windows-like line-endings on the font file. I got past the above error by using "dos2unix" command to convert my font file to "unix" line endings.
Maybe this helps someone, so wanted to write this down.
The text was updated successfully, but these errors were encountered:
Turns out the python scripts are kind of strict about endlines, and I was getting this:
My font was created with the MAX7456Charwizard java editor. Turns out it creates Windows-like line-endings on the font file. I got past the above error by using "dos2unix" command to convert my font file to "unix" line endings.
Maybe this helps someone, so wanted to write this down.
The text was updated successfully, but these errors were encountered: