BIGTREETECH-OCTOPUS-V1.0
BIGTREETECH-OCTOPUS-V1.0 copied to clipboard
Error while compiling Marlin for Octopus v1.0
Hi
I thought I would share that while I was compiling Marlin for your Octopus board I received an error for utf8
Within - buildroot/share/PlatformIO/scripts/signature.py Line 15 has the following: f = open(filepath).read().split("\n")
Should be updated to be as follows: f = open(filepath, encoding="utf8").read().split("\n")
After troubleshooting I found that Marlin's gethub shared the fix for this a few days ago - https://github.com/MarlinFirmware/Marlin/commit/6dc056f77114a0c3e2cf68758eaa7cf41061e173
I edited the signature.py and made these changes and it corrected my error and I was able to complete my build.
Thought I would share and I hope this info helps anyone that has the same issue until the file is updated.
Thank you! I've been having issues also and was struggling where to find the missing encoding string. I second that this needs added and it was able to compile afterwards.