OpenAstroTech / OATFWGUI

OpenAstroTech FirmWare Graphical User Interface
http://openastrotech.com/
8 stars 0 forks source link

UnicodeDecodeError when build FW #45

Closed Nickolik1 closed 4 months ago

Nickolik1 commented 4 months ago

I have successfully downloaded the version, but when I click "Build FW", I get an error:

24-02-28 12:06:03,600:ERROR:In file included from src\../LocalConfiguration.hpp:20:0, 
2024-02-28 12:06:03,601:CRITICAL:Exception caught 
2024-02-28 12:06:03,609:CRITICAL:Traceback (most recent call last):
  File "C:\adb\OATF\OATFWGUI\external_processes.py", line 65, in handle_stderr
    stderr = bytes(data).decode("utf8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xee in position 176: invalid continuation byte 
2024-02-28 12:06:03,610:CRITICAL:
...

Win 10 oat_fw_gui_2024-02-28-12-01-49.log

julianneswinoga commented 4 months ago

Thanks for the bug report!! Seems like the process output isn't UTF-8. What language is Windows set to by chance?

julianneswinoga commented 4 months ago

I released a new version 1.0.7 which should fix this :slightly_smiling_face: