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
When running --export-config the file generated is using UTF-16 LE encoding, but the --configure option used to import that same file only accepts UTF-8 encoded files.
My environment is python 3.13 running on Windows 11 (not within WSL) using Meshtastic module version 2.5.9.
My current workaround is to use VS Code to save the exported file using the correct UTF8 encoding.
I'm unable to attach an export of the yml file due to github file restrictions. I can send the file directly if requested. I am also adding a link to a Stack Overflow thread that mentions the same issue with Python, but I'm not familiar enough with this module to make the changes myself.
I don't get an error as you described, rather the import appears to succeed printing all the values in the terminal. Could your default encoding be set to UTF-16?
You may have found my particular issue. I do think a check in the Python CLI should be made when running the config export to check for this possibility, or hard-code the encoding in the export. With the upcoming 2.6 release that will wipe all devices this is going to become a critical issue for those that may be in the same boat as me.
When running --export-config the file generated is using UTF-16 LE encoding, but the --configure option used to import that same file only accepts UTF-8 encoded files.
My environment is python 3.13 running on Windows 11 (not within WSL) using Meshtastic module version 2.5.9.
My current workaround is to use VS Code to save the exported file using the correct UTF8 encoding.
Error during import:
I'm unable to attach an export of the yml file due to github file restrictions. I can send the file directly if requested. I am also adding a link to a Stack Overflow thread that mentions the same issue with Python, but I'm not familiar enough with this module to make the changes myself.
https://stackoverflow.com/questions/3597480/how-to-make-python-3-print-utf8
The text was updated successfully, but these errors were encountered: