--- a/ProjectController.py Tue May 30 13:00:50 2023 +0200
+++ b/ProjectController.py Wed May 31 10:38:03 2023 +0200
@@ -1202,7 +1202,7 @@
LibCFilesAndCFLAGS, LibLDFLAGS, LibExtraFiles = self.GetLibrariesCCode(
except UserAddressedException as e:
- self.logger.write_error(e.message)
+ self.logger.write_error(str(e)) @@ -1216,7 +1216,7 @@
self.PLCGeneratedLocatedVars)
except UserAddressedException as e:
- self.logger.write_error(e.message)
+ self.logger.write_error(str(e)) --- a/controls/LogViewer.py Tue May 30 13:00:50 2023 +0200
+++ b/controls/LogViewer.py Wed May 31 10:38:03 2023 +0200
@@ -39,7 +39,8 @@
THUMB_SIZE_RATIO = 1. / 8.
-def ArrowPoints(direction, width, height, xoffset, yoffset):
+ direction, width, height, xoffset, yoffset = map(lambda x:x if type(x)==int else int(x), args) return [wx.Point(xoffset + 1, yoffset + height - 2),
wx.Point(xoffset + width // 2, yoffset + 1),
--- a/util/ProcessLogger.py Tue May 30 13:00:50 2023 +0200
+++ b/util/ProcessLogger.py Wed May 31 10:38:03 2023 +0200
@@ -91,7 +91,7 @@
self.Command.append(word)
+ self.Command = [x if type(x)==str else x.decode() for x in Command] self.Command_str = subprocess.list2cmdline(self.Command)
fsencoding = sys.getfilesystemencoding()