https://bugs.kde.org/show_bug.cgi?id=480487
Bug ID: 480487 Summary: Failed to exacute the Python file Classification: Applications Product: LabPlot2 Version: 2.10.1 Platform: Microsoft Windows OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: alexander.se...@web.de Reporter: 249538...@qq.com Target Milestone: --- Created attachment 165322 --> https://bugs.kde.org/attachment.cgi?id=165322&action=edit the python code drawing a sin curve using matplotlib SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. enter the python code 2. change the font of the code 3. first time, it works 4. reopen the file, and run the code again OBSERVED RESULT UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 12: invalid start byte EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: 10 macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.